Home
last modified time | relevance | path

Searched refs:sizeMap (Results 1 – 1 of 1) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java70 TreeMap<Point, Pair<Uri, Point>> sizeMap; in getThumbnail() local
71 sizeMap = mSizeIndex.get(uri); in getThumbnail()
72 if (sizeMap == null || sizeMap.isEmpty()) { in getThumbnail()
78 Pair<Uri, Point> cacheKey = sizeMap.get(size); in getThumbnail()
87 Point otherSize = sizeMap.higherKey(size); in getThumbnail()
89 cacheKey = sizeMap.get(otherSize); in getThumbnail()
100 otherSize = sizeMap.lowerKey(size); in getThumbnail()
102 cacheKey = sizeMap.get(otherSize); in getThumbnail()
126 TreeMap<Point, Pair<Uri, Point>> sizeMap; in putThumbnail() local
128 sizeMap = mSizeIndex.get(uri); in putThumbnail()
[all …]