Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java2623 final int firstFocusableIndex = 10; in testNoInitialFocusable() local
2624 for (int i = 0; i < firstFocusableIndex; i++) { in testNoInitialFocusable()
2627 for (int i = firstFocusableIndex; i < focusable.length; i++) { in testNoInitialFocusable()
2640 assertEquals(firstFocusableIndex, mGridView.getSelectedPosition()); in testNoInitialFocusable()
2641 assertTrue(mGridView.getLayoutManager().findViewByPosition(firstFocusableIndex).hasFocus()); in testNoInitialFocusable()
2688 final int firstFocusableIndex = 1; in testTransferFocusToChildWhenGainFocus() local
2689 for (int i = 0; i < firstFocusableIndex; i++) { in testTransferFocusToChildWhenGainFocus()
2692 for (int i = firstFocusableIndex; i < focusable.length; i++) { in testTransferFocusToChildWhenGainFocus()
2698 assertEquals(firstFocusableIndex, mGridView.getSelectedPosition()); in testTransferFocusToChildWhenGainFocus()
2699 assertTrue(mGridView.getLayoutManager().findViewByPosition(firstFocusableIndex).hasFocus()); in testTransferFocusToChildWhenGainFocus()