Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/tests/robotests/src/com/android/car/rotary/
DTreeTraverserTest.java45 private TreeTraverser mTreeTraverser; field in TreeTraverserTest
56 mTreeTraverser = new TreeTraverser(); in setUp()
57 mTreeTraverser.setNodeCopier(mNodeCopier); in setUp()
105 AccessibilityNodeInfo result = mTreeTraverser.findNodeOrAncestor(node0, in testFindNodeOrAncestor()
110 result = mTreeTraverser.findNodeOrAncestor(node1, /* stopPredicate= */ null, in testFindNodeOrAncestor()
115 result = mTreeTraverser.findNodeOrAncestor(node2, /* stopPredicate= */ null, in testFindNodeOrAncestor()
120 result = mTreeTraverser.findNodeOrAncestor(node2, /* stopPredicate= */ null, in testFindNodeOrAncestor()
125 … result = mTreeTraverser.findNodeOrAncestor(node2, /* stopPredicate= */ node -> node == node1, in testFindNodeOrAncestor()
130 … result = mTreeTraverser.findNodeOrAncestor(node2, /* stopPredicate= */ node -> node == node0, in testFindNodeOrAncestor()
178 AccessibilityNodeInfo result = mTreeTraverser.depthFirstSearch( in testDepthFirstSearch()
[all …]
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java48 private final TreeTraverser mTreeTraverser = new TreeTraverser(); field in Navigator
359 mTreeTraverser.setNodeCopier(nodeCopier); in setNodeCopier()
385 return mTreeTraverser.depthFirstSearch(node, /* skipPredicate= */ Utils::isFocusArea, in findFocusParkingView()
434 return mTreeTraverser.depthFirstSearch(node, Utils::isFocusArea); in findFirstFocusArea()
443 return mTreeTraverser.depthFirstSearch(node, Utils::canTakeFocus); in findDepthFirstFocus()
592 return mTreeTraverser.findNodeOrAncestor(node, /* stopPredicate= */ Utils::isFocusArea, in findScrollableContainer()
659 return mTreeTraverser.depthFirstSearch(node, in findFirstFocusableDescendant()
670 return mTreeTraverser.reverseDepthFirstSearch(node, in findLastFocusableDescendant()
684 mTreeTraverser.depthFirstSelect(rootNode, Utils::isFocusArea, results); in addFocusAreas()
693 mTreeTraverser.depthFirstSelect(node, Utils::canTakeFocus, results); in addFocusDescendants()
[all …]