Lines Matching refs:CacheKey
53 private final HashMap<SizeIndexKey, TreeMap<Point, CacheKey>> mSizeIndex;
74 TreeMap<Point, CacheKey> sizeMap; in getThumbnail()
82 CacheKey cacheKey = sizeMap.get(size); in getThumbnail()
129 CacheKey cacheKey = new CacheKey(uri, userId, size); in putThumbnail()
131 TreeMap<Point, CacheKey> sizeMap; in putThumbnail()
152 TreeMap<Point, CacheKey> sizeMap; in removeUri()
161 for (CacheKey index : sizeMap.values().toArray(new CacheKey[0])) { in removeUri()
167 private void removeKey(CacheKey cacheKey) { in removeKey()
168 TreeMap<Point, CacheKey> sizeMap; in removeKey()
298 private final class Cache extends LruCache<CacheKey, Entry> {
305 protected int sizeOf(CacheKey key, Entry value) { in sizeOf()
311 boolean evicted, CacheKey key, Entry oldValue, Entry newValue) { in entryRemoved()
359 private static class CacheKey { class in ThumbnailCache
364 CacheKey(Uri uri, UserId userId, Point point) { in CacheKey() method in ThumbnailCache.CacheKey
380 if (o instanceof CacheKey) { in equals()
381 CacheKey other = (CacheKey) o; in equals()