Searched refs:predicate (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | Predicates.java | 76 public static <T> Predicate<T> not(Predicate<? super T> predicate) { in not() argument 77 return new NotPredicate<T>(predicate); in not() 88 for (Predicate<? super T> predicate : components) { in apply() 89 if (!predicate.apply(t)) { in apply() 105 for (Predicate<? super T> predicate : components) { in apply() 106 if (predicate.apply(t)) { in apply() 115 private final Predicate<? super T> predicate; field in Predicates.NotPredicate 117 private NotPredicate(Predicate<? super T> predicate) { in NotPredicate() argument 118 this.predicate = predicate; in NotPredicate() 122 return !predicate.apply(t); in apply()
|
/frameworks/av/media/libstagefright/ |
D | TimedEventQueue.cpp | 155 bool (*predicate)(void *cookie, const sp<Event> &event), in cancelEvents() 162 if (!(*predicate)(cookie, (*it).event)) { in cancelEvents()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestSuiteBuilder.java | 252 for (Predicate<TestMethod> predicate : predicates) { in satisfiesAllPredicates() 253 if (!predicate.apply(test)) { in satisfiesAllPredicates()
|
D | TestGrouping.java | 169 private <T> List<T> select(Collection<T> items, Predicate<T> predicate) { in select() argument 172 if (predicate.apply(item)) { in select()
|
/frameworks/av/media/libstagefright/include/ |
D | TimedEventQueue.h | 93 bool (*predicate)(void *cookie, const sp<Event> &event),
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 3633 protected View findViewByPredicateTraversal(Predicate<View> predicate, View childToSkip) { 3635 v = super.findViewByPredicateTraversal(predicate, childToSkip); 3637 v = findViewByPredicateInHeadersOrFooters(mHeaderViewInfos, predicate, childToSkip); 3642 v = findViewByPredicateInHeadersOrFooters(mFooterViewInfos, predicate, childToSkip); 3656 Predicate<View> predicate, View childToSkip) { 3665 v = v.findViewByPredicate(predicate);
|
/frameworks/base/core/java/android/view/ |
D | View.java | 15373 protected View findViewByPredicateTraversal(Predicate<View> predicate, View childToSkip) { 15374 if (predicate.apply(this)) { 15451 public final View findViewByPredicate(Predicate<View> predicate) { 15452 return findViewByPredicateTraversal(predicate, null); 15471 public final View findViewByPredicateInsideOut(View start, Predicate<View> predicate) { 15474 View view = start.findViewByPredicateTraversal(predicate, childToSkip);
|
D | ViewGroup.java | 3262 protected View findViewByPredicateTraversal(Predicate<View> predicate, View childToSkip) { in findViewByPredicateTraversal() argument 3263 if (predicate.apply(this)) { in findViewByPredicateTraversal() 3274 v = v.findViewByPredicate(predicate); in findViewByPredicateTraversal()
|
/frameworks/base/tests/DumpRenderTree/assets/results/ |
D | layout_tests_failed.txt | 338 /sdcard/android/layout_tests/fast/xpath/attribute-node-predicate.html
|