Lines Matching refs:Cache
38 * An LRU cache that supports finding the thumbnail of the requested uri with a different size than
50 private final Cache mCache;
53 * Creates a thumbnail LRU cache.
55 * @param maxCacheSizeInBytes the maximum size of thumbnails in bytes this cache can hold.
59 mCache = new Cache(maxCacheSizeInBytes);
112 // Cache miss.
117 * Puts a thumbnail for the given uri and size in to the cache.
120 * @param thumbnail the thumbnail to put in cache
143 * Removes all thumbnail cache associated to the given uri.
144 * @param uri the uri which thumbnail cache to remove
183 * A class that holds thumbnail and cache status.
293 private final class Cache extends LruCache<Pair<Uri, Point>, Entry> {
295 private Cache(int maxSizeBytes) {