Home | History | Annotate | Download | only in util

Lines Matching refs:imageCache

54  * {@link ImageCache#getInstance(android.support.v4.app.FragmentManager, ImageCacheParams)} to get an instance of this
58 public class ImageCache {
59 private static final String TAG = "ImageCache";
86 * Create a new ImageCache object using the specified parameters. This should not be
88 * {@link ImageCache#getInstance(android.support.v4.app.FragmentManager, ImageCacheParams)} to fetch an ImageCache
93 private ImageCache(ImageCacheParams cacheParams) {
98 * Return an {@link ImageCache} instance. A {@link RetainFragment} is used to retain the
99 * ImageCache object across configuration changes such as a change in device orientation.
102 * @param cacheParams The cache parameters to use if the ImageCache needs instantiation.
103 * @return An existing retained ImageCache object or a new one if one did not exist
105 public static ImageCache getInstance(
111 // See if we already have an ImageCache stored in RetainFragment
112 ImageCache imageCache = (ImageCache) mRetainFragment.getObject();
114 // No existing ImageCache, create one and store it in RetainFragment
115 if (imageCache == null) {
116 imageCache = new ImageCache(cacheParams);
117 mRetainFragment.setObject(imageCache);
120 return imageCache;
198 * executed on the main/UI thread. By default an ImageCache does not initialize the disk
396 * Clears both the memory and disk cache associated with this ImageCache object. Note that
425 * Flushes the disk cache associated with this ImageCache object. Note that this includes
444 * Closes the disk cache associated with this ImageCache object. Note that this includes
480 * {@link ImageCache#getInstance(android.support.v4.app.FragmentManager, ImageCacheParams)} or
701 * changes. It will be used to retain the ImageCache object.