Home
last modified time | relevance | path

Searched refs:getBitmapByteSize (Results 1 – 10 of 10) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
DSizeStrategy.java24 int size = Util.getBitmapByteSize(bitmap); in put()
35 final int size = Util.getBitmapByteSize(width, height, config); in get()
58 final int removedSize = Util.getBitmapByteSize(removed); in removeLast()
80 int size = Util.getBitmapByteSize(width, height, config); in logBitmap()
86 return Util.getBitmapByteSize(bitmap); in getSize()
115 int size = Util.getBitmapByteSize(bitmap); in getBitmapString()
DAttributeStrategy.java44 return Util.getBitmapByteSize(bitmap); in getSize()
/external/glide/library/src/main/java/com/bumptech/glide/util/
DUtil.java61 return getBitmapByteSize(bitmap); in getSize()
68 public static int getBitmapByteSize(Bitmap bitmap) { in getBitmapByteSize() method in Util
84 public static int getBitmapByteSize(int width, int height, Bitmap.Config config) { in getBitmapByteSize() method in Util
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
DBitmapPreFillRunner.java97 if (getFreeMemoryCacheBytes() >= Util.getBitmapByteSize(bitmap)) { in allocate()
105 + toAllocate.getConfig() + " size: " + Util.getBitmapByteSize(bitmap)); in allocate()
DBitmapPreFiller.java77 return Util.getBitmapByteSize(size.getWidth(), size.getHeight(), size.getConfig()); in getSizeInBytes()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawableResource.java16 return drawable.getData().length + Util.getBitmapByteSize(drawable.getFirstFrame()); in getSize()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DGlideBitmapDrawableResource.java20 return Util.getBitmapByteSize(drawable.getBitmap()); in getSize()
DBitmapDrawableResource.java28 return Util.getBitmapByteSize(drawable.getBitmap()); in getSize()
DBitmapResource.java49 return Util.getBitmapByteSize(bitmap); in getSize()
DBitmapEncoder.java48 …Log.v(TAG, "Compressed with type: " + format + " of size " + Util.getBitmapByteSize(bitmap) + " in… in encode()