MCPcopy Create free account

hub / github.com/JavaNoober/Light / functions

Functions262 in github.com/JavaNoober/Light

↓ 49 callersMethodgetInstance
()
light/src/main/java/com/light/body/Light.java:36
↓ 37 callersMethodcompress
(String outPath)
light/src/main/java/com/light/core/listener/ICompressProxy.java:11
↓ 31 callersMethodcompressImage
(Object imageSource, CompressArgs compressArgs, String outPath)
light/src/main/java/com/light/body/Light.java:161
↓ 24 callersMethodwrite
(int b)
light/src/main/java/com/light/core/cache/DiskLruCache.java:706
↓ 23 callersMethode
(String tag, String msg)
light/src/main/java/com/light/core/Utils/L.java:14
↓ 23 callersMethodgetHeight
()
light/src/main/java/com/light/body/CompressArgs.java:37
↓ 23 callersMethodgetWidth
()
light/src/main/java/com/light/body/CompressArgs.java:33
↓ 16 callersMethodclose
Closes this cache. Stored values will remain on the filesystem.
light/src/main/java/com/light/core/cache/DiskLruCache.java:617
↓ 16 callersMethodtoString
()
light/src/main/java/com/light/core/cache/StrictLineReader.java:133
↓ 15 callersMethodgetCompressProxy
(CompressFactory.Compress compressCategory, Object imageSource)
light/src/main/java/com/light/body/ArgumentsAdapter.java:25
↓ 13 callersMethodgetConfig
()
light/src/main/java/com/light/body/Light.java:60
↓ 11 callersMethodbuild
()
light/src/main/java/com/light/proxy/UriCompressProxy.java:116
↓ 11 callersMethodcompressArgs
(CompressArgs compressArgs)
light/src/main/java/com/light/proxy/UriCompressProxy.java:106
↓ 11 callersMethoddownloadImage
(boolean openDiskCache, String url, OnCompressFinishListener callback)
light/src/main/java/com/light/core/Utils/http/HttpDownLoader.java:30
↓ 11 callersMethodgetInstance
()
light/src/main/java/com/light/body/LightCache.java:18
↓ 10 callersMethodgetResources
()
light/src/main/java/com/light/body/Light.java:71
↓ 9 callersMethodisIgnoreSize
()
light/src/main/java/com/light/body/CompressArgs.java:45
↓ 8 callersMethodbitmap
(Bitmap bitmap)
light/src/main/java/com/light/proxy/BitmapCompressProxy.java:70
↓ 8 callersMethodgetMaxWidth
()
light/src/main/java/com/light/body/LightConfig.java:60
↓ 7 callersMethoddelete
Closes the cache and deletes all of its stored values. This will delete all files in the cache directory including files that weren't created by the c
light/src/main/java/com/light/core/cache/DiskLruCache.java:643
↓ 7 callersMethodgetSchemeOrNull
@param uri uri to extract scheme from, possibly null. @return null if uri is null, result of uri.getScheme() otherwise.
light/src/main/java/com/light/core/Utils/UriParser.java:129
↓ 6 callersMethodget
(String key)
light/src/main/java/com/light/body/LightCache.java:49
↓ 6 callersMethodgetAbsPath
(final Uri srcUri)
light/src/main/java/com/light/core/Utils/UriParser.java:147
↓ 6 callersMethodgetConfig
()
light/src/main/java/com/light/body/CompressArgs.java:61
↓ 6 callersMethodgetContext
()
light/src/main/java/com/light/body/Light.java:67
↓ 6 callersMethodgetMaxHeight
()
light/src/main/java/com/light/body/LightConfig.java:64
↓ 6 callersMethodisNetworkUri
/ Check if uri represents network resource. @param uri uri to check. @return true if uri's scheme is equal to "http" or "https".
light/src/main/java/com/light/core/Utils/UriParser.java:64
↓ 6 callersMethodreadLine
Reads the next line. A line ends with {@code "\n"} or {@code "\r\n"}, this end of line marker is not included in the result. @return the next line fr
light/src/main/java/com/light/core/cache/StrictLineReader.java:109
↓ 6 callersMethodsize
Returns the number of bytes currently being used to store the values in this cache. This may be greater than the max size if a background deletion is
light/src/main/java/com/light/core/cache/DiskLruCache.java:495
↓ 5 callersMethoddeleteIfExists
(File file)
light/src/main/java/com/light/core/cache/DiskLruCache.java:375
↓ 5 callersMethodgetCleanFile
(int i)
light/src/main/java/com/light/core/cache/DiskLruCache.java:919
↓ 5 callersMethodgetDefaultArgs
()
light/src/main/java/com/light/body/CompressArgs.java:25
↓ 5 callersMethodgetDefaultQuality
()
light/src/main/java/com/light/body/LightConfig.java:76
↓ 5 callersMethodgetScale
(int width, int height, int currentWidth, int currentHeight)
light/src/main/java/com/light/core/Utils/MatrixUtil.java:261
↓ 5 callersMethodi
(String tag, String msg)
light/src/main/java/com/light/core/Utils/L.java:34
↓ 5 callersMethodpath
(String path)
light/src/main/java/com/light/proxy/FileCompressProxy.java:136
↓ 5 callersMethodrecycle
(boolean recycle)
light/src/main/java/com/light/core/Utils/MatrixUtil.java:160
↓ 5 callersMethodremove
Drops the entry for {@code key} if it exists and can be removed. Entries actively being edited cannot be removed. @return true if an entry was remove
light/src/main/java/com/light/core/cache/DiskLruCache.java:570
↓ 5 callersMethodsave
(String key, byte[] bytes)
light/src/main/java/com/light/body/LightCache.java:38
↓ 5 callersMethodscale
(float scaleX, float scaleY)
light/src/main/java/com/light/core/Utils/MatrixUtil.java:65
↓ 4 callersMethodabort
Aborts this edit. This releases the edit lock so another edit may be started on the same key.
light/src/main/java/com/light/core/cache/DiskLruCache.java:820
↓ 4 callersMethodbuild
()
light/src/main/java/com/light/body/CompressArgs.java:120
↓ 4 callersMethodcheckNotClosed
()
light/src/main/java/com/light/core/cache/DiskLruCache.java:603
↓ 4 callersMethodcloseQuietly
(/*Auto*/Closeable closeable)
light/src/main/java/com/light/core/cache/Util.java:53
↓ 4 callersMethodcompress2Bitmap
(Bitmap bitmap, int width, int height, Bitmap.Config config)
light/src/main/java/com/light/core/listener/ICompressEngine.java:14
↓ 4 callersMethodcompress2File
(Bitmap bitmap, String outputPath, int quality)
light/src/main/java/com/light/core/listener/ICompressEngine.java:22
↓ 4 callersMethodcompressBitmap
(Bitmap bit, String fileName)
light/src/main/java/com/light/compress/LightCompressCore.java:23
↓ 4 callersMethodgetDirtyFile
(int i)
light/src/main/java/com/light/core/cache/DiskLruCache.java:923
↓ 4 callersMethodgetInputStream
Returns the unbuffered stream with the value for {@code index}.
light/src/main/java/com/light/core/cache/DiskLruCache.java:684
↓ 4 callersMethodgetMemorySize
(Bitmap bitmap)
light/src/main/java/com/light/core/Utils/MemoryComputeUtil.java:15
↓ 4 callersMethodgetOutputRootDir
()
light/src/main/java/com/light/body/LightConfig.java:56
↓ 4 callersMethodgetPathFromContentUri
(final Uri srcUri)
light/src/main/java/com/light/core/Utils/UriParser.java:152
↓ 4 callersMethodheight
(int height)
light/src/main/java/com/light/body/LightBuilder.java:57
↓ 4 callersMethodisAutoRecycle
()
light/src/main/java/com/light/body/LightConfig.java:100
↓ 4 callersMethodisAutoRotation
()
light/src/main/java/com/light/body/LightConfig.java:92
↓ 4 callersMethodjournalRebuildRequired
We only rebuild the journal when it will halve the size of the journal and eliminate at least 2000 ops.
light/src/main/java/com/light/core/cache/DiskLruCache.java:558
↓ 4 callersMethodonError
(Throwable throwable)
light/src/main/java/com/light/core/listener/OnCompressFinishListener.java:11
↓ 4 callersMethodpreRotate
(float preRotate)
light/src/main/java/com/light/core/Utils/MatrixUtil.java:93
↓ 4 callersMethodrenameTo
(File from, File to, boolean deleteDestination)
light/src/main/java/com/light/core/cache/DiskLruCache.java:381
↓ 4 callersMethodwidth
(int width)
light/src/main/java/com/light/body/LightBuilder.java:52
↓ 3 callersMethodautoRotation
(boolean autoRotation)
light/src/main/java/com/light/body/LightBuilder.java:72
↓ 3 callersMethodcompleteEdit
(Editor editor, boolean success)
light/src/main/java/com/light/core/cache/DiskLruCache.java:499
↓ 3 callersMethodcomputeSampleSize
(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels)
light/src/main/java/com/light/core/Utils/SimpleSizeCompute.java:10
↓ 3 callersMethodcreateCompress
(Compress compressCategory, CompressArgs compressArgs, Object object)
light/src/main/java/com/light/proxy/CompressFactory.java:20
↓ 3 callersMethodflush
Force buffered operations to the filesystem.
light/src/main/java/com/light/core/cache/DiskLruCache.java:610
↓ 3 callersMethodget
Returns a snapshot of the entry named {@code key}, or null if it doesn't exist is not currently readable. If a value is returned, it is moved to the h
light/src/main/java/com/light/core/cache/DiskLruCache.java:395
↓ 3 callersMethodget
()
light/src/main/java/com/light/core/Utils/ContextUtil.java:14
↓ 3 callersMethodgetCompressFileSize
()
light/src/main/java/com/light/body/LightConfig.java:52
↓ 3 callersMethodgetQuality
()
light/src/main/java/com/light/body/CompressArgs.java:41
↓ 3 callersMethodisNeedIgnoreSize
()
light/src/main/java/com/light/body/LightConfig.java:84
↓ 3 callersMethodonFinish
(byte[] bytes)
light/src/main/java/com/light/core/listener/OnCompressFinishListener.java:9
↓ 3 callersMethodrebuildJournal
Creates a new journal that omits redundant information. This replaces the current journal if it exists.
light/src/main/java/com/light/core/cache/DiskLruCache.java:336
↓ 3 callersMethodshowImg
(Uri uri)
app/src/main/java/com/light/example/NetActivity.java:98
↓ 3 callersMethodtrimToSize
()
light/src/main/java/com/light/core/cache/DiskLruCache.java:631
↓ 3 callersMethodvalidateKey
(String key)
light/src/main/java/com/light/core/cache/DiskLruCache.java:648
↓ 2 callersMethodautoRecycle
(boolean autoRecycle)
light/src/main/java/com/light/body/LightBuilder.java:77
↓ 2 callersMethodbitmapConfig
(Bitmap.Config config)
light/src/main/java/com/light/body/CompressArgs.java:115
↓ 2 callersMethodbuild
()
light/src/main/java/com/light/core/Utils/MatrixUtil.java:165
↓ 2 callersMethodbuild
()
light/src/main/java/com/light/proxy/FileCompressProxy.java:146
↓ 2 callersMethodcompress
(Bitmap bitmap, String outfile, int quality, Bitmap.CompressFormat format)
light/src/main/java/com/light/compress/NativeCompressCore.java:20
↓ 2 callersMethodcopyFile
(File source, File dest)
light/src/main/java/com/light/core/Utils/FileUtils.java:18
↓ 2 callersMethodd
(String tag, String msg)
light/src/main/java/com/light/core/Utils/L.java:19
↓ 2 callersMethodedit
Returns an editor for the entry named {@code key}, or null if another edit is in progress.
light/src/main/java/com/light/core/cache/DiskLruCache.java:440
↓ 2 callersMethodfillBuf
Reads new input data into the buffer. Call only with pos == end or end == -1, depending on the desired outcome if the function throws.
light/src/main/java/com/light/core/cache/StrictLineReader.java:171
↓ 2 callersMethodgetBitmapConfig
()
light/src/main/java/com/light/body/LightConfig.java:108
↓ 2 callersMethodgetBitmapDegree
@param imagePath @return degree of image
light/src/main/java/com/light/core/Utils/DegreeHelper.java:19
↓ 2 callersMethodgetLengths
()
light/src/main/java/com/light/core/cache/DiskLruCache.java:892
↓ 2 callersMethodgetPathFromFileUri
(final Uri srcUri)
light/src/main/java/com/light/core/Utils/UriParser.java:143
↓ 2 callersMethodgetScreenHeight
(Context context)
light/src/main/java/com/light/core/Utils/DisplayUtil.java:49
↓ 2 callersMethodgetScreenWidth
(Context context)
light/src/main/java/com/light/core/Utils/DisplayUtil.java:44
↓ 2 callersMethodhashKeyForDisk
(String key)
light/src/main/java/com/light/core/cache/CacheKey.java:8
↓ 2 callersMethodignoreSize
(boolean ignoreSize)
light/src/main/java/com/light/body/LightBuilder.java:67
↓ 2 callersMethodinputStreamToString
(InputStream in)
light/src/main/java/com/light/core/cache/DiskLruCache.java:656
↓ 2 callersMethodinvalidLengths
(String[] strings)
light/src/main/java/com/light/core/cache/DiskLruCache.java:915
↓ 2 callersMethodisLocalAnroidResourceUri
(Uri uri)
light/src/main/java/com/light/core/Utils/UriParser.java:113
↓ 2 callersMethodisLocalContentUri
Check if uri represents local content. @param uri uri to check. @return true if uri's scheme is equal to "content".
light/src/main/java/com/light/core/Utils/UriParser.java:86
↓ 2 callersMethodisLocalFileUri
Check if uri represents local file. @param uri uri to check. @return true if uri's scheme is equal to "file".
light/src/main/java/com/light/core/Utils/UriParser.java:75
↓ 2 callersMethodnewOutputStream
Returns a new unbuffered output stream to write the value at {@code index}. If the underlying output stream encounters errors when writing to the file
light/src/main/java/com/light/core/cache/DiskLruCache.java:760
↓ 2 callersMethodobtainHttpURLConnection
(Uri uri, int maxRedirects)
light/src/main/java/com/light/core/Utils/http/HttpDownLoader.java:119
↓ 2 callersMethodpostRotate
(float postDegrees)
light/src/main/java/com/light/core/Utils/MatrixUtil.java:88
next →1–100 of 262, ranked by callers