Searched refs:focusToIndex (Results 1 – 1 of 1) sorted by relevance
2110 final int focusToIndex = 49; in testSetSelectedPositionDetached() local2121 mGridView.setSelectedPositionSmooth(focusToIndex); in testSetSelectedPositionDetached()2132 assertEquals(mGridView.getSelectedPosition(), focusToIndex); in testSetSelectedPositionDetached() local2133 assertTrue(mGridView.getLayoutManager().findViewByPosition(focusToIndex).hasFocus()); in testSetSelectedPositionDetached()2171 final int focusToIndex = mGridView.getChildCount() - 1; in testBug22209986() local2175 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 …]