HomeSort by relevance Sort by last modified time
    Searched defs:ImageCache (Results 1 - 7 of 7) sorted by null

  /frameworks/volley/src/main/java/com/android/volley/toolbox/
ImageLoader.java 50 private final ImageCache mCache;
74 public interface ImageCache {
82 * @param imageCache The cache to use as an L1 cache.
84 public ImageLoader(RequestQueue queue, ImageCache imageCache) {
86 mCache = imageCache;
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageCache.java 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()
    [all...]
  /packages/apps/TV/src/com/android/tv/util/
ImageCache.java 29 public class ImageCache implements MemoryManageable {
34 private static final String TAG = "ImageCache";
40 * Creates a new ImageCache object with a given cache size percent.
44 private ImageCache(float memCacheSizePercent) {
63 private static ImageCache sImageCache;
66 * Returns an existing ImageCache, if it doesn't exist, a new one is created using the supplied
71 * @return An existing retained ImageCache object or a new one if one did not exist
73 public static synchronized ImageCache getInstance(float memCacheSizePercent) {
81 static ImageCache newInstance(float memCacheSizePercent) {
82 return new ImageCache(memCacheSizePercent)
    [all...]
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 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
    [all...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 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
    [all...]
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java 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
    [all...]
  /packages/apps/TV/src/com/android/tv/
MainActivity.java 123 import com.android.tv.util.ImageCache;
487 mMemoryManageables.add(ImageCache.getInstance());
    [all...]

Completed in 173 milliseconds