Searched refs:BitmapHolder (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Dialer/java/com/android/contacts/common/ |
H A D | ContactPhotoManagerImpl.java | 97 private static final BitmapHolder BITMAP_UNAVAILABLE; 106 BITMAP_UNAVAILABLE = new BitmapHolder(new byte[0], 0); 115 private final LruCache<Object, BitmapHolder> mBitmapHolderCache; 173 new LruCache<Object, BitmapHolder>(holderCacheSize) { 175 protected int sizeOf(Object key, BitmapHolder value) { 181 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) { 227 private static void inflateBitmap(BitmapHolder holder, int requestedExtent) { 309 for (BitmapHolder h : mBitmapHolderCache.snapshot().values()) { 497 for (BitmapHolder holde 774 private static class BitmapHolder { class in class:ContactPhotoManagerImpl 784 public BitmapHolder(byte[] bytes, int originalSmallerExtent) { method in class:ContactPhotoManagerImpl.BitmapHolder [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactPhotoManager.java | 608 private static final BitmapHolder BITMAP_UNAVAILABLE; 611 BITMAP_UNAVAILABLE = new BitmapHolder(new byte[0], 0); 618 private static class BitmapHolder { class in class:ContactPhotoManagerImpl 627 public BitmapHolder(byte[] bytes, int originalSmallerExtent) { method in class:ContactPhotoManagerImpl.BitmapHolder 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 [all...] |
Completed in 72 milliseconds