Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DStaggeredGrid.java77 public final int getFirstIndex() { in getFirstIndex() method in StaggeredGrid
155 if (itemIndex > getLastIndex() || itemIndex < getFirstIndex() - 1) { in prependVisbleItemsWithCache()
159 } else if (itemIndex < getFirstIndex()) { in prependVisbleItemsWithCache()
240 if (mFirstVisibleIndex != getFirstIndex() || mFirstVisibleIndex != itemIndex + 1) { in prependVisibleItemToRow()
309 if (itemIndex > getLastIndex() + 1 || itemIndex < getFirstIndex()) { in appendVisbleItemsWithCache()
DStaggeredGridDefault.java50 for (int i = mLastVisibleIndex - 1; i >= getFirstIndex(); i--) { in getRowMax()
75 for (int i = mLastVisibleIndex - 1; i >= getFirstIndex(); i--) { in getRowMin()
334 if (mFirstVisibleIndex > getFirstIndex()) { in prependVisibleItemsWithoutCache()
372 rowIndex = (mLocations.size() > 0 ? getLocation(getFirstIndex()).row + mNumRows - 1 in prependVisibleItemsWithoutCache()