Home
last modified time | relevance | path

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

/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A 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
/aosp12/packages/apps/Dialer/java/com/android/dialer/contactphoto/
H A 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
/aosp12/frameworks/base/libs/hwui/
H A DVectorDrawable.cpp508 sk_sp<SkImage> cachedBitmap = getBitmapUpdateIfDirty().makeImage(); in draw() local
514 canvas->drawImageRect(cachedBitmap, SkRect::MakeWH(scaledWidth, scaledHeight), bounds, in draw()