Searched refs:cachedBitmap (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 945 Bitmap cachedBitmap = holder.bitmapRef == null ? null : holder.bitmapRef.get(); in loadCachedPhoto() local 946 if (cachedBitmap == null) { in loadCachedPhoto() 950 cachedBitmap = holder.bitmap; in loadCachedPhoto() 951 if (cachedBitmap == null) return false; in loadCachedPhoto() 972 layers[1] = getDrawableForBitmap(mContext.getResources(), cachedBitmap, request); in loadCachedPhoto() 978 getDrawableForBitmap(mContext.getResources(), cachedBitmap, request)); in loadCachedPhoto() local 983 if (cachedBitmap.getByteCount() < mBitmapCache.maxSize() / 6) { in loadCachedPhoto() 984 mBitmapCache.put(request.getKey(), cachedBitmap); in loadCachedPhoto() local
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManagerImpl.java | 536 Bitmap cachedBitmap = holder.bitmapRef == null ? null : holder.bitmapRef.get(); in loadCachedPhoto() local 537 if (cachedBitmap == null) { in loadCachedPhoto() 554 layers[1] = getDrawableForBitmap(context.getResources(), cachedBitmap, request); in loadCachedPhoto() 559 view.setImageDrawable(getDrawableForBitmap(context.getResources(), cachedBitmap, request)); in loadCachedPhoto() local 564 if (cachedBitmap.getByteCount() < bitmapCache.maxSize() / 6) { in loadCachedPhoto() 565 bitmapCache.put(request.getKey(), cachedBitmap); in loadCachedPhoto() local
|