Home
last modified time | relevance | path

Searched refs:mSpanSizeLookup (Results 1 – 3 of 3) 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()
451 return mSpanSizeLookup.getSpanGroupIndex(viewPosition, mSpanCount); in getSpanGroupIndex()
462 return mSpanSizeLookup.getSpanGroupIndex(adapterPosition, mSpanCount); in getSpanGroupIndex()
[all …]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DGridLayoutManagerActivity.java39 lm.setSpanSizeLookup(mSpanSizeLookup); in createLayoutManager()
43 GridLayoutManager.SpanSizeLookup mSpanSizeLookup = new GridLayoutManager.SpanSizeLookup() { field in GridLayoutManagerActivity
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java677 GridLayoutManager.SpanSizeLookup ssl = mGlm.mSpanSizeLookup; in accessibilitySpanIndicesTest()
1155 mGlm.mSpanSizeLookup.setSpanIndexCacheEnabled(true); in cacheSpanIndices()
1157 GridLayoutManager.SpanSizeLookup ssl = mGlm.mSpanSizeLookup; in cacheSpanIndices()
1158 assertTrue("cache should be filled", mGlm.mSpanSizeLookup.mSpanIndexCache.size() > 0); in cacheSpanIndices()