Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DTreeTraverser.java44 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in findNodeOrAncestor() argument
45 return findNodeOrAncestor(node, /* stopPredicate= */ null, targetPredicate); in findNodeOrAncestor()
59 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in findNodeOrAncestor() argument
63 if (targetPredicate.test(currentNode)) { in findNodeOrAncestor()
81 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in depthFirstSearch() argument
82 return depthFirstSearch(node, /* skipPredicate= */ null, targetPredicate); in depthFirstSearch()
96 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in depthFirstSearch() argument
100 if (targetPredicate.test(node)) { in depthFirstSearch()
108 AccessibilityNodeInfo result = depthFirstSearch(child, skipPredicate, targetPredicate); in depthFirstSearch()
125 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in reverseDepthFirstSearch() argument
[all …]
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/
DViewUtils.java632 @NonNull Predicate<View> targetPredicate, in depthFirstSearch() argument
637 if (targetPredicate.test(view)) { in depthFirstSearch()
644 View target = depthFirstSearch(child, targetPredicate, skipPredicate); in depthFirstSearch()