Home
last modified time | relevance | path

Searched refs:cachedBitmap (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java945 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/
DContactPhotoManagerImpl.java536 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
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java572 final BitmapInfo cachedBitmap = mWidgetCategoryBitmapInfos.get(infoInOut.widgetCategory); in getTitleAndIconForApp() local
573 if (cachedBitmap != null) { in getTitleAndIconForApp()
574 infoInOut.bitmap = getBadgedIcon(cachedBitmap, infoInOut.user); in getTitleAndIconForApp()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DStaticWallpaperPreviewBinder.kt79 ImageSource.cachedBitmap(imageModel.rawWallpaperBitmap), in <lambda>()