Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java315 ssl.getSpanGroupIndex(position, mGlm.getSpanCount()), in accessibilitySpanIndicesTest()
674 assertEquals(0, ssl.getSpanGroupIndex(0, 5)); in spanGroupIndex()
675 assertEquals(0, ssl.getSpanGroupIndex(4, 5)); in spanGroupIndex()
676 assertEquals(1, ssl.getSpanGroupIndex(5, 5)); in spanGroupIndex()
677 assertEquals(1, ssl.getSpanGroupIndex(6, 5)); in spanGroupIndex()
678 assertEquals(1, ssl.getSpanGroupIndex(7, 5)); in spanGroupIndex()
679 assertEquals(2, ssl.getSpanGroupIndex(9, 5)); in spanGroupIndex()
680 assertEquals(2, ssl.getSpanGroupIndex(8, 5)); in spanGroupIndex()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java125 return getSpanGroupIndex(recycler, state, state.getItemCount() - 1) + 1; in getRowCountForAccessibility()
139 return getSpanGroupIndex(recycler, state, state.getItemCount() - 1) + 1; in getColumnCountForAccessibility()
151 int spanGroupIndex = getSpanGroupIndex(recycler, state, glp.getViewLayoutPosition()); in onInitializeAccessibilityNodeInfoForItem()
438 private int getSpanGroupIndex(RecyclerView.Recycler recycler, RecyclerView.State state, in getSpanGroupIndex() method in GridLayoutManager
441 return mSpanSizeLookup.getSpanGroupIndex(viewPosition, mSpanCount); in getSpanGroupIndex()
452 return mSpanSizeLookup.getSpanGroupIndex(adapterPosition, mSpanCount); in getSpanGroupIndex()
955 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() method in GridLayoutManager.SpanSizeLookup
/frameworks/support/v7/recyclerview/api/
D22.0.0.txt43 method public int getSpanGroupIndex(int, int);
D22.1.0.txt86 method public int getSpanGroupIndex(int, int);
D22.2.1.txt127 method public int getSpanGroupIndex(int, int);
D22.2.0.txt124 method public int getSpanGroupIndex(int, int);
D23.0.0.txt154 method public int getSpanGroupIndex(int, int);
D23.1.0.txt154 method public int getSpanGroupIndex(int, int);
Dcurrent.txt157 method public int getSpanGroupIndex(int, int);
D23.1.1.txt154 method public int getSpanGroupIndex(int, int);