Searched refs:mBitmapCache (Results 1 – 7 of 7) sorted by relevance
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | FilterEnvironment.java | 41 private BitmapCache mBitmapCache; field in FilterEnvironment 59 mBitmapCache = cache; in setBitmapCache() 63 mBitmapCache.cache(buffer); in cache() 67 mBitmapCache.cache(bitmap); in cache() 71 return mBitmapCache.getBitmap(w, h, type); in getBitmap() 75 return mBitmapCache.getBitmapCopy(source, type); in getBitmapCopy() 172 return mBitmapCache; in getBimapCache()
|
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
H A D | ImageListViewScrollActivity.java | 57 private static Bitmap[] mBitmapCache = new Bitmap[IMG_RES_ID.length]; field in ImageListViewScrollActivity 101 mBitmapCache[cacheIdx] = bitmap; in onPostExecute() 110 for (int i = 0; i < mBitmapCache.length; i++) { in onPause() 111 mBitmapCache[i] = null; in onPause() 147 Bitmap bitmap = mBitmapCache[(cacheIdx)]; in getView()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
H A D | BitmapCache.java | 32 mBitmapCache = new HashMap<Long, ArrayList<WeakReference<Bitmap>>>(); field in BitmapCache 145 ArrayList<WeakReference<Bitmap>> list = mBitmapCache.get(key); in cache() 148 mBitmapCache.put(key, list); in cache() 178 ArrayList<WeakReference<Bitmap>> list = mBitmapCache.get(key); in getBitmap() 182 mBitmapCache.remove(key); in getBitmap()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | PrimaryImage.java | 117 private BitmapCache mBitmapCache = new BitmapCache(); field in PrimaryImage 407 mBitmapCache.cache(mPreviousImage); in resetAnimBitmap() 422 mPreviousImage = mBitmapCache.getBitmapCopy(getFilteredImage(), BitmapCache.NEW_LOOK); in onNewLook() 528 mBitmapCache.cache(mPartialBitmap); in invalidatePartialPreview() 536 mBitmapCache.cache(mHighresBitmap); in invalidateHighresPreview() 694 mBitmapCache.cache(mGeometryOnlyBitmap); in available() 699 mBitmapCache.cache(mFiltersOnlyBitmap); in available() 706 mBitmapCache.cache(mPartialBitmap); in available() 713 mBitmapCache.cache(mHighresBitmap); in available() 830 return mBitmapCache; in getBitmapCache()
|
/aosp12/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
H A D | ImageLoader.java | 63 private final BitmapCache mBitmapCache = new BitmapCache(); field in ImageLoader 113 bitmap = mBitmapCache.get(uri); in loadImage() 169 mBitmapCache.put(mUri, bitmap); in run()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactPhotoManager.java | 658 private final LruCache<Object, Bitmap> mBitmapCache; field in ContactPhotoManagerImpl 717 mBitmapCache = new LruCache<Object, Bitmap>(bitmapCacheSize) { in ContactPhotoManagerImpl() 742 + " + " + btk(mBitmapCache.maxSize())); in ContactPhotoManagerImpl() 798 for (Bitmap b : mBitmapCache.snapshot().values()) { in dumpStats() 983 if (cachedBitmap.getByteCount() < mBitmapCache.maxSize() / 6) { in loadCachedPhoto() 984 mBitmapCache.put(request.getKey(), cachedBitmap); in loadCachedPhoto() 1083 mBitmapCache.evictAll(); in clear() 1231 mBitmapCache.put(request.getKey(), bitmap); in cacheBitmap()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 348 private BitmapCache mBitmapCache = new BitmapCache(); field in RemoteViews 435 ArrayList<Bitmap> cache = mBitmapCache.mBitmaps; in reduceImageSizes() 1626 bitmapId = mBitmapCache.getBitmapId(bitmap); in BitmapReflectionAction() 3718 mBitmapCache = src.mBitmapCache; 3721 mBitmapCache = hierarchyRoot.mBitmapCache; 3792 mBitmapCache = new BitmapCache(parcel); 3959 mBitmapCache = rootData.mBitmapCache; 3997 mBitmapCache = new BitmapCache(); 4009 return mBitmapCache.getBitmapMemory(); 7021 final BitmapCache mBitmapCache; [all …]
|