Home
last modified time | relevance | path

Searched refs:mBitmapCache (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DFilterEnvironment.java41 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/
DMasterImage.java117 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/
DBitmapCache.java32 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/UniversalMediaPlayer/java/com/android/pump/util/
DImageLoader.java63 private final BitmapCache mBitmapCache = new BitmapCache(); field in ImageLoader
113 bitmap = mBitmapCache.get(uri); in loadImage()
169 mBitmapCache.put(mUri, bitmap); in run()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java658 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()