Home
last modified time | relevance | path

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

/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DDiskLruCache.java159 private final int valueCount; field in DiskLruCache
288 private DiskLruCache(File directory, int appVersion, int valueCount, long maxSize) { in DiskLruCache() argument
293 this.valueCount = valueCount; in DiskLruCache()
307 public static DiskLruCache open(File directory, int appVersion, int valueCount, long maxSize) in open() argument
312 if (valueCount <= 0) { in open()
317 DiskLruCache cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open()
334 cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open()
350 || !Integer.toString(valueCount).equals(valueCountString) in readJournal()
386 if (parts[0].equals(CLEAN) && parts.length == 2 + valueCount) { in readJournalLine()
408 for (int t = 0; t < valueCount; t++) { in processJournal()
[all …]
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DDiskLruCache.java159 private final int valueCount; field in DiskLruCache
288 private DiskLruCache(File directory, int appVersion, int valueCount, long maxSize) { in DiskLruCache() argument
293 this.valueCount = valueCount; in DiskLruCache()
307 public static DiskLruCache open(File directory, int appVersion, int valueCount, long maxSize) in open() argument
312 if (valueCount <= 0) { in open()
317 DiskLruCache cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open()
334 cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open()
350 || !Integer.toString(valueCount).equals(valueCountString) in readJournal()
386 if (parts[0].equals(CLEAN) && parts.length == 2 + valueCount) { in readJournalLine()
408 for (int t = 0; t < valueCount; t++) { in processJournal()
[all …]