Searched refs:mSpanIndexCache (Results 1 – 1 of 1) sorted by relevance
822 final SparseIntArray mSpanIndexCache = new SparseIntArray(); field in GridLayoutManager.SpanSizeLookup849 mSpanIndexCache.clear(); in invalidateSpanIndexCache()865 final int existing = mSpanIndexCache.get(position, -1); in getCachedSpanIndex()870 mSpanIndexCache.put(position, value); in getCachedSpanIndex()905 if (mCacheSpanIndices && mSpanIndexCache.size() > 0) { in getSpanIndex()908 span = mSpanIndexCache.get(prevKey) + getSpanSize(prevKey); in getSpanIndex()930 int hi = mSpanIndexCache.size() - 1; in findReferenceIndexFromCache()933 final int midVal = mSpanIndexCache.keyAt(mid); in findReferenceIndexFromCache()941 if (index >= 0 && index < mSpanIndexCache.size()) { in findReferenceIndexFromCache()942 return mSpanIndexCache.keyAt(index); in findReferenceIndexFromCache()