Searched refs:maxCapacity (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Mms/src/com/android/mms/util/ |
D | SimpleCache.java | 43 public SoftReferenceMap(int initialCapacity, int maxCapacity, float loadFactor) { in SoftReferenceMap() argument 45 mMaxCapacity = maxCapacity; in SoftReferenceMap() 59 public HardReferenceMap(int initialCapacity, int maxCapacity, float loadFactor) { in HardReferenceMap() argument 61 mMaxCapacity = maxCapacity; in HardReferenceMap() 88 public SimpleCache(int initialCapacity, int maxCapacity, float loadFactor, in SimpleCache() argument 92 mHardReferences = new HardReferenceMap(initialCapacity, maxCapacity, loadFactor); in SimpleCache() 94 mSoftReferences = new SoftReferenceMap(initialCapacity, maxCapacity, loadFactor); in SimpleCache()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | LruCache.java | 30 private final int maxCapacity; field in LruCache 48 private LruCache(int initialCapacity, int maxCapacity) { in LruCache() argument 50 this.maxCapacity = maxCapacity; in LruCache() 106 return size() > maxCapacity; in removeEldestEntry()
|