Home
last modified time | relevance | path

Searched refs:EventListener (Results 1 – 25 of 95) sorted by relevance

1234

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUNotifier.java12 import java.util.EventListener;
35 private List<EventListener> listeners;
44 public void addListener(EventListener l) { in addListener()
52 listeners = new ArrayList<EventListener>(); in addListener()
55 for (EventListener ll : listeners) { in addListener()
74 public void removeListener(EventListener l) { in removeListener()
81 Iterator<EventListener> iter = listeners.iterator(); in removeListener()
108 notifyThread.queue(listeners.toArray(new EventListener[listeners.size()])); in notifyChanged()
118 private final List<EventListener[]> queue = new ArrayList<EventListener[]>();
127 public void queue(EventListener[] list) { in queue()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUNotifier.java13 import java.util.EventListener;
37 private List<EventListener> listeners;
46 public void addListener(EventListener l) { in addListener()
54 listeners = new ArrayList<EventListener>(); in addListener()
57 for (EventListener ll : listeners) { in addListener()
76 public void removeListener(EventListener l) { in removeListener()
83 Iterator<EventListener> iter = listeners.iterator(); in removeListener()
110 notifyThread.queue(listeners.toArray(new EventListener[listeners.size()])); in notifyChanged()
120 private final List<EventListener[]> queue = new ArrayList<EventListener[]>();
129 public void queue(EventListener[] list) { in queue()
[all …]
/external/icu/icu4c/source/common/
Dservnotf.cpp21 EventListener::~EventListener() {} in ~EventListener()
22 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(EventListener)
41 ICUNotifier::addListener(const EventListener* l, UErrorCode& status) in addListener()
55 const EventListener* el = (const EventListener*)(listeners->elementAt(i)); in addListener()
74 ICUNotifier::removeListener(const EventListener *l, UErrorCode& status) in removeListener()
87 const EventListener* el = (const EventListener*)listeners->elementAt(i); in removeListener()
109 EventListener* el = (EventListener*)listeners->elementAt(i); in notifyChanged()
Dservnotf.h36 class U_COMMON_API EventListener : public UObject {
38 virtual ~EventListener();
89 virtual void addListener(const EventListener* l, UErrorCode& status);
96 virtual void removeListener(const EventListener* l, UErrorCode& status);
111 virtual UBool acceptsListener(const EventListener& l) const = 0;
116 virtual void notifyListener(EventListener& l) const = 0;
/external/icu/libicu/cts_headers/
Dservnotf.h36 class U_COMMON_API EventListener : public UObject {
38 virtual ~EventListener();
89 virtual void addListener(const EventListener* l, UErrorCode& status);
96 virtual void removeListener(const EventListener* l, UErrorCode& status);
111 virtual UBool acceptsListener(const EventListener& l) const = 0;
116 virtual void notifyListener(EventListener& l) const = 0;
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DFakePlayer.java29 private final ArrayList<Player.EventListener> listeners;
51 for (Player.EventListener listener : listeners) { in updateTimeline()
68 for (Player.EventListener listener : listeners) { in setPlayingContentPosition()
88 for (Player.EventListener listener : listeners) { in setPlayingAdPosition()
102 for (Player.EventListener listener : listeners) { in setState()
128 public void addListener(Player.EventListener listener) { in addListener()
133 public void removeListener(Player.EventListener listener) { in removeListener()
/external/perfetto/include/perfetto/ext/base/
Dunix_socket.h217 class EventListener {
219 virtual ~EventListener();
255 EventListener*,
263 EventListener*,
273 EventListener*,
282 EventListener*,
380 UnixSocket(EventListener*,
385 UnixSocket(EventListener*,
414 EventListener* const event_listener_;
/external/perfetto/include/perfetto/ext/ipc/
Dservice_proxy.h44 class EventListener {
46 virtual ~EventListener();
61 explicit ServiceProxy(EventListener*);
95 EventListener* const event_listener_;
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DAudioBecomingNoisyManager.java31 public interface EventListener { interface in AudioBecomingNoisyManager
35 public AudioBecomingNoisyManager(Context context, Handler eventHandler, EventListener listener) { in AudioBecomingNoisyManager()
59 private final EventListener listener;
62 public AudioBecomingNoisyReceiver(Handler eventHandler, EventListener listener) { in AudioBecomingNoisyReceiver()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestExoPlayer.java318 Player.EventListener listener = in runUntilPlaybackState()
319 new Player.EventListener() { in runUntilPlaybackState()
344 Player.EventListener listener = in runUntilPlayWhenReady()
345 new Player.EventListener() { in runUntilPlayWhenReady()
376 Player.EventListener listener = in runUntilTimelineChanged()
377 new Player.EventListener() { in runUntilTimelineChanged()
399 Player.EventListener listener = in runUntilPositionDiscontinuity()
400 new Player.EventListener() { in runUntilPositionDiscontinuity()
423 Player.EventListener listener = in runUntilError()
424 new Player.EventListener() { in runUntilError()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DBandwidthMeter.java29 interface EventListener { interface
63 void addEventListener(Handler eventHandler, EventListener eventListener); in addEventListener()
70 void removeEventListener(EventListener eventListener); in removeEventListener()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DExtractorMediaSource.java44 public interface EventListener { interface in ExtractorMediaSource
244 @Nullable EventListener eventListener) { in ExtractorMediaSource()
266 @Nullable EventListener eventListener, in ExtractorMediaSource()
298 @Nullable EventListener eventListener, in ExtractorMediaSource()
365 private final EventListener eventListener;
367 public EventListenerWrapper(EventListener eventListener) { in EventListenerWrapper()
DSingleSampleMediaSource.java43 public interface EventListener { interface in SingleSampleMediaSource
260 @Nullable EventListener eventListener, in SingleSampleMediaSource()
351 private final EventListener eventListener;
354 public EventListenerWrapper(EventListener eventListener, int eventSourceId) { in EventListenerWrapper()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTestSample.java12 import java.util.EventListener;
142 protected boolean acceptsListener(EventListener l) { in initRegistry()
145 protected void notifyListener(EventListener l) { in initRegistry()
162 public static interface HelloServiceListener extends EventListener {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceTestSample.java13 import java.util.EventListener;
145 protected boolean acceptsListener(EventListener l) { in initRegistry()
148 protected void notifyListener(EventListener l) { in initRegistry()
165 public static interface HelloServiceListener extends EventListener {
/external/perfetto/src/ipc/
Dvirtual_destructors.cc33 ServiceProxy::EventListener::~EventListener() = default;
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPDialogEventListener.java18 import java.util.EventListener;
27 public interface SIPDialogEventListener extends EventListener {
DSIPTransactionEventListener.java28 import java.util.EventListener;
37 public interface SIPTransactionEventListener extends EventListener {
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DThreadListener.java29 import java.util.EventListener;
31 interface ThreadListener extends EventListener {
DVMListener.java29 import java.util.EventListener;
31 interface VMListener extends EventListener {
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCacheDataSourceFactory.java32 @Nullable private final CacheDataSource.EventListener eventListener;
70 @Nullable CacheDataSource.EventListener eventListener) { in CacheDataSourceFactory()
91 @Nullable CacheDataSource.EventListener eventListener, in CacheDataSourceFactory()
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/mock/
DMockPropertyChangeListener.java20 import java.util.EventListener;
25 public interface MockPropertyChangeListener extends EventListener {
DMockPropertyChangeValidListener.java20 import java.util.EventListener;
22 public interface MockPropertyChangeValidListener extends EventListener {
/external/perfetto/src/base/
Dunix_socket.cc586 EventListener* event_listener, in Listen()
601 EventListener* event_listener, in Listen()
613 EventListener* event_listener, in Connect()
627 EventListener* event_listener, in AdoptConnected()
637 UnixSocket::UnixSocket(EventListener* event_listener, in UnixSocket()
650 UnixSocket::UnixSocket(EventListener* event_listener, in UnixSocket()
997 UnixSocket::EventListener::~EventListener() {} in ~EventListener()
998 void UnixSocket::EventListener::OnNewIncomingConnection( in OnNewIncomingConnection()
1001 void UnixSocket::EventListener::OnConnect(UnixSocket*, bool) {} in OnConnect()
1002 void UnixSocket::EventListener::OnDisconnect(UnixSocket*) {} in OnDisconnect()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdsLoader.java49 interface EventListener { interface
132 void start(EventListener eventListener, AdViewProvider adViewProvider); in start()

1234