Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java57 SpanSizeLookup mSpanSizeLookup = new DefaultSpanSizeLookup(); field in GridLayoutManager
200 mSpanSizeLookup.invalidateSpanIndexCache(); in onItemsAdded()
205 mSpanSizeLookup.invalidateSpanIndexCache(); in onItemsChanged()
210 mSpanSizeLookup.invalidateSpanIndexCache(); in onItemsRemoved()
216 mSpanSizeLookup.invalidateSpanIndexCache(); in onItemsUpdated()
221 mSpanSizeLookup.invalidateSpanIndexCache(); in onItemsMoved()
261 mSpanSizeLookup = spanSizeLookup; in setSpanSizeLookup()
270 return mSpanSizeLookup; in getSpanSizeLookup()
441 return mSpanSizeLookup.getSpanGroupIndex(viewPosition, mSpanCount); in getSpanGroupIndex()
452 return mSpanSizeLookup.getSpanGroupIndex(adapterPosition, mSpanCount); in getSpanGroupIndex()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java310 GridLayoutManager.SpanSizeLookup ssl = mGlm.mSpanSizeLookup; in accessibilitySpanIndicesTest()
788 mGlm.mSpanSizeLookup.setSpanIndexCacheEnabled(true); in cacheSpanIndices()
790 GridLayoutManager.SpanSizeLookup ssl = mGlm.mSpanSizeLookup; in cacheSpanIndices()
791 assertTrue("cache should be filled", mGlm.mSpanSizeLookup.mSpanIndexCache.size() > 0); in cacheSpanIndices()