Searched refs:indexLimit (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | SingleRow.java | 143 protected final int findRowMin(boolean findLarge, int indexLimit, int[] indices) { in findRowMin() argument 146 indices[1] = indexLimit; in findRowMin() 148 return mReversedFlow ? mProvider.getEdge(indexLimit) - mProvider.getSize(indexLimit) in findRowMin() 149 : mProvider.getEdge(indexLimit); in findRowMin() 153 protected final int findRowMax(boolean findLarge, int indexLimit, int[] indices) { in findRowMax() argument 156 indices[1] = indexLimit; in findRowMax() 158 return mReversedFlow ? mProvider.getEdge(indexLimit) in findRowMax() 159 : mProvider.getEdge(indexLimit) + mProvider.getSize(indexLimit); in findRowMax()
|
D | StaggeredGridDefault.java | 103 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 …]
|
D | Grid.java | 272 protected abstract int findRowMin(boolean findLarge, int indexLimit, int[] rowIndex); in findRowMin() argument 287 protected abstract int findRowMax(boolean findLarge, int indexLimit, int[] indices); in findRowMax() argument
|