Home
last modified time | relevance | path

Searched refs:mEventHandler (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/media/java/android/media/
DRemoteControlClient.java240 mEventHandler = new EventHandler(this, looper); in RemoteControlClient()
242 mEventHandler = new EventHandler(this, looper); in RemoteControlClient()
244 mEventHandler = null; in RemoteControlClient()
267 mEventHandler = new EventHandler(this, looper); in RemoteControlClient()
629 if (mEventHandler != null) {
631 mEventHandler.removeMessages(MSG_NEW_INTERNAL_CLIENT_GEN);
632 mEventHandler.dispatchMessage(
633 mEventHandler.obtainMessage(
638 mEventHandler.removeMessages(MSG_REQUEST_PLAYBACK_STATE);
639 mEventHandler.removeMessages(MSG_REQUEST_METADATA);
[all …]
DSoundPool.java114 private EventHandler mEventHandler; field in SoundPool
423 mEventHandler = new EventHandler(this, looper); in setOnLoadCompleteListener()
425 mEventHandler = new EventHandler(this, looper); in setOnLoadCompleteListener()
427 mEventHandler = null; in setOnLoadCompleteListener()
430 mEventHandler = null; in setOnLoadCompleteListener()
470 if (soundPool.mEventHandler != null) { in postEventFromNative()
471 Message m = soundPool.mEventHandler.obtainMessage(msg, arg1, arg2, obj); in postEventFromNative()
472 soundPool.mEventHandler.sendMessage(m); in postEventFromNative()
DMediaRecorder.java90 private EventHandler mEventHandler; field in MediaRecorder
101 mEventHandler = new EventHandler(this, looper); in MediaRecorder()
103 mEventHandler = new EventHandler(this, looper); in MediaRecorder()
105 mEventHandler = null; in MediaRecorder()
682 mEventHandler.removeCallbacksAndMessages(null); in reset()
920 if (mr.mEventHandler != null) { in postEventFromNative()
921 Message m = mr.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
922 mr.mEventHandler.sendMessage(m); in postEventFromNative()
DJetPlayer.java106 private NativeEventHandler mEventHandler = null; field in JetPlayer
479 mEventHandler = new NativeEventHandler(this, handler.getLooper()); in setEventListener()
482 mEventHandler = new NativeEventHandler(this, mInitializationLooper); in setEventListener()
485 mEventHandler = null; in setEventListener()
566 if ((jet != null) && (jet.mEventHandler != null)) { in postEventFromNative()
568 jet.mEventHandler.obtainMessage(what, arg1, arg2, null); in postEventFromNative()
569 jet.mEventHandler.sendMessage(m); in postEventFromNative()
DAudioRecord.java179 private NativeEventHandler mEventHandler = null; field in AudioRecord
650 mEventHandler = new NativeEventHandler(this, handler.getLooper()); in setRecordPositionUpdateListener()
653 mEventHandler = new NativeEventHandler(this, mInitializationLooper); in setRecordPositionUpdateListener()
656 mEventHandler = null; in setRecordPositionUpdateListener()
769 if (recorder.mEventHandler != null) { in postEventFromNative()
771 recorder.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
772 recorder.mEventHandler.sendMessage(m); in postEventFromNative()
DMediaPlayer.java539 private EventHandler mEventHandler; field in MediaPlayer
555 mEventHandler = new EventHandler(this, looper); in MediaPlayer()
557 mEventHandler = new EventHandler(this, looper); in MediaPlayer()
559 mEventHandler = null; in MediaPlayer()
1186 mEventHandler.removeCallbacksAndMessages(null); in reset()
1602 if (mp.mEventHandler != null) { in postEventFromNative()
1603 Message m = mp.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
1604 mp.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java64 private EventHandler mEventHandler; field in SurfaceTexture
113 mEventHandler = new EventHandler(looper); in SurfaceTexture()
115 mEventHandler = new EventHandler(looper); in SurfaceTexture()
117 mEventHandler = null; in SurfaceTexture()
243 if (st.mEventHandler != null) { in postEventFromNative()
244 Message m = st.mEventHandler.obtainMessage(); in postEventFromNative()
245 st.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/core/java/android/webkit/
DWebIconDatabase.java44 private final EventHandler mEventHandler = new EventHandler(); field in WebIconDatabase
206 mEventHandler.postMessage( in open()
215 mEventHandler.postMessage( in close()
223 mEventHandler.postMessage( in removeAllIcons()
239 mEventHandler.postMessage(msg); in requestIconForPageUrl()
254 if (mEventHandler.hasHandler()) { in bulkRequestIconForPageUrl()
262 mEventHandler.postMessage(msg); in bulkRequestIconForPageUrl()
272 mEventHandler.postMessage( in retainIconForPageUrl()
283 mEventHandler.postMessage( in releaseIconForPageUrl()
307 mEventHandler.createHandler(); in createHandler()
DWebSettings.java152 private final EventHandler mEventHandler; field in WebSettings
381 mEventHandler = new EventHandler(); in WebSettings()
1669 mEventHandler.sendMessage(Message.obtain(null, in setRenderPriority()
1823 mEventHandler.sendMessage(Message.obtain(null, in setDoubleTapToastCount()
1863 mEventHandler.createHandler(); in syncSettingsAndCreateHandler()
1887 mSyncPending = mEventHandler.sendMessage( in postSync()
/frameworks/base/core/java/android/net/http/
DRequest.java55 EventHandler mEventHandler; field in Request
115 mEventHandler = eventHandler; in Request()
163 return mEventHandler; in getEventHandler()
262 mEventHandler.status(v.getMajor(), v.getMinor(), in readResponse()
264 mEventHandler.headers(header); in readResponse()
322 mEventHandler.data(buf, count); in readResponse()
332 mEventHandler.data(buf, count); in readResponse()
342 mEventHandler.data(buf, count); in readResponse()
354 mEventHandler.endData(); in readResponse()
523 mEventHandler.error( in error()
DHttpsConnection.java276 req.mEventHandler.status(version.getMajor(), in openConnection()
280 req.mEventHandler.headers(headers); in openConnection()
281 req.mEventHandler.endData(); in openConnection()
DConnection.java229 req.mEventHandler.certificate(mCertificate); in processRequests()
445 req.mEventHandler.error(errorId, error); in httpFailure()
DRequestHandle.java454 mUrl, mUri, mMethod, mHeaders, mRequest.mEventHandler, in createAndQueueNewRequest()
462 mUrl, mUri, mMethod, mHeaders, mRequest.mEventHandler, in createAndQueueNewRequest()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java110 private EventHandler mEventHandler; field in DrmManagerClient
248 mEventHandler = new EventHandler(eventThread.getLooper()); in DrmManagerClient()
456 if (null != mEventHandler) { in processDrmInfo()
457 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo); in processDrmInfo()
458 result = (mEventHandler.sendMessage(msg)) ? ERROR_NONE : result; in processDrmInfo()
662 if (null != mEventHandler) { in removeAllRights()
663 Message msg = mEventHandler.obtainMessage(ACTION_REMOVE_ALL_RIGHTS); in removeAllRights()
664 result = (mEventHandler.sendMessage(msg)) ? ERROR_NONE : result; in removeAllRights()
/frameworks/base/core/java/android/hardware/
DCamera.java144 private EventHandler mEventHandler; field in Camera
295 mEventHandler = new EventHandler(this, looper); in Camera()
297 mEventHandler = new EventHandler(this, looper); in Camera()
299 mEventHandler = null; in Camera()
754 if (c.mEventHandler != null) { in postEventFromNative()
755 Message m = c.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
756 c.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
DVideoEditorPreviewTest.java92 private EventHandler mEventHandler; field in VideoEditorPreviewTest
109 mEventHandler = new EventHandler(looper); in VideoEditorPreviewTest()
179 mEventHandler.sendMessage(mEventHandler.obtainMessage(1, 2, 3)); in validatePreviewProgress()