Home
last modified time | relevance | path

Searched refs:predicate (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DPredicates.java76 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/base/media/libstagefright/
DTimedEventQueue.cpp160 bool (*predicate)(void *cookie, const sp<Event> &event), in cancelEvents()
167 if (!(*predicate)(cookie, (*it).event)) { in cancelEvents()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java252 for (Predicate<TestMethod> predicate : predicates) { in satisfiesAllPredicates()
253 if (!predicate.apply(test)) { in satisfiesAllPredicates()
DTestGrouping.java169 private <T> List<T> select(Collection<T> items, Predicate<T> predicate) { in select() argument
172 if (predicate.apply(item)) { in select()
/frameworks/base/media/libstagefright/include/
DTimedEventQueue.h93 bool (*predicate)(void *cookie, const sp<Event> &event),
/frameworks/base/core/java/android/widget/
DListView.java3523 protected View findViewByPredicateTraversal(Predicate<View> predicate, View childToSkip) {
3525 v = super.findViewByPredicateTraversal(predicate, childToSkip);
3527 v = findViewByPredicateInHeadersOrFooters(mHeaderViewInfos, predicate, childToSkip);
3532 v = findViewByPredicateInHeadersOrFooters(mFooterViewInfos, predicate, childToSkip);
3546 Predicate<View> predicate, View childToSkip) {
3555 v = v.findViewByPredicate(predicate);
/frameworks/base/core/java/android/view/
DView.java12109 protected View findViewByPredicateTraversal(Predicate<View> predicate, View childToSkip) {
12110 if (predicate.apply(this)) {
12185 public final View findViewByPredicate(Predicate<View> predicate) {
12186 return findViewByPredicateTraversal(predicate, null);
12205 public final View findViewByPredicateInsideOut(View start, Predicate<View> predicate) {
12208 View view = start.findViewByPredicateTraversal(predicate, childToSkip);
DViewGroup.java3120 protected View findViewByPredicateTraversal(Predicate<View> predicate, View childToSkip) { in findViewByPredicateTraversal() argument
3121 if (predicate.apply(this)) { in findViewByPredicateTraversal()
3132 v = v.findViewByPredicate(predicate); in findViewByPredicateTraversal()
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_failed.txt338 /sdcard/android/layout_tests/fast/xpath/attribute-node-predicate.html