Home
last modified time | relevance | path

Searched refs:indexLimit (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSingleRow.java175 protected final int findRowMin(boolean findLarge, int indexLimit, int[] indices) { in findRowMin() argument
178 indices[1] = indexLimit; in findRowMin()
180 return mReversedFlow ? mProvider.getEdge(indexLimit) - mProvider.getSize(indexLimit) in findRowMin()
181 : mProvider.getEdge(indexLimit); in findRowMin()
185 protected final int findRowMax(boolean findLarge, int indexLimit, int[] indices) { in findRowMax() argument
188 indices[1] = indexLimit; in findRowMax()
190 return mReversedFlow ? mProvider.getEdge(indexLimit) in findRowMax()
191 : mProvider.getEdge(indexLimit) + mProvider.getSize(indexLimit); in findRowMax()
DStaggeredGridDefault.java103 public int findRowMax(boolean findLarge, int indexLimit, int[] indices) { in findRowMax() argument
105 int edge = mProvider.getEdge(indexLimit); in findRowMax()
106 Location loc = getLocation(indexLimit); in findRowMax()
108 int index = indexLimit; in findRowMax()
113 for (int i = indexLimit + 1; visitedRows < mNumRows && i <= mLastVisibleIndex; i++) { in findRowMax()
127 value = edge + mProvider.getSize(indexLimit); in findRowMax()
128 for (int i = indexLimit - 1; visitedRows < mNumRows && i >= mFirstVisibleIndex; i--) { in findRowMax()
155 public int findRowMin(boolean findLarge, int indexLimit, int[] indices) { in findRowMin() argument
157 int edge = mProvider.getEdge(indexLimit); in findRowMin()
158 Location loc = getLocation(indexLimit); in findRowMin()
[all …]
DGrid.java296 protected abstract int findRowMin(boolean findLarge, int indexLimit, int[] rowIndex); in findRowMin() argument
311 protected abstract int findRowMax(boolean findLarge, int indexLimit, int[] indices); in findRowMax() argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java397 final int indexLimit = state.getItemCount() - 1; in ensureAnchorIsInCorrectSpan() local
400 while (pos < indexLimit) { in ensureAnchorIsInCorrectSpan()