Searched defs:predicate (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
H A D | Predicates.java | 76 public static <T> Predicate<T> not(Predicate<? super T> predicate) { argument 77 return new NotPredicate<T>(predicate); 88 for (Predicate<? super T> predicate : components) { 89 if (!predicate.apply(t)) { 105 for (Predicate<? super T> predicate : components) { 106 if (predicate.apply(t)) { 115 private final Predicate<? super T> predicate; field in class:Predicates.NotPredicate 117 private NotPredicate(Predicate<? super T> predicate) { argument 118 this.predicate = predicate; [all...] |
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestGrouping.java | 169 private <T> List<T> select(Collection<T> items, Predicate<T> predicate) { argument 172 if (predicate.apply(item)) {
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsProvider.java | 306 private void purgeByAuthority(Predicate<String> predicate) { argument 318 if (stack.root != null && predicate.apply(stack.root.authority)) { 334 if (predicate.apply(authority)) { 352 if (stack.root != null && predicate.apply(stack.root.authority)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
H A D | DozeService.java | 176 rescheduleNotificationPulse(false /*predicate*/); // cancel any pending pulse alarms 361 rescheduleNotificationPulse(true /*predicate*/); 373 private void rescheduleNotificationPulse(boolean predicate) { argument 374 if (DEBUG) Log.d(mTag, "rescheduleNotificationPulse predicate=" + predicate); 377 if (!predicate) { 378 if (DEBUG) Log.d(mTag, " don't reschedule: predicate is false");
|
/frameworks/base/core/java/android/widget/ |
H A D | ListView.java | 3718 protected View findViewByPredicateTraversal(Predicate<View> predicate, View childToSkip) { argument 3720 v = super.findViewByPredicateTraversal(predicate, childToSkip); 3722 v = findViewByPredicateInHeadersOrFooters(mHeaderViewInfos, predicate, childToSkip); 3727 v = findViewByPredicateInHeadersOrFooters(mFooterViewInfos, predicate, childToSkip); 3738 * the predicate. 3741 Predicate<View> predicate, View childToSkip) { 3750 v = v.findViewByPredicate(predicate); 3740 findViewByPredicateInHeadersOrFooters(ArrayList<FixedViewInfo> where, Predicate<View> predicate, View childToSkip) argument
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 3664 protected View findViewByPredicateTraversal(Predicate<View> predicate, View childToSkip) { argument 3665 if (predicate.apply(this)) { 3676 v = v.findViewByPredicate(predicate);
|
H A D | View.java | 17049 * @param predicate The predicate to evaluate. 17051 * @return The first view that matches the predicate or null. 17053 protected View findViewByPredicateTraversal(Predicate<View> predicate, View childToSkip) { argument 17054 if (predicate.apply(this)) { 17125 * Look for a child view that matches the specified predicate. 17126 * If this view matches the predicate, return this view. 17128 * @param predicate The predicate to evaluate. 17129 * @return The first view that matches the predicate o 17131 findViewByPredicate(Predicate<View> predicate) argument 17151 findViewByPredicateInsideOut(View start, Predicate<View> predicate) argument [all...] |
Completed in 6647 milliseconds