Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/utils/
DViewUtilsTest.java234 View firstFocusable = ViewUtils.findFirstFocusableDescendant(mRoot); in testFindFirstFocusableDescendant() local
235 assertThat(firstFocusable).isEqualTo(mFocusArea2); in testFindFirstFocusableDescendant()
243 View firstFocusable = ViewUtils.findFirstFocusableDescendant(mFocusArea2); in testFindFirstFocusableDescendant_skipItself() local
244 assertThat(firstFocusable).isEqualTo(mView2); in testFindFirstFocusableDescendant_skipItself()
253 View firstFocusable = ViewUtils.findFirstFocusableDescendant(mRoot); in testFindFirstFocusableDescendant_skipInvisibleAndGoneView() local
254 assertThat(firstFocusable).isEqualTo(mView4); in testFindFirstFocusableDescendant_skipInvisibleAndGoneView()
262 View firstFocusable = ViewUtils.findFirstFocusableDescendant(mFocusArea2); in testFindFirstFocusableDescendant_skipInvisibleAncestor() local
263 assertThat(firstFocusable).isNull(); in testFindFirstFocusableDescendant_skipInvisibleAncestor()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java1340 AccessibilityNodeInfo firstFocusable = mNavigator.findFirstFocusableDescendant(root); in restoreDefaultFocusInRoot() local
1341 if (firstFocusable == null) { in restoreDefaultFocusInRoot()
1345 boolean success = performFocusAction(firstFocusable); in restoreDefaultFocusInRoot()
1346 firstFocusable.recycle(); in restoreDefaultFocusInRoot()