Home | History | Annotate | Download | only in contacts

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 {
627 public BitmapHolder(byte[] bytes, int originalSmallerExtent) {
641 private final LruCache<Object, BitmapHolder> mBitmapHolderCache;
728 mBitmapHolderCache = new LruCache<Object, BitmapHolder>(holderCacheSize) {
729 @Override protected int sizeOf(Object key, BitmapHolder value) {
734 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) {
774 for (BitmapHolder h : mBitmapHolderCache.snapshot().values()) {
920 for (BitmapHolder holder : mBitmapHolderCache.snapshot().values()) {
933 BitmapHolder holder = mBitmapHolderCache.get(request.getKey());
1014 private static void inflateBitmap(BitmapHolder holder, int requestedExtent) {
1174 for (BitmapHolder holder : mBitmapHolderCache.snapshot().values()) {
1186 BitmapHolder prev = mBitmapHolderCache.get(key);
1198 BitmapHolder holder = new BitmapHolder(bytes,
1227 BitmapHolder holder = new BitmapHolder(photoBytes, smallerExtent);
1257 final BitmapHolder holder = mBitmapHolderCache.get(request.getKey());