Home
last modified time | relevance | path

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

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageCache.java77 private DiskLruCache mDiskLruCache; field in ImageCache
205 if (mDiskLruCache == null || mDiskLruCache.isClosed()) { in initDiskCache()
213 mDiskLruCache = DiskLruCache.open( in initDiskCache()
253 if (mDiskLruCache != null) { in addBitmapToCache()
257 DiskLruCache.Snapshot snapshot = mDiskLruCache.get(key); in addBitmapToCache()
259 final DiskLruCache.Editor editor = mDiskLruCache.edit(key); in addBitmapToCache()
325 if (mDiskLruCache != null) { in getBitmapFromDiskCache()
328 final DiskLruCache.Snapshot snapshot = mDiskLruCache.get(key); in getBitmapFromDiskCache()
409 if (mDiskLruCache != null && !mDiskLruCache.isClosed()) { in clearCache()
411 mDiskLruCache.delete(); in clearCache()
[all …]