Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/
DViewUtils.java145 FocusParkingView fpv = (FocusParkingView) depthFirstSearch(root, in hideFocus()
499 View focusedView = ViewUtils.depthFirstSearch(root, in focusOnFirstRegularView()
513 View focusedView = ViewUtils.depthFirstSearch(root, in focusOnScrollableContainer()
554 return depthFirstSearch(view, in findFocusedByDefaultView()
586 return depthFirstSearch(view, in findFirstFocusableDescendant()
598 return depthFirstSearch(view, in findFirstSelectedFocusableDescendant()
609 return depthFirstSearch(view, in findRotaryContainer()
620 return (LazyLayoutView) depthFirstSearch(view, in findLazyLayoutView()
631 private static View depthFirstSearch(@NonNull View view, in depthFirstSearch() method in ViewUtils
644 View target = depthFirstSearch(child, targetPredicate, skipPredicate); in depthFirstSearch()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DTreeTraverserTest.java160 AccessibilityNodeInfo result = mTreeTraverser.depthFirstSearch( in testDepthFirstSearch()
173 result = mTreeTraverser.depthFirstSearch(mNode0, /* skipPredicate= */ null, in testDepthFirstSearch()
179 result = mTreeTraverser.depthFirstSearch(mNode0, /* skipPredicate= */ null, in testDepthFirstSearch()
185 result = mTreeTraverser.depthFirstSearch(mNode0, /* skipPredicate= */ null, in testDepthFirstSearch()
193 result = mTreeTraverser.depthFirstSearch(mNode0, in testDepthFirstSearch()
209 result = mTreeTraverser.depthFirstSearch(mNode0, in testDepthFirstSearch()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DTreeTraverser.java80 AccessibilityNodeInfo depthFirstSearch(@NonNull AccessibilityNodeInfo node, in depthFirstSearch() method in TreeTraverser
82 return depthFirstSearch(node, /* skipPredicate= */ null, targetPredicate); in depthFirstSearch()
94 AccessibilityNodeInfo depthFirstSearch(@NonNull AccessibilityNodeInfo node, in depthFirstSearch() method in TreeTraverser
108 AccessibilityNodeInfo result = depthFirstSearch(child, skipPredicate, targetPredicate); in depthFirstSearch()
DNavigator.java365 return mTreeTraverser.depthFirstSearch( in findFocusParkingViewInRoot()
379 return mTreeTraverser.depthFirstSearch(root, /* targetPredicate= */ Utils::isSurfaceView); in findSurfaceViewInRoot()
488 AccessibilityNodeInfo focusableDescendant = mTreeTraverser.depthFirstSearch(webView, in containsWebViewWithFocusableDescendants()
589 return mTreeTraverser.depthFirstSearch(clientNode, this::isHostNode); in getDescendantHostRoot()
677 return mTreeTraverser.depthFirstSearch(node, in findFirstFocusableDescendant()
757 AccessibilityNodeInfo candidate = mTreeTraverser.depthFirstSearch(node, in isCandidate()
900 return mTreeTraverser.depthFirstSearch(webView, in findFirstFocusableDescendantInWebView()
937 return mTreeTraverser.depthFirstSearch(webView,