Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGrid.java235 public final int getLastVisibleIndex() { in getLastVisibleIndex() method in Grid
354 return getItemPositionsInRows(getFirstVisibleIndex(), getLastVisibleIndex()); in getItemPositionsInRows()
465 final int lastPos = getLastVisibleIndex(); in fillDisappearingItems()
DSingleRow.java151 if (getLastVisibleIndex() == mProvider.getCount() - 1) { in collectAdjacentPrefetchPositions()
DGridLayoutManager.java2003 final int savedLastPos = mGrid.getLastVisibleIndex(); in fastRelayout()
2015 while (mGrid.getLastVisibleIndex() < mFocusPosition) { in fastRelayout()
2022 && mGrid.getLastVisibleIndex() < savedLastPos); in fastRelayout()
2245 final int lastVisibleIndex = mGrid != null ? mGrid.getLastVisibleIndex() : NO_POSITION; in onLayoutChildren()
2288 oldLastVisible = mGrid.getLastVisibleIndex(); in onLayoutChildren()
2307 || mGrid.getLastVisibleIndex() != oldLastVisible); in onLayoutChildren()
2532 highVisiblePos = mGrid.getLastVisibleIndex();
2539 lowVisiblePos = mGrid.getLastVisibleIndex();
3028 mGrid.getItemPositionsInRows(pos, mGrid.getLastVisibleIndex())[row];
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java3096 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDelta()
3165 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDeltaInGrid()
3270 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDeltaInGrid1()