Searched defs:mBitmapCache (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
H A DHolographicOutlineHelper.java52 private final SparseArray<Bitmap> mBitmapCache = new SparseArray<>(4); field in class:HolographicOutlineHelper
169 Bitmap cache = mBitmapCache.get(key);
173 mBitmapCache.put(key, cache);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DBitmapCache.java32 mBitmapCache = new HashMap<Long, ArrayList<WeakReference<Bitmap>>>(); field in class:BitmapCache
145 ArrayList<WeakReference<Bitmap>> list = mBitmapCache.get(key);
148 mBitmapCache.put(key, list);
178 ArrayList<WeakReference<Bitmap>> list = mBitmapCache.get(key);
182 mBitmapCache.remove(key);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DFilterEnvironment.java41 private BitmapCache mBitmapCache; field in class:FilterEnvironment
59 mBitmapCache = cache;
63 mBitmapCache.cache(buffer);
67 mBitmapCache.cache(bitmap);
71 return mBitmapCache.getBitmap(w, h, type);
75 return mBitmapCache.getBitmapCopy(source, type);
172 return mBitmapCache;
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactPhotoManager.java656 private final LruCache<Object, Bitmap> mBitmapCache; field in class:ContactPhotoManagerImpl
689 /** Cache size for {@link #mBitmapCache} for devices with "large" RAM. */
715 mBitmapCache = new LruCache<Object, Bitmap>(bitmapCacheSize) {
740 + " + " + btk(mBitmapCache.maxSize()));
796 for (Bitmap b : mBitmapCache.snapshot().values()) {
981 if (cachedBitmap.getByteCount() < mBitmapCache.maxSize() / 6) {
982 mBitmapCache.put(request.getKey(), cachedBitmap);
1009 * bitmap is held either by {@link #mBitmapCache} or by a soft reference in
1081 mBitmapCache.evictAll();
1170 * if needed. Some of the bitmaps will still be retained by {@link #mBitmapCache}
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DMasterImage.java117 private BitmapCache mBitmapCache = new BitmapCache(); field in class:MasterImage
407 mBitmapCache.cache(mPreviousImage);
422 mPreviousImage = mBitmapCache.getBitmapCopy(getFilteredImage(), BitmapCache.NEW_LOOK);
528 mBitmapCache.cache(mPartialBitmap);
536 mBitmapCache.cache(mHighresBitmap);
694 mBitmapCache.cache(mGeometryOnlyBitmap);
699 mBitmapCache.cache(mFiltersOnlyBitmap);
706 mBitmapCache.cache(mPartialBitmap);
713 mBitmapCache.cache(mHighresBitmap);
830 return mBitmapCache;
[all...]

Completed in 119 milliseconds