Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGrid.java207 public final int getFirstVisibleIndex() { in getFirstVisibleIndex() method in Grid
242 if (getFirstVisibleIndex() < 0) { in invalidateItemsAfter()
329 return getItemPositionsInRows(getFirstVisibleIndex(), getLastVisibleIndex()); in getItemPositionsInRows()
DGridLayoutManager.java973 && mFocusPosition >= mGrid.getFirstVisibleIndex() in layoutInit()
987 if (!mState.didStructureChange() && mGrid.getFirstVisibleIndex() >= 0 && in layoutInit()
998 int firstVisibleIndex = focusViewWasInTree ? mGrid.getFirstVisibleIndex() : 0; in layoutInit()
1426 if (index == mGrid.getFirstVisibleIndex()) {
1766 oldFirstVisible = mGrid.getFirstVisibleIndex(); in onLayoutChildren()
1778 } while (mGrid.getFirstVisibleIndex() != oldFirstVisible || in onLayoutChildren()
1956 : mGrid.getFirstVisibleIndex();
1987 int lowVisiblePos = (!mReverseFlowPrimary) ? mGrid.getFirstVisibleIndex()
2299 isMin = mGrid.getFirstVisibleIndex() == 0;
2303 isMax = mGrid.getFirstVisibleIndex() == 0;
[all …]
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java1215 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDelta()
1283 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDeltaInGrid()
1386 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDeltaInGrid1()