/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragDriver.java | 30 protected final EventListener mEventListener; field in DragDriver 41 mEventListener = eventListener; in DragDriver() 141 mEventListener.onDriverDragMove(event.getX(), event.getY()); in onDragEvent() 147 mEventListener.onDriverDragMove(event.getX(), event.getY()); in onDragEvent() 148 mEventListener.onDriverDragEnd(mLastX, mLastY); in onDragEvent() 151 mEventListener.onDriverDragExitWindow(); in onDragEvent() 155 mEventListener.onDriverDragCancel(); in onDragEvent() 182 mEventListener.onDriverDragMove(mDragController.getX(ev), in onTouchEvent() 186 mEventListener.onDriverDragMove(mDragController.getX(ev), in onTouchEvent() 188 mEventListener.onDriverDragEnd(mDragController.getX(ev), in onTouchEvent() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | FileSourceEventDetector.java | 54 private final EventListener mEventListener; field in FileSourceEventDetector 60 mEventListener = listener; in FileSourceEventDetector() 161 if (tunerChannel != null && mEventListener != null) { 162 mEventListener.onEventDetected(tunerChannel, items); 218 if (mEventListener != null) { 219 mEventListener.onChannelDetected(tunerChannel, !found); 253 if (mEventListener != null) { 254 mEventListener.onChannelDetected(tunerChannel, !found);
|
D | TunerTsStreamerManager.java | 188 private final EventListener mEventListener; field in TunerTsStreamerManager.TsStreamerCreator 197 mEventListener = listener; in TsStreamerCreator() 214 TunerTsStreamer tsStreamer = new TunerTsStreamer(hal, mEventListener, mContext); in create()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | PowerHalServiceUnitTest.java | 126 private final PowerEventListenerImpl mEventListener = new PowerEventListenerImpl(); field in PowerHalServiceUnitTest 142 mPowerHalService.setListener(mEventListener); in setUp() 248 mPowerHalService.setListener(mEventListener); in testHalEventListenerPowerStateChange() 254 assertWithMessage("Current requested power state").that(mEventListener.getPowerState()) in testHalEventListenerPowerStateChange() 256 assertWithMessage("Current requested power param").that(mEventListener.getPowerParam()) in testHalEventListenerPowerStateChange() 272 mPowerHalService.setListener(mEventListener); in testHalEventListenerDisplayBrightnessChange() 279 assertWithMessage("Display brightness").that(mEventListener.getDisplayBrightness()) in testHalEventListenerDisplayBrightnessChange() 290 mPowerHalService.setListener(mEventListener); in testHalEventListenerDisplayBrightnessChange_non100MaxBrightness() 300 assertWithMessage("Display brightness").that(mEventListener.getDisplayBrightness()) in testHalEventListenerDisplayBrightnessChange_non100MaxBrightness() 311 mPowerHalService.setListener(mEventListener); in testPerDisplayBrightnessChange_perDisplayMaxNotSupported() [all …]
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitor.java | 114 private final EventListener mEventListener; field in UpstreamNetworkMonitor 140 mEventListener = listener; in UpstreamNetworkMonitor() 379 mEventListener.onUpstreamEvent(EVENT_ON_CAPABILITIES, uns); in handleNetCap() 412 mEventListener.onUpstreamEvent(EVENT_ON_LINKPROPERTIES, ns); in handleLinkProp() 439 mEventListener.onUpstreamEvent(EVENT_ON_LOST, mNetworkMap.remove(network)); in handleLost() 457 mEventListener.onUpstreamEvent(EVENT_DEFAULT_SWITCHED, ns); in maybeHandleNetworkSwitch() 464 mEventListener.onUpstreamEvent(NOTIFY_LOCAL_PREFIXES, localPrefixes.clone()); in recomputeLocalPrefixes() 553 mEventListener.onUpstreamEvent(EVENT_DEFAULT_SWITCHED, null); in onLost()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarTestService.java | 191 private FdEventListener mEventListener; field in CarTestService.NativePipe 201 mEventListener = new FdEventListener(mLooper); in NativePipe() 204 | OnFileDescriptorEventListener.EVENT_ERROR, mEventListener); in NativePipe() 232 return mEventListener.getOutput(); in getOutput()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | MpegTsDefaultAudioTrackRenderer.java | 105 private final EventListener mEventListener; field in MpegTsDefaultAudioTrackRenderer 142 mEventListener = listener; in MpegTsDefaultAudioTrackRenderer() 645 if (mEventHandler == null || mEventListener == null) { in notifyAudioTrackInitializationError() 648 mEventHandler.post(() -> mEventListener.onAudioTrackInitializationError(e)); in notifyAudioTrackInitializationError() 652 if (mEventHandler == null || mEventListener == null) { in notifyAudioTrackWriteError() 655 mEventHandler.post(() -> mEventListener.onAudioTrackWriteError(e)); in notifyAudioTrackWriteError()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunChannelScan.java | 50 private final ChannelScanListener mEventListener; field in HdHomeRunChannelScan 57 mEventListener = eventListener; in HdHomeRunChannelScan() 171 mEventListener.onChannelDetected( in readProgram()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/ |
D | RemoteSurfaceController.java | 91 private final Player.Listener mEventListener = new Player.Listener() { field in RemoteSurfaceController 148 mPlayer.addListener(mEventListener); in onPlayerCreate() 158 mPlayer.removeListener(mEventListener); in onPlayerRelease()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | ScanFragment.java | 569 private final EventDetector.EventListener mEventListener; field in ScanFragment.FakeTsStreamer 573 mEventListener = eventListener; in FakeTsStreamer() 583 mEventListener.onChannelDetected( in startStream()
|
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
D | ZappingTimeTest.java | 101 private MockChannelScanListener mEventListener = new MockChannelScanListener(); field in ZappingTimeTest 203 mEventListener); in setUp()
|
D | ZappingTimeTestExoV2.java | 108 private MockChannelScanListener mEventListener = new MockChannelScanListener(); field in ZappingTimeTestExoV2 228 mSourceManager.createDataSource(mTargetContext, mChannel, mEventListener); in handleMessageStartPlayback()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 322 private UpstreamNetworkMonitor.EventListener mEventListener; field in TetheringTest 463 mEventListener = listener; in makeUpstreamNetworkMonitor() 1186 mEventListener.onUpstreamEvent(UpstreamNetworkMonitor.EVENT_ON_LINKPROPERTIES, in workingMobileUsbTethering_v6Then464xlat() 2902 mEventListener.onUpstreamEvent(UpstreamNetworkMonitor.EVENT_ON_LINKPROPERTIES, upstream); in updateV4Upstream()
|