Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java152 List<AccessibilityNodeInfo> candidateNodes = new ArrayList<>(); in findNudgeTarget() local
153 addFocusDescendants(targetFocusArea, candidateNodes); in findNudgeTarget()
157 chooseBestNudgeCandidate(sourceNode, candidateNodes, direction); in findNudgeTarget()
159 Utils.recycleNodes(candidateNodes); in findNudgeTarget()
236 List<AccessibilityNodeInfo> candidateNodes = new ArrayList<>(); in findHunNudgeTarget() local
237 addFocusDescendants(targetFocusArea, candidateNodes); in findHunNudgeTarget()
239 chooseBestNudgeCandidate(sourceNode, candidateNodes, direction); in findHunNudgeTarget()
240 if (bestCandidate == null && !candidateNodes.isEmpty()) { in findHunNudgeTarget()
241 bestCandidate = copyNode(candidateNodes.get(0)); in findHunNudgeTarget()
243 Utils.recycleNodes(candidateNodes); in findHunNudgeTarget()