Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DCursorObjectAdapter.java24 private static final int CACHE_SIZE = 100; field in CursorObjectAdapter
27 private final LruCache<Integer, Object> mItemCache = new LruCache<Integer, Object>(CACHE_SIZE);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java70 private static final int CACHE_SIZE = 10; field in FontFamily_Delegate
74 new LinkedHashMap<String, FontInfo>(CACHE_SIZE) {
77 return size() > CACHE_SIZE;
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java40 private static final int CACHE_SIZE = 73; field in ArrayUtils
41 private static Object[] sCache = new Object[CACHE_SIZE];
116 int bucket = (kind.hashCode() & 0x7FFFFFFF) % CACHE_SIZE; in emptyArray()
/frameworks/support/v4/java/android/support/v4/util/
DSimpleArrayMap.java44 private static final int CACHE_SIZE = 10; field in SimpleArrayMap
175 if (mTwiceBaseCacheSize < CACHE_SIZE) { in freeArrays()
189 if (mBaseCacheSize < CACHE_SIZE) { in freeArrays()
/frameworks/base/core/java/android/util/
DArraySet.java59 private static final int CACHE_SIZE = 10; field in ArraySet
192 if (mTwiceBaseCacheSize < CACHE_SIZE) { in freeArrays()
206 if (mBaseCacheSize < CACHE_SIZE) { in freeArrays()
DArrayMap.java60 private static final int CACHE_SIZE = 10; field in ArrayMap
206 if (mTwiceBaseCacheSize < CACHE_SIZE) { in freeArrays()
220 if (mBaseCacheSize < CACHE_SIZE) { in freeArrays()