Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java167 AccessibilityNodeInfo currentFocusArea = getAncestorFocusArea(sourceNode); in findRotateTarget() local
193 if (nextCandidate != null && currentFocusArea != null in findRotateTarget()
194 && currentFocusArea.equals(candidateFocusArea) in findRotateTarget()
417 @NonNull AccessibilityNodeInfo currentFocusArea, in findNudgeTargetFocusArea() argument
429 if (focusArea.equals(currentFocusArea)) { in findNudgeTargetFocusArea()
448 if (Utils.isFocusArea(currentFocusArea)) { in findNudgeTargetFocusArea()
449 currentFocusAreaBounds = Utils.getBoundsInScreen(currentFocusArea); in findNudgeTargetFocusArea()
458 L.d("currentFocusArea:" + currentFocusArea); in findNudgeTargetFocusArea()
463 currentFocusArea.recycle(); in findNudgeTargetFocusArea()
464 currentFocusArea = getAncestorFocusArea(sourceNode); in findNudgeTargetFocusArea()
[all …]
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java886 AccessibilityNodeInfo currentFocusArea = createNode("focus_area1"); in test_findNudgeTargetFocusArea_fromScrollableContainer() local
898 .setParent(currentFocusArea) in test_findNudgeTargetFocusArea_fromScrollableContainer()
913 windows, sourceNode, currentFocusArea, direction); in test_findNudgeTargetFocusArea_fromScrollableContainer()