Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGrid.java215 public final int getLastVisibleIndex() { in getLastVisibleIndex() method in Grid
329 return getItemPositionsInRows(getFirstVisibleIndex(), getLastVisibleIndex()); in getItemPositionsInRows()
DGridLayoutManager.java1081 && mFocusPosition <= mGrid.getLastVisibleIndex(); in layoutInit()
1574 if (index == mGrid.getLastVisibleIndex()) {
1781 final int savedLastPos = mGrid.getLastVisibleIndex(); in fastRelayout()
1789 while (mGrid.getLastVisibleIndex() < mFocusPosition) { in fastRelayout()
1796 && mGrid.getLastVisibleIndex() < savedLastPos); in fastRelayout()
1908 oldLastVisible = mGrid.getLastVisibleIndex(); in onLayoutChildren()
1920 mGrid.getLastVisibleIndex() != oldLastVisible); in onLayoutChildren()
2100 int highVisiblePos = (!mReverseFlowPrimary) ? mGrid.getLastVisibleIndex()
2133 : mGrid.getLastVisibleIndex();
2452 isMax = mGrid.getLastVisibleIndex() == (mState == null ?
[all …]
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java1505 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDelta()
1572 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDeltaInGrid()
1675 .mGrid.getLastVisibleIndex(); in testSetSelectionWithDeltaInGrid1()