Searched refs:DiskLruCache (Results 1 – 3 of 3) sorted by relevance
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | ImageFetcher.java | 49 private DiskLruCache mHttpDiskCache; 96 mHttpDiskCache = DiskLruCache.open(mHttpCacheDir, 1, 1, HTTP_CACHE_SIZE); in initHttpDiskCache() 196 DiskLruCache.Snapshot snapshot; in processBitmap() 212 DiskLruCache.Editor editor = mHttpDiskCache.edit(key); in processBitmap()
|
D | DiskLruCache.java | 100 public final class DiskLruCache implements Closeable { class 274 synchronized (DiskLruCache.this) { 288 private DiskLruCache(File directory, int appVersion, int valueCount, long maxSize) { in DiskLruCache() method in DiskLruCache 307 public static DiskLruCache open(File directory, int appVersion, int valueCount, long maxSize) in open() 317 DiskLruCache cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open() 334 cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open() 747 return DiskLruCache.this.edit(key, sequenceNumber); in edit() 787 synchronized (DiskLruCache.this) { in newInputStream() 815 synchronized (DiskLruCache.this) { in newOutputStream()
|
D | ImageCache.java | 77 private DiskLruCache mDiskLruCache; 213 mDiskLruCache = DiskLruCache.open( in initDiskCache() 257 DiskLruCache.Snapshot snapshot = mDiskLruCache.get(key); in addBitmapToCache() 259 final DiskLruCache.Editor editor = mDiskLruCache.edit(key); in addBitmapToCache() 328 final DiskLruCache.Snapshot snapshot = mDiskLruCache.get(key); in getBitmapFromDiskCache()
|