Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java165 @NonNull AccessibilityNodeInfo sourceNode, int direction, int rotationCount) { in findRotateTarget()
167 AccessibilityNodeInfo currentFocusArea = getAncestorFocusArea(sourceNode); in findRotateTarget()
168 AccessibilityNodeInfo candidate = copyNode(sourceNode); in findRotateTarget()
245 if (sourceNode.equals(target)) { in findRotateTarget()
416 @NonNull AccessibilityNodeInfo sourceNode, in findNudgeTargetFocusArea() argument
419 AccessibilityWindowInfo currentWindow = sourceNode.getWindow(); in findNudgeTargetFocusArea()
457 L.d("sourceNode:" + sourceNode); in findNudgeTargetFocusArea()
459 AccessibilityNodeInfo root = getRoot(sourceNode); in findNudgeTargetFocusArea()
464 currentFocusArea = getAncestorFocusArea(sourceNode); in findNudgeTargetFocusArea()
470 || shouldNudgeOutOfIme(sourceNode, currentFocusArea, candidateFocusAreas, in findNudgeTargetFocusArea()
[all …]
DRotaryService.java1153 @Nullable AccessibilityNodeInfo sourceNode) { in handleViewFocusedEvent() argument
1160 if (sourceNode == null) { in handleViewFocusedEvent()
1164 AccessibilityWindowInfo window = sourceNode.getWindow(); in handleViewFocusedEvent()
1175 if (mNavigator.isClientNode(sourceNode)) { in handleViewFocusedEvent()
1176 L.d("Ignore focused event from the client app " + sourceNode); in handleViewFocusedEvent()
1187 if (Utils.isFocusParkingView(sourceNode)) { in handleViewFocusedEvent()
1189 && sourceNode.getWindowId() == mFocusedNode.getWindowId()) { in handleViewFocusedEvent()
1195 setFocusedNode(sourceNode); in handleViewFocusedEvent()
1202 if (!sourceNode.equals(mPendingFocusedNode)) { in handleViewFocusedEvent()
1214 @Nullable AccessibilityNodeInfo sourceNode) { in handleViewClickedEvent() argument
[all …]
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java895 AccessibilityNodeInfo sourceNode = mNodeBuilder in test_findNudgeTargetFocusArea_fromScrollableContainer() local
905 .setParent(sourceNode) in test_findNudgeTargetFocusArea_fromScrollableContainer()
913 windows, sourceNode, currentFocusArea, direction); in test_findNudgeTargetFocusArea_fromScrollableContainer()