Home | History | Annotate | Download | only in util

Lines Matching defs:ImageCache

32 public class ImageCache {
33 private static final String TAG = "ImageCache";
37 * Creating a new ImageCache object using the specified parameters.
41 private ImageCache(float memCacheSizePercent) {
46 * Find and return an existing ImageCache stored in a {@link RetainFragment}, if not found a new
51 * @return An existing retained ImageCache object or a new one if one did not exist
53 public static ImageCache getInstance(
59 // See if we already have an ImageCache stored in RetainFragment
60 ImageCache imageCache = (ImageCache) mRetainFragment.getObject();
62 // No existing ImageCache, create one and store it in RetainFragment
63 if (imageCache == null) {
64 imageCache = new ImageCache(memCacheSizePercent);
65 mRetainFragment.setObject(imageCache);
68 return imageCache;
190 * changes. It will be used to retain the ImageCache object.