Searched refs:mBitmapCache (Results 1 – 5 of 5) sorted by relevance
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
| 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()
|
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
| D | MasterImage.java | 117 private BitmapCache mBitmapCache = new BitmapCache(); field in MasterImage 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()
|
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
| 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()
|
| /packages/apps/ContactsCommon/src/com/android/contacts/common/ |
| 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() 1229 mBitmapCache.put(request.getKey(), bitmap); in cacheBitmap()
|
| /packages/apps/Launcher3/src/com/android/launcher3/ |
| D | HolographicOutlineHelper.java | 52 private final SparseArray<Bitmap> mBitmapCache = new SparseArray<>(4); field in HolographicOutlineHelper 172 Bitmap cache = mBitmapCache.get(key); in createMediumDropShadow() 176 mBitmapCache.put(key, cache); in createMediumDropShadow()
|