Home
last modified time | relevance | path

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

12

/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()
DFileSourceEventDetector.java30 import com.android.tv.tuner.ts.EventDetector.EventListener;
54 private final EventListener mEventListener;
59 public FileSourceEventDetector(EventListener listener, boolean enableDvbSignal) { in FileSourceEventDetector()
DTsDataSourceManager.java24 import com.android.tv.tuner.ts.EventDetector.EventListener;
85 Context context, TunerChannel channel, EventListener eventListener) { in createDataSource()
DFileTsStreamer.java29 import com.android.tv.tuner.ts.EventDetector.EventListener;
144 public FileTsStreamer(EventListener eventListener, Context context) { in FileTsStreamer()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java38 import com.android.documentsui.base.EventListener;
70 private List<EventListener<Update>> mUpdateListeners = new ArrayList<>();
79 public void addUpdateListener(EventListener<Update> listener) { in addUpdateListener()
83 public void removeUpdateListener(EventListener<Update> listener) { in removeUpdateListener()
88 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()
95 for (EventListener<Update> handler: mUpdateListeners) { in notifyUpdateListeners()
DBaseActivity.java106 private final List<EventListener> mEventListeners = new ArrayList<>();
777 public void addEventListener(EventListener listener) { in addEventListener()
782 public void removeEventListener(EventListener listener) { in removeEventListener()
788 for (EventListener listener : mEventListeners) { in notifyDirectoryLoaded()
796 for (EventListener listener : mEventListeners) { in notifyDirectoryNavigated()
848 addEventListener(new EventListener() { in addListenerForLaunchCompletion()
878 protected interface EventListener { interface in BaseActivity
DFocusManager.java48 import com.android.documentsui.base.EventListener;
601 private EventListener<Model.Update> mModelListener = new EventListener<Model.Update>() {
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java34 import com.android.documentsui.base.EventListener;
60 private EventListener<Model.Update> mModelUpdateListener;
68 mModelUpdateListener = new EventListener<Model.Update>() { in ModelBackedDocumentsAdapter()
81 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
DDirectoryAddonsAdapter.java26 import com.android.documentsui.base.EventListener;
43 private final EventListener<Update> mModelUpdateListener;
67 EventListener<Update> getModelUpdateListener() { in getModelUpdateListener()
DDocumentsAdapter.java29 import com.android.documentsui.base.EventListener;
58 abstract EventListener<Model.Update> getModelUpdateListener(); in getModelUpdateListener()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragDriver.java31 protected final EventListener mEventListener;
33 public interface EventListener { interface in DragDriver
40 public DragDriver(EventListener eventListener) { in DragDriver()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesActivityPerfTest.java29 import com.android.documentsui.BaseActivity.EventListener;
83 EventListener listener; in testFilesListedPerformance()
86 listener = new EventListener() { in testFilesListedPerformance()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java103 public interface EventListener { interface in BluetoothDevicePairer
258 private EventListener mListener;
277 public BluetoothDevicePairer(Context context, EventListener listener) { in BluetoothDevicePairer()
433 public void setListener(EventListener listener) { in setListener()
/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/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/services/Car/tests/carservice_test/src/com/android/car/
DCarCabinManagerTest.java145 mCarCabinManager.registerCallback(new EventListener()); in testEvent()
213 private class EventListener implements CarCabinEventCallback { class in CarCabinManagerTest
214 EventListener() { } in EventListener() method in CarCabinManagerTest.EventListener
DCarHvacManagerTest.java169 mCarHvacManager.registerCallback(new EventListener()); in testEvent()
252 private class EventListener implements CarHvacEventCallback { class in CarHvacManagerTest
253 EventListener() { } in EventListener() method in CarHvacManagerTest.EventListener
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsMediaCodecAudioTrackRenderer.java36 public interface Ac3EventListener extends EventListener {
50 EventListener eventListener) { in MpegTsMediaCodecAudioTrackRenderer()
DMpegTsDefaultAudioTrackRenderer.java72 public interface EventListener { interface in MpegTsDefaultAudioTrackRenderer
105 private final EventListener mEventListener;
138 EventListener listener) { in MpegTsDefaultAudioTrackRenderer()
/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/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java26 import com.android.tv.tuner.ts.EventDetector.EventListener;
55 Context context, EventListener eventListener, HdHomeRunTunerHal hal) { in HdHomeRunChannelScan()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java277 implements EventDetector.EventListener, ChannelDataManager.ChannelHandlingDoneListener {
569 private final EventDetector.EventListener mEventListener;
572 FakeTsStreamer(EventDetector.EventListener eventListener) { in FakeTsStreamer()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DEventListener.java23 public interface EventListener<T> { interface

12