Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java911 AccessibilityNodeInfo targetFocusArea = createNode("focus_area2"); in test_findNudgeTargetFocusArea_fromScrollableContainer() local
914 assertThat(result).isEqualTo(targetFocusArea); in test_findNudgeTargetFocusArea_fromScrollableContainer()
1096 AccessibilityNodeInfo targetFocusArea = in testFindNudgeTargetFocusArea3() local
1098 assertThat(targetFocusArea).isEqualTo(focusArea2); in testFindNudgeTargetFocusArea3()
1193 AccessibilityNodeInfo targetFocusArea = in testFindNudgeTargetFocusArea4() local
1195 assertThat(targetFocusArea).isEqualTo(focusArea1); in testFindNudgeTargetFocusArea4()
1289 AccessibilityNodeInfo targetFocusArea = in testFindNudgeTargetFocusArea5() local
1291 assertThat(targetFocusArea).isNull(); in testFindNudgeTargetFocusArea5()
1350 AccessibilityNodeInfo targetFocusArea = in testFindNudgeTargetFocusArea6() local
1352 assertThat(targetFocusArea).isEqualTo(root); in testFindNudgeTargetFocusArea6()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java1667 AccessibilityNodeInfo targetFocusArea = in nudgeTo() local
1669 L.d("Found targetFocusArea: " + targetFocusArea); in nudgeTo()
1671 if (targetFocusArea == null) { in nudgeTo()
1707 if (mEditNode != null && mFocusArea.getWindowId() != targetFocusArea.getWindowId()) { in nudgeTo()
1722 targetFocusArea.recycle(); in nudgeTo()
1731 if (Utils.isFocusArea(targetFocusArea)) { in nudgeTo()
1734 boolean success = performFocusAction(targetFocusArea, arguments); in nudgeTo()
1735 L.successOrFailure("Nudging to the nearest FocusArea " + targetFocusArea, success); in nudgeTo()
1736 targetFocusArea.recycle(); in nudgeTo()
1746 AccessibilityNodeInfo firstOrphan = mNavigator.findFirstOrphan(targetFocusArea); in nudgeTo()
[all …]
DNavigator.java494 AccessibilityNodeInfo targetFocusArea = chooseBestNudgeCandidate(sourceBounds, in findNudgeTargetFocusArea() local
497 return targetFocusArea; in findNudgeTargetFocusArea()