Searched refs:targetPredicate (Results 1 – 2 of 2) sorted by relevance
44 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in findNodeOrAncestor() argument45 return findNodeOrAncestor(node, /* stopPredicate= */ null, targetPredicate); in findNodeOrAncestor()59 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in findNodeOrAncestor() argument63 if (targetPredicate.test(currentNode)) { in findNodeOrAncestor()81 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in depthFirstSearch() argument82 return depthFirstSearch(node, /* skipPredicate= */ null, targetPredicate); in depthFirstSearch()96 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in depthFirstSearch() argument100 if (targetPredicate.test(node)) { in depthFirstSearch()108 AccessibilityNodeInfo result = depthFirstSearch(child, skipPredicate, targetPredicate); in depthFirstSearch()125 @NonNull Predicate<AccessibilityNodeInfo> targetPredicate) { in reverseDepthFirstSearch() argument[all …]
632 @NonNull Predicate<View> targetPredicate, in depthFirstSearch() argument637 if (targetPredicate.test(view)) { in depthFirstSearch()644 View target = depthFirstSearch(child, targetPredicate, skipPredicate); in depthFirstSearch()