Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java2736 final int focusableIndex = 2; in removeFocusableItemAndFocusableRecyclerViewGetsFocus() local
2749 focusable[focusableIndex] = true; in removeFocusableItemAndFocusableRecyclerViewGetsFocus()
2756 mGridView.setSelectedPositionSmooth(focusableIndex); in removeFocusableItemAndFocusableRecyclerViewGetsFocus()
2760 assertEquals(focusableIndex, mGridView.getSelectedPosition()); in removeFocusableItemAndFocusableRecyclerViewGetsFocus()
2765 mActivity.removeItems(focusableIndex, 1); in removeFocusableItemAndFocusableRecyclerViewGetsFocus()
2775 final int focusableIndex = 2; in removeFocusableItemAndUnFocusableRecyclerViewLosesFocus() local
2788 focusable[focusableIndex] = true; in removeFocusableItemAndUnFocusableRecyclerViewLosesFocus()
2797 mGridView.setSelectedPositionSmooth(focusableIndex); in removeFocusableItemAndUnFocusableRecyclerViewLosesFocus()
2801 assertEquals(focusableIndex, mGridView.getSelectedPosition()); in removeFocusableItemAndUnFocusableRecyclerViewLosesFocus()
2806 mActivity.removeItems(focusableIndex, 1); in removeFocusableItemAndUnFocusableRecyclerViewLosesFocus()