Home
last modified time | relevance | path

Searched refs:targetPredicate (Results 1 – 1 of 1) 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 …]