Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java2110 final int focusToIndex = 49; in testSetSelectedPositionDetached() local
2121 mGridView.setSelectedPositionSmooth(focusToIndex); in testSetSelectedPositionDetached()
2132 assertEquals(mGridView.getSelectedPosition(), focusToIndex); in testSetSelectedPositionDetached() local
2133 assertTrue(mGridView.getLayoutManager().findViewByPosition(focusToIndex).hasFocus()); in testSetSelectedPositionDetached()
2171 final int focusToIndex = mGridView.getChildCount() - 1; in testBug22209986() local
2175 mGridView.setSelectedPositionSmooth(focusToIndex); in testBug22209986()
2183 mGridView.setSelectedPositionSmooth(focusToIndex + 1); in testBug22209986()
2197 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft(); in testBug22209986()
2207 mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft()); in testBug22209986()
2224 final int focusToIndex = mGridView.getChildCount() - 1; in testScrollAndRemove() local
[all …]