Home
last modified time | relevance | path

Searched refs:CACHE_SIZE (Results 1 – 5 of 5) 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/core/java/com/android/internal/util/
DArrayUtils.java34 private static final int CACHE_SIZE = 73; field in ArrayUtils
35 private static Object[] sCache = new Object[CACHE_SIZE];
110 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.java61 private static final int CACHE_SIZE = 10; field in ArraySet
193 if (mTwiceBaseCacheSize < CACHE_SIZE) { in freeArrays()
207 if (mBaseCacheSize < CACHE_SIZE) { in freeArrays()
DArrayMap.java60 private static final int CACHE_SIZE = 10; field in ArrayMap
205 if (mTwiceBaseCacheSize < CACHE_SIZE) { in freeArrays()
219 if (mBaseCacheSize < CACHE_SIZE) { in freeArrays()