Searched refs:mMemoryCache (Results 1 - 3 of 3) sorted by relevance
/packages/apps/TV/src/com/android/tv/util/ |
H A D | ImageCache.java | 37 private final LruCache<String, ScaledBitmapInfo> mMemoryCache; field in class:ImageCache 51 mMemoryCache = new LruCache<String, ScaledBitmapInfo>(memCacheSize) { 110 synchronized (mMemoryCache) { 111 ScaledBitmapInfo old = mMemoryCache.put(key, bitmapInfo); 113 mMemoryCache.put(key, old); 122 mMemoryCache.size() + " / " + mMemoryCache.maxSize() + " Kbytes"); 135 ScaledBitmapInfo memBitmapInfo = mMemoryCache.get(key); 137 int hit = mMemoryCache.hitCount(); 138 int miss = mMemoryCache [all...] |
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | BitmapDownloader.java | 70 private LruCache<String, BitmapItem> mMemoryCache; field in class:BitmapDownloader 112 mMemoryCache = new LruCache<String, BitmapItem>(cacheSize) { 263 BitmapItem bitmapItem = mMemoryCache.get(bucketKey); 277 mMemoryCache.put(bucketKey, bitmapItem); 285 BitmapItem bitmapItem = mMemoryCache.get(bucketKey); 307 bitmapItem = mMemoryCache.get(bucketKey); 318 BitmapItem bitmapItem = mMemoryCache.get(bucketKey); 331 BitmapItem bitmapItem = mMemoryCache.get(bucketKey);
|
H A D | DrawableDownloader.java | 145 private LruCache<String, BitmapItem> mMemoryCache; field in class:DrawableDownloader 186 mMemoryCache = new LruCache<String, BitmapItem>(cacheSize) { 207 mMemoryCache.evictAll(); 209 mMemoryCache.trimToSize((int) (amount * mMemoryCache.maxSize())); 355 BitmapItem bitmapItem = mMemoryCache.get(bucketKey); 361 mMemoryCache.remove(bucketKey); 370 mMemoryCache.put(bucketKey, bitmapItem); 376 BitmapItem item = mMemoryCache.get(bucketKey); 386 BitmapItem item = mMemoryCache [all...] |
Completed in 103 milliseconds