Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java148 AccessibilityNodeInfo currentFocusArea = getAncestorFocusArea(sourceNode); in findRotateTarget()
163 nextCandidate == null ? null : getAncestorFocusArea(nextCandidate); in findRotateTarget()
722 AccessibilityNodeInfo sourceFocusArea = getAncestorFocusArea(sourceNode); in chooseBestNudgeCandidate()
816 AccessibilityNodeInfo getAncestorFocusArea(@NonNull AccessibilityNodeInfo node) { in getAncestorFocusArea() method in Navigator
DUtils.java373 AccessibilityNodeInfo focusArea = getAncestorFocusArea(node); in getBoundsInScreen()
384 private static AccessibilityNodeInfo getAncestorFocusArea(@NonNull AccessibilityNodeInfo node) { in getAncestorFocusArea() method in Utils
DRotaryService.java2268 mFocusArea = mFocusedNode == null ? null : mNavigator.getAncestorFocusArea(mFocusedNode); in setFocusedNodeInternal()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/utils/
DViewUtilsTest.java108 mRoot.post(() -> assertThat(ViewUtils.getAncestorFocusArea(mView2)).isEqualTo(mFocusArea2)); in testGetAncestorFocusArea()
113 mRoot.post(() -> assertThat(ViewUtils.getAncestorFocusArea(mFocusArea2)).isNull()); in testGetAncestorFocusArea_doesNotReturnItself()
118 mRoot.post(() -> assertThat(ViewUtils.getAncestorFocusArea(mFpv)).isNull()); in testGetAncestorFocusArea_outsideFocusArea()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/
DViewUtils.java159 public static FocusArea getAncestorFocusArea(@NonNull View view) { in getAncestorFocusArea() method in ViewUtils
412 FocusArea parent = getAncestorFocusArea(view); in isDefaultFocus()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java1194 AccessibilityNodeInfo result1 = mNavigator.getAncestorFocusArea(button1); in testGetAncestorFocusArea()
1198 AccessibilityNodeInfo result2 = mNavigator.getAncestorFocusArea(button2); in testGetAncestorFocusArea()
1202 AccessibilityNodeInfo result3 = mNavigator.getAncestorFocusArea(button3); in testGetAncestorFocusArea()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
DFocusArea.java298 mPreviousFocusArea = ViewUtils.getAncestorFocusArea(oldFocus); in maybeUpdatePreviousFocusArea()
315 FocusArea oldFocusArea = ViewUtils.getAncestorFocusArea(oldFocus); in maybeClearFocusAreaHistory()