Searched refs:maxSize (Results 1 – 3 of 3) sorted by relevance
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/ |
D | History.java | 34 public History(SharedPreferences prefs, String sharedPrefKey, int maxSize) { in History() argument 37 mMaxSize = maxSize; in History()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | DiskLruCache.java | 158 private final long maxSize; field in DiskLruCache 288 private DiskLruCache(File directory, int appVersion, int valueCount, long maxSize) { in DiskLruCache() argument 294 this.maxSize = maxSize; in DiskLruCache() 307 public static DiskLruCache open(File directory, int appVersion, int valueCount, long maxSize) in open() argument 309 if (maxSize <= 0) { in open() 317 DiskLruCache cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open() 334 cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open() 552 public long maxSize() { in maxSize() method in DiskLruCache 553 return maxSize; in maxSize() 610 if (size > maxSize || journalRebuildRequired()) { in completeEdit() [all …]
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | AlbumArtCache.java | 59 int maxSize = Math.min(MAX_ALBUM_ART_CACHE_SIZE, in AlbumArtCache() local 61 mCache = new LruCache<String, Bitmap[]>(maxSize) { in AlbumArtCache()
|