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/av/media/libstagefright/
DTimedEventQueue.cpp155 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/
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/av/media/libstagefright/include/
DTimedEventQueue.h93 bool (*predicate)(void *cookie, const sp<Event> &event),
/frameworks/base/core/java/android/widget/
DListView.java3633 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/
DView.java15373 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);
DViewGroup.java3262 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/
Dlayout_tests_failed.txt338 /sdcard/android/layout_tests/fast/xpath/attribute-node-predicate.html