Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/util/
DMultiLongSparseArray.java34 private int mEmptyIndex = -1; field in MultiLongSparseArray
82 while (mEmptyIndex >= 0) { in clearEmptyCache()
83 mEmptySets[mEmptyIndex--] = null; in clearEmptyCache()
89 return mEmptyIndex + 1; in getEmptyCacheSize()
93 if (mEmptyIndex < DEFAULT_MAX_EMPTIES_KEPT - 1) { in cacheEmptySet()
94 mEmptySets[++mEmptyIndex] = emptySet; in cacheEmptySet()
99 if (mEmptyIndex < 0) { in getEmptySet()
102 Set<T> emptySet = mEmptySets[mEmptyIndex]; in getEmptySet()
103 mEmptySets[mEmptyIndex--] = null; in getEmptySet()