Home
last modified time | relevance | path

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

/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java1504 final int lastVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDelta() local
1506 setSelectedPosition(lastVisiblePos + 1, 100); in testSetSelectionWithDelta()
1507 int top4 = mGridView.getLayoutManager().findViewByPosition(lastVisiblePos + 1).getTop(); in testSetSelectionWithDelta()
1571 final int lastVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDeltaInGrid() local
1573 setSelectedPosition(lastVisiblePos + 1, 100); in testSetSelectionWithDeltaInGrid()
1574 int top4 = getCenterY(mGridView.getLayoutManager().findViewByPosition(lastVisiblePos + 1)); in testSetSelectionWithDeltaInGrid()
1674 final int lastVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDeltaInGrid1() local
1676 setSelectedPosition(lastVisiblePos + 1, 100); in testSetSelectionWithDeltaInGrid1()
1677 int top4 = getCenterY(mGridView.getLayoutManager().findViewByPosition(lastVisiblePos + 1)); in testSetSelectionWithDeltaInGrid1()
/frameworks/base/core/java/android/widget/
DListView.java2955 final int lastVisiblePos = getLastVisiblePosition(); in lookForSelectablePositionOnScreen() local
2957 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen()