Home
last modified time | relevance | path

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

/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DImageFetcher.java50 private File mHttpCacheDir; field in ImageFetcher
80 mHttpCacheDir = ImageCache.getDiskCacheDir(context, HTTP_CACHE_DIR); in init()
90 if (!mHttpCacheDir.exists()) { in initHttpDiskCache()
91 mHttpCacheDir.mkdirs(); in initHttpDiskCache()
94 if (ImageCache.getUsableSpace(mHttpCacheDir) > HTTP_CACHE_SIZE) { in initHttpDiskCache()
96 mHttpDiskCache = DiskLruCache.open(mHttpCacheDir, 1, 1, HTTP_CACHE_SIZE); in initHttpDiskCache()
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DImageFetcher.java50 private File mHttpCacheDir; field in ImageFetcher
80 mHttpCacheDir = ImageCache.getDiskCacheDir(context, HTTP_CACHE_DIR); in init()
90 if (!mHttpCacheDir.exists()) { in initHttpDiskCache()
91 mHttpCacheDir.mkdirs(); in initHttpDiskCache()
94 if (ImageCache.getUsableSpace(mHttpCacheDir) > HTTP_CACHE_SIZE) { in initHttpDiskCache()
96 mHttpDiskCache = DiskLruCache.open(mHttpCacheDir, 1, 1, HTTP_CACHE_SIZE); in initHttpDiskCache()