Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java3102 final int firstVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDelta() local
3104 setSelectedPosition(firstVisiblePos - 1, 100); in testSetSelectionWithDelta()
3105 int top5 = mGridView.getLayoutManager().findViewByPosition(firstVisiblePos - 1).getTop(); in testSetSelectionWithDelta()
3172 final int firstVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDeltaInGrid() local
3174 setSelectedPosition(firstVisiblePos - 1, 100); in testSetSelectionWithDeltaInGrid()
3175 int top5 = getCenterY(mGridView.getLayoutManager().findViewByPosition(firstVisiblePos - 1)); in testSetSelectionWithDeltaInGrid()
3277 final int firstVisiblePos = ((GridLayoutManager)mGridView.getLayoutManager()) in testSetSelectionWithDeltaInGrid1() local
3279 setSelectedPosition(firstVisiblePos - 1, 100); in testSetSelectionWithDeltaInGrid1()
3280 int top5 = getCenterY(mGridView.getLayoutManager().findViewByPosition(firstVisiblePos - 1)); in testSetSelectionWithDeltaInGrid1()