Home
last modified time | relevance | path

Searched refs:mImageCache (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageWorker.java45 private ImageCache mImageCache; field in ImageWorker
83 if (mImageCache != null) { in loadImage()
84 value = mImageCache.getBitmapFromMemCache(String.valueOf(data)); in loadImage()
150 mImageCache = ImageCache.getInstance(fragmentManager, mImageCacheParams); in addImageCache()
163mImageCache = ImageCache.getInstance(activity.getSupportFragmentManager(), mImageCacheParams); in addImageCache()
194 return mImageCache; in getImageCache()
301 if (mImageCache != null && !isCancelled() && getAttachedImageView() != null in doInBackground()
303 bitmap = mImageCache.getBitmapFromDiskCache(dataString); in doInBackground()
329 if (mImageCache != null) { in doInBackground()
330 mImageCache.addBitmapToCache(dataString, drawable); in doInBackground()
[all …]
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java46 private ImageCache mImageCache; field in ImageLoader
80 if (mImageCache != null) { in loadImage()
81 bitmap = mImageCache.getBitmapFromMemCache(String.valueOf(data)); in loadImage()
113 mImageCache = ImageCache.getInstance(fragmentManager, memCacheSizePercent); in addImageCache()
232 if (bitmap != null && mImageCache != null) { in doInBackground()
233 mImageCache.addBitmapToCache(dataString, bitmap); in doInBackground()