Home
last modified time | relevance | path

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

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageFetcher.java49 private DiskLruCache mHttpDiskCache; field in ImageFetcher
96 mHttpDiskCache = DiskLruCache.open(mHttpCacheDir, 1, 1, HTTP_CACHE_SIZE); in initHttpDiskCache()
101 mHttpDiskCache = null; in initHttpDiskCache()
113 if (mHttpDiskCache != null && !mHttpDiskCache.isClosed()) { in clearCacheInternal()
115 mHttpDiskCache.delete(); in clearCacheInternal()
122 mHttpDiskCache = null; in clearCacheInternal()
133 if (mHttpDiskCache != null) { in flushCacheInternal()
135 mHttpDiskCache.flush(); in flushCacheInternal()
150 if (mHttpDiskCache != null) { in closeCacheInternal()
152 if (!mHttpDiskCache.isClosed()) { in closeCacheInternal()
[all …]