Lines Matching refs:BitmapHolder
608 private static final BitmapHolder BITMAP_UNAVAILABLE;
611 BITMAP_UNAVAILABLE = new BitmapHolder(new byte[0], 0);
618 private static class BitmapHolder { class in ContactPhotoManagerImpl
627 public BitmapHolder(byte[] bytes, int originalSmallerExtent) { in BitmapHolder() method in ContactPhotoManagerImpl.BitmapHolder
641 private final LruCache<Object, BitmapHolder> mBitmapHolderCache;
728 mBitmapHolderCache = new LruCache<Object, BitmapHolder>(holderCacheSize) { in ContactPhotoManagerImpl()
729 @Override protected int sizeOf(Object key, BitmapHolder value) { in ContactPhotoManagerImpl()
734 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) { in ContactPhotoManagerImpl()
774 for (BitmapHolder h : mBitmapHolderCache.snapshot().values()) { in dumpStats()
920 for (BitmapHolder holder : mBitmapHolderCache.snapshot().values()) { in refreshCache()
933 BitmapHolder holder = mBitmapHolderCache.get(request.getKey()); in loadCachedPhoto()
1014 private static void inflateBitmap(BitmapHolder holder, int requestedExtent) { in inflateBitmap()
1174 for (BitmapHolder holder : mBitmapHolderCache.snapshot().values()) { in softenCache()
1186 BitmapHolder prev = mBitmapHolderCache.get(key); in cacheBitmap()
1198 BitmapHolder holder = new BitmapHolder(bytes, in cacheBitmap()
1227 BitmapHolder holder = new BitmapHolder(photoBytes, smallerExtent); in cacheBitmap()
1257 final BitmapHolder holder = mBitmapHolderCache.get(request.getKey()); in obtainPhotoIdsAndUrisToLoad()