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.java36 private int mEmptyIndex = -1; field in MultiLongSparseArray
89 while (mEmptyIndex >= 0) { in clearEmptyCache()
90 mEmptySets[mEmptyIndex--] = null; in clearEmptyCache()
96 return mEmptyIndex + 1; in getEmptyCacheSize()
100 if (mEmptyIndex < DEFAULT_MAX_EMPTIES_KEPT - 1) { in cacheEmptySet()
101 mEmptySets[++mEmptyIndex] = emptySet; in cacheEmptySet()
106 if (mEmptyIndex < 0) { in getEmptySet()
109 Set<T> emptySet = mEmptySets[mEmptyIndex]; in getEmptySet()
110 mEmptySets[mEmptyIndex--] = null; in getEmptySet()