Home
last modified time | relevance | path

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

12

/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/
DDirectManipulationHandler.java76 private EventListener mCenterButtonDelegate;
77 private EventListener mBackDelegate;
93 public Builder setCenterButtonHandler(EventListener centerButtonDelegate) { in setCenterButtonHandler()
100 public Builder setBackHandler(EventListener backDelegate) { in setBackHandler()
125 private final EventListener mCenterButtonDelegate;
126 private final EventListener mBackDelegate;
131 @Nullable EventListener centerButtonDelegate, in DirectManipulationHandler()
132 @Nullable EventListener backDelegate, in DirectManipulationHandler()
215 public interface EventListener { interface in DirectManipulationHandler
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java54 private final List<EventListener> mEventListeners = new ArrayList<>();
119 for (EventListener eventListener : mEventListeners) {
133 for (EventListener eventListener : mEventListeners) {
184 for (EventListener eventListener : mEventListeners) {
224 for (EventListener eventListener : mEventListeners) {
232 public interface EventListener extends com.android.tv.tuner.api.ChannelScanListener { interface in EventDetector
334 public void registerListener(EventListener eventListener) { in registerListener()
348 public void unregisterListener(EventListener eventListener) { in unregisterListener()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java31 import com.android.tv.tuner.ts.EventDetector.EventListener;
65 private final List<Pair<EventListener, Boolean>> mEventListenerActions = new ArrayList<>();
157 public TunerTsStreamer(Tuner tunerHal, EventListener eventListener, Context context) { in TunerTsStreamer()
169 public TunerTsStreamer(Tuner tunerHal, EventListener eventListener) { in TunerTsStreamer()
320 public void registerListener(EventListener listener) { in registerListener()
328 public void unregisterListener(EventListener listener) { in unregisterListener()
356 EventListener listener = (EventListener) listenerAction.first; in run()
DTunerTsStreamerManager.java26 import com.android.tv.tuner.ts.EventDetector.EventListener;
49 private final Map<Integer, EventListener> mListeners = new HashMap<>();
62 EventListener listener, in createDataSource()
109 EventListener listener = mListeners.remove(sessionId); in releaseDataSource()
188 private final EventListener mEventListener;
194 private TsStreamerCreator(Context context, TunerChannel channel, EventListener listener) { in TsStreamerCreator()
DTsDataSourceManager.java24 import com.android.tv.tuner.ts.EventDetector.EventListener;
85 Context context, TunerChannel channel, EventListener eventListener) { in createDataSource()
DFileSourceEventDetector.java30 import com.android.tv.tuner.ts.EventDetector.EventListener;
54 private final EventListener mEventListener;
59 public FileSourceEventDetector(EventListener listener, boolean enableDvbSignal) { in FileSourceEventDetector()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java36 import com.android.documentsui.base.EventListener;
69 private List<EventListener<Update>> mUpdateListeners = new ArrayList<>();
78 public void addUpdateListener(EventListener<Update> listener) { in addUpdateListener()
82 public void removeUpdateListener(EventListener<Update> listener) { in removeUpdateListener()
87 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()
94 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()
DBaseActivity.java111 private final List<EventListener> mEventListeners = new ArrayList<>();
938 public void addEventListener(EventListener listener) { in addEventListener()
943 public void removeEventListener(EventListener listener) { in removeEventListener()
949 for (EventListener listener : mEventListeners) { in notifyDirectoryLoaded()
957 for (EventListener listener : mEventListeners) { in notifyDirectoryNavigated()
1009 addEventListener(new EventListener() { in addListenerForLaunchCompletion()
1039 protected interface EventListener { interface in BaseActivity
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesActivityPerfTest.java30 import com.android.documentsui.BaseActivity.EventListener;
83 EventListener listener; in testFilesListedPerformance()
86 listener = new EventListener() { in testFilesListedPerformance()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java35 import com.android.documentsui.base.EventListener;
63 private EventListener<Model.Update> mModelUpdateListener;
73 mModelUpdateListener = new EventListener<Model.Update>() { in ModelBackedDocumentsAdapter()
86 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
DDocumentsAdapter.java30 import com.android.documentsui.base.EventListener;
59 abstract EventListener<Model.Update> getModelUpdateListener(); in getModelUpdateListener()
DDirectoryAddonsAdapter.java29 import com.android.documentsui.base.EventListener;
48 private final EventListener<Update> mModelUpdateListener;
88 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DBottomSheetDialer.java7 import java.util.EventListener;
13 public class BottomSheetDialer extends BottomSheetDialog implements EventListener {
DBottomSheetAudioCodecSettings.java12 import java.util.EventListener;
19 public class BottomSheetAudioCodecSettings extends BottomSheetDialog implements EventListener {
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEventListener.java24 import com.android.documentsui.base.EventListener;
32 public class TestEventListener<T> implements EventListener<T> {
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragDriver.java30 protected final EventListener mEventListener;
33 public interface EventListener { interface in DragDriver
40 public DragDriver(EventListener eventListener, Consumer<MotionEvent> sec) { in DragDriver()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarHvacManagerTest.java187 mCarHvacManager.registerCallback(new EventListener()); in testEvent()
240 EventListener listener = new EventListener(); in testUnregisterCallback()
321 private class EventListener implements CarHvacEventCallback { class in CarHvacManagerTest
322 EventListener() { } in EventListener() method in CarHvacManagerTest.EventListener
DCarCabinManagerTest.java145 mCarCabinManager.registerCallback(new EventListener()); in testEvent()
211 private class EventListener implements CarCabinEventCallback { class in CarCabinManagerTest
212 EventListener() { } in EventListener() method in CarCabinManagerTest.EventListener
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsMediaCodecAudioTrackRenderer.java36 public interface Ac3EventListener extends EventListener {
50 EventListener eventListener) { in MpegTsMediaCodecAudioTrackRenderer()
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/
DRemoteAuthConnectionCache.java27 import com.android.server.remoteauth.connectivity.EventListener;
102 new EventListener() { in getConnection()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java27 import com.android.documentsui.base.EventListener;
88 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java110 public interface EventListener { interface in BluetoothDevicePairer
280 private EventListener mListener;
301 public BluetoothDevicePairer(Context context, EventListener listener) { in BluetoothDevicePairer()
477 public void setListener(EventListener listener) { in setListener()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java34 import com.android.tv.tuner.ts.EventDetector.EventListener;
54 MediaCodecVideoTrackRenderer.EventListener,
55 MpegTsDefaultAudioTrackRenderer.EventListener,
230 EventListener eventListener) { in prepare()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DEventListener.java23 public interface EventListener<T> { interface
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/connectivity/
DEventListener.java22 public interface EventListener { interface

12