Home
last modified time | relevance | path

Searched refs:hasListeners (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava/src/com/google/common/util/concurrent/
DJdkFutureAdapters.java127 private final AtomicBoolean hasListeners = new AtomicBoolean(false); field in JdkFutureAdapters.ListenableFutureAdapter
152 if (hasListeners.compareAndSet(false, true)) { in addListener()
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeSupportTest.java516 assertFalse(sup.hasListeners("myProp")); in testHasListener_AllRegistered()
518 assertTrue(sup.hasListeners("myProp")); in testHasListener_AllRegistered()
520 assertFalse(sup.hasListeners("myProp")); in testHasListener_AllRegistered()
522 assertTrue(sup.hasListeners("myProp")); in testHasListener_AllRegistered()
537 assertFalse(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()
539 assertFalse(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()
541 assertTrue(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()
543 assertFalse(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()
546 assertTrue(sup.hasListeners("myProp")); in testHasListener_PropertyRegistered()
555 assertFalse(sup.hasListeners("myProp")); in testHasListener_None()
[all …]
/external/skia/include/views/
DSkEventSink.h67 bool hasListeners() const;
/external/skia/src/views/
DSkEventSink.cpp202 bool SkEventSink::hasListeners() const in hasListeners() function in SkEventSink
DSkWidgets.cpp117 if (!fEvent.isType("") && this->hasListeners())