Searched defs:mEventHandler (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/media/java/android/media/
H A DSRTRenderer.java24 private final Handler mEventHandler; field in class:SRTRenderer
32 SRTRenderer(Context mContext, Handler mEventHandler) { argument
34 this.mRender = (mEventHandler == null);
35 this.mEventHandler = mEventHandler;
59 return new SRTTrack(mEventHandler, format);
71 private final Handler mEventHandler; field in class:SRTTrack
75 mEventHandler = null;
80 mEventHandler = eventHandler;
164 if (mEventHandler
[all...]
H A DSoundPool.java518 private EventHandler mEventHandler; field in class:SoundPool.SoundPoolImpl
659 mEventHandler = new EventHandler(mProxy, looper);
661 mEventHandler = new EventHandler(mProxy, looper);
663 mEventHandler = null;
666 mEventHandler = null;
706 if (soundPoolImpl.mEventHandler != null) {
707 Message m = soundPoolImpl.mEventHandler.obtainMessage(msg, arg1, arg2, obj);
708 soundPoolImpl.mEventHandler.sendMessage(m);
H A DJetPlayer.java106 private NativeEventHandler mEventHandler = null; field in class:JetPlayer
481 mEventHandler = new NativeEventHandler(this, handler.getLooper());
484 mEventHandler = new NativeEventHandler(this, mInitializationLooper);
487 mEventHandler = null;
568 if ((jet != null) && (jet.mEventHandler != null)) {
570 jet.mEventHandler.obtainMessage(what, arg1, arg2, null);
571 jet.mEventHandler.sendMessage(m);
H A DAudioRecord.java177 private NativeEventHandler mEventHandler = null; field in class:AudioRecord
783 mEventHandler = new NativeEventHandler(this, handler.getLooper());
786 mEventHandler = new NativeEventHandler(this, mInitializationLooper);
789 mEventHandler = null;
908 if (recorder.mEventHandler != null) {
910 recorder.mEventHandler.obtainMessage(what, arg1, arg2, obj);
911 recorder.mEventHandler.sendMessage(m);
H A DMediaDrm.java103 private EventHandler mEventHandler; field in class:MediaDrm
170 mEventHandler = new EventHandler(this, looper);
172 mEventHandler = new EventHandler(this, looper);
174 mEventHandler = null;
339 if (md.mEventHandler != null) {
340 Message m = md.mEventHandler.obtainMessage(DRM_EVENT, eventType, extra, obj);
341 md.mEventHandler.sendMessage(m);
H A DMediaRecorder.java91 private EventHandler mEventHandler; field in class:MediaRecorder
102 mEventHandler = new EventHandler(this, looper);
104 mEventHandler = new EventHandler(this, looper);
106 mEventHandler = null;
791 mEventHandler.removeCallbacksAndMessages(null);
1035 if (mr.mEventHandler != null) {
1036 Message m = mr.mEventHandler.obtainMessage(what, arg1, arg2, obj);
1037 mr.mEventHandler.sendMessage(m);
H A DRemoteControlClient.java356 mEventHandler = new EventHandler(this, looper);
358 mEventHandler = new EventHandler(this, looper);
360 mEventHandler = null;
383 mEventHandler = new EventHandler(this, looper);
715 if ((mEventHandler == null) || (mPositionProvider == null) || !mNeedsPositionSync) {
733 mEventHandler.sendMessageDelayed(
734 mEventHandler.obtainMessage(MSG_POSITION_DRIFT_CHECK),
739 mEventHandler.removeMessages(MSG_POSITION_DRIFT_CHECK);
860 if ((mPositionProvider != null) && (mEventHandler != null)
864 mEventHandler
1005 private EventHandler mEventHandler; field in class:RemoteControlClient
[all...]
H A DRemoteController.java128 mEventHandler = new EventHandler(this, looper);
132 mEventHandler = new EventHandler(this, l);
568 sendMsg(rc.mEventHandler, MSG_NEW_PENDING_INTENT, SENDMSG_REPLACE,
572 sendMsg(rc.mEventHandler, MSG_CLIENT_CHANGE, SENDMSG_REPLACE,
582 sendMsg(rc.mEventHandler, MSG_DISPLAY_ENABLE, SENDMSG_REPLACE,
607 sendMsg(rc.mEventHandler, MSG_NEW_PLAYBACK_INFO, SENDMSG_REPLACE,
623 sendMsg(rc.mEventHandler, MSG_NEW_TRANSPORT_INFO, SENDMSG_REPLACE,
642 sendMsg(rc.mEventHandler, MSG_NEW_METADATA, SENDMSG_QUEUE,
660 sendMsg(rc.mEventHandler, MSG_NEW_METADATA, SENDMSG_QUEUE,
686 sendMsg(rc.mEventHandler, MSG_NEW_METADAT
736 private final EventHandler mEventHandler; field in class:RemoteController
[all...]
H A DMediaCodec.java329 private EventHandler mEventHandler; field in class:MediaCodec
478 mEventHandler = new EventHandler(this, looper);
480 mEventHandler = new EventHandler(this, looper);
482 mEventHandler = null;
631 if (mEventHandler != null) {
632 mEventHandler.removeMessages(EVENT_CALLBACK);
633 mEventHandler.removeMessages(EVENT_SET_CALLBACK);
1607 if (mEventHandler != null) {
1609 Message msg = mEventHandler.obtainMessage(EVENT_SET_CALLBACK, 0, 0, cb);
1610 mEventHandler
[all...]
H A DMediaFocusControl.java78 private final MediaEventHandler mEventHandler; field in class:MediaFocusControl
89 mEventHandler = new MediaEventHandler(looper);
135 super(mEventHandler);
234 sendMsg(mEventHandler, MSG_REEVALUATE_RCD, SENDMSG_QUEUE, 0, 0, null, 0);
273 sendMsg(mEventHandler, MSG_RCDISPLAY_INIT_INFO, SENDMSG_QUEUE,
899 null, mKeyEventDone, mEventHandler, Activity.RESULT_OK, null, null);
924 keyIntent, this, mEventHandler);
939 mEventHandler, Activity.RESULT_OK, null, null);
1500 mEventHandler.sendMessage( mEventHandler
[all...]
H A DMediaPlayer.java600 private EventHandler mEventHandler; field in class:MediaPlayer
619 mEventHandler = new EventHandler(this, looper);
621 mEventHandler = new EventHandler(this, looper);
623 mEventHandler = null;
1516 if (mEventHandler != null) {
1517 mEventHandler.removeCallbacksAndMessages(null);
2034 if (mEventHandler != null) {
2035 Message m = mEventHandler.obtainMessage(MEDIA_INFO, res, 0, null);
2036 mEventHandler.sendMessage(m);
2220 mSubtitleController.registerRenderer(new SRTRenderer(context, mEventHandler));
3098 private Handler mEventHandler; field in class:MediaPlayer.TimeProvider
[all...]
/frameworks/base/core/java/android/net/http/
H A DRequest.java52 EventHandler mEventHandler; field in class:Request
112 mEventHandler = eventHandler;
160 return mEventHandler;
259 mEventHandler.status(v.getMajor(), v.getMinor(),
261 mEventHandler.headers(header);
319 mEventHandler.data(buf, count);
329 mEventHandler.data(buf, count);
339 mEventHandler.data(buf, count);
351 mEventHandler.endData();
520 mEventHandler
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java101 private EventStreamTransformation mEventHandler; field in class:AccessibilityInputFilter
162 if (mEventHandler == null) {
169 mEventHandler.clear();
178 mEventHandler.clear();
281 if (mEventHandler != null) {
284 mEventHandler.onMotionEvent(transformedEvent, event, policyFlags);
326 if (mEventHandler != null) {
327 mEventHandler.onAccessibilityEvent(event);
335 mEventHandler = mScreenMagnifier = new ScreenMagnifier(mContext,
337 mEventHandler
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DRttService.java393 private WifiNative.RttEventHandler mEventHandler = new WifiNative.RttEventHandler() { field in class:RttService.RttServiceImpl
404 if (WifiNative.requestRtt(request.params, mEventHandler)) {
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicy.java112 mEventHandler = new EventHandler(this, looper);
114 mEventHandler = null;
439 private final EventHandler mEventHandler; field in class:AudioPolicy
480 if (mEventHandler != null) {
481 mEventHandler.sendEmptyMessage(msg);
486 if (mEventHandler != null) {
487 mEventHandler.sendMessage(
488 mEventHandler.obtainMessage(msg, i /*arg1*/, 0 /*arg2, ignored*/, obj));
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h359 EventHandler& mEventHandler; member in class:android::HWComposer
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java123 private EventHandler mEventHandler; field in class:DrmManagerClient
284 if (mEventHandler != null) {
292 mEventHandler = null;
503 if (null != mEventHandler) {
504 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo);
505 result = (mEventHandler.sendMessage(msg)) ? ERROR_NONE : result;
730 if (null != mEventHandler) {
731 Message msg = mEventHandler.obtainMessage(ACTION_REMOVE_ALL_RIGHTS);
732 result = (mEventHandler.sendMessage(msg)) ? ERROR_NONE : result;
904 if (mEventHandler
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java1756 if (p.mEventHandler.getLooper().isCurrentThread()) {
1763 Message msg = Message.obtain(p.mEventHandler, p);
1790 p.mEventHandler = handler;
1864 public Handler mEventHandler; field in class:TvInputManager.Session.PendingEvent
1871 mEventHandler = null;
1879 synchronized (mEventHandler) {
/frameworks/base/core/java/android/hardware/
H A DCamera.java159 private EventHandler mEventHandler; field in class:Camera
457 mEventHandler = new EventHandler(this, looper);
459 mEventHandler = new EventHandler(this, looper);
461 mEventHandler = null;
1172 if (c.mEventHandler != null) {
1173 Message m = c.mEventHandler.obtainMessage(what, arg1, arg2, obj);
1174 c.mEventHandler.sendMessage(m);
1293 mEventHandler.removeMessages(CAMERA_MSG_FOCUS);

Completed in 384 milliseconds