Home
last modified time | relevance | path

Searched refs:ImageCache (Results 1 – 8 of 8) sorted by relevance

/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageCache.java32 public class ImageCache { class
41 private ImageCache(float memCacheSizePercent) { in ImageCache() method in ImageCache
53 public static ImageCache getInstance( in getInstance()
60 ImageCache imageCache = (ImageCache) mRetainFragment.getObject(); in getInstance()
64 imageCache = new ImageCache(memCacheSizePercent); in getInstance()
DImageLoader.java46 private ImageCache mImageCache;
113 mImageCache = ImageCache.getInstance(fragmentManager, memCacheSizePercent); in addImageCache()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java116 int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromResource()
149 int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromFile()
180 FileDescriptor fileDescriptor, int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromDescriptor()
202 private static void addInBitmapOptions(BitmapFactory.Options options, ImageCache cache) { in addInBitmapOptions()
DImageWorker.java45 private ImageCache mImageCache;
46 private ImageCache.ImageCacheParams mImageCacheParams;
148 ImageCache.ImageCacheParams cacheParams) { in addImageCache()
150 mImageCache = ImageCache.getInstance(fragmentManager, mImageCacheParams); in addImageCache()
162 mImageCacheParams = new ImageCache.ImageCacheParams(activity, diskCacheDirectoryName); in addImageCache()
163 … mImageCache = ImageCache.getInstance(activity.getSupportFragmentManager(), mImageCacheParams); in addImageCache()
193 protected ImageCache getImageCache() { in getImageCache()
DImageCache.java58 public class ImageCache { class
93 private ImageCache(ImageCacheParams cacheParams) { in ImageCache() method in ImageCache
105 public static ImageCache getInstance( in getInstance()
112 ImageCache imageCache = (ImageCache) mRetainFragment.getObject(); in getInstance()
116 imageCache = new ImageCache(cacheParams); in getInstance()
DImageFetcher.java80 mHttpCacheDir = ImageCache.getDiskCacheDir(context, HTTP_CACHE_DIR); in init()
94 if (ImageCache.getUsableSpace(mHttpCacheDir) > HTTP_CACHE_SIZE) { in initHttpDiskCache()
193 final String key = ImageCache.hashKeyForDisk(data); in processBitmap()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageDetailActivity.java40 import com.example.android.displayingbitmaps.util.ImageCache;
75 ImageCache.ImageCacheParams cacheParams = in onCreate()
76 new ImageCache.ImageCacheParams(this, IMAGE_CACHE_DIR); in onCreate()
DImageGridFragment.java46 import com.example.android.displayingbitmaps.util.ImageCache;
81 ImageCache.ImageCacheParams cacheParams = in onCreate()
82 new ImageCache.ImageCacheParams(getActivity(), IMAGE_CACHE_DIR); in onCreate()