Home
last modified time | relevance | path

Searched refs:mMainHandler (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManagerImpl.java70 mMainHandler.execute(new Runnable() { in notifyTaskQueued()
88 mMainHandler.execute(new Runnable() { in notifyTaskDone()
108 mMainHandler.execute(new Runnable() { in notifyTaskFailed()
123 mMainHandler.execute(new Runnable() { in notifyTaskCanceled()
142 mMainHandler.execute(new Runnable() { in notifyTaskProgress()
160 mMainHandler.execute(new Runnable() { in notifyTaskProgressText()
178 mMainHandler.execute(new Runnable() { in notifySessionUpdated()
201 mMainHandler.execute(new Runnable() { in notifySessionCaptureIndicatorAvailable()
215 mMainHandler.execute(new Runnable() { in notifySessionThumbnailAvailable()
230 mMainHandler.execute(new Runnable() { in notifySessionPictureDataAvailable()
[all …]
/packages/apps/DevCamera/src/com/android/devcamera/
DDevCameraActivity.java82 private Handler mMainHandler; field in DevCameraActivity
220 mMainHandler = new Handler(this.getApplicationContext().getMainLooper()); in onCreate()
292 mMainHandler.removeCallbacks(mReturnToCafRunnable); in doAFScan()
293 mMainHandler.postDelayed(mReturnToCafRunnable, AF_TRIGGER_HOLD_MILLIS); in doAFScan()
375 mMainHandler.removeCallbacks(mReturnToCafRunnable); in onStop()
388 mMainHandler.post(new Runnable() { in setNoiseEdgeText()
399 mMainHandler.post(new Runnable() { in setNoiseEdgeTextForReprocessing()
423 mMainHandler.post(new Runnable() { in jpegAvailable()
433 mMainHandler.post(new Runnable() { in jpegAvailable()
444 mMainHandler.post(new Runnable() { in receivedFirstFrame()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java161 private Handler mMainHandler; field in PanoramaActivity
298 mMainHandler = new Handler() { in onCreate()
628 mMainHandler.sendMessage(mMainHandler.obtainMessage( in stopCapture()
631 mMainHandler.sendMessage(mMainHandler.obtainMessage( in stopCapture()
848 mMainHandler.sendEmptyMessage(MSG_RESET_TO_PREVIEW); in saveHighResMosaic()
850 mMainHandler.sendEmptyMessage(MSG_GENERATE_FINAL_MOSAIC_ERROR); in saveHighResMosaic()
873 mMainHandler.sendMessage( in saveHighResMosaic()
874 mMainHandler.obtainMessage(MSG_RESET_TO_PREVIEW_WITH_THUMBNAIL)); in saveHighResMosaic()
1152 mMainHandler.removeMessages(MSG_CLEAR_SCREEN_DELAY); in resetScreenOn()
1157 mMainHandler.removeMessages(MSG_CLEAR_SCREEN_DELAY); in keepScreenOnAwhile()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DMdnsDiscovery.java58 private final Handler mMainHandler; field in MdnsDiscovery
71 mMainHandler = new Handler(printService.getMainLooper()); in MdnsDiscovery()
138 mMainHandler.removeCallbacksAndMessages(null); in onStop()
168 mMainHandler.post(() -> allPrintersLost()); in onDiscoveryStopped()
182 mMainHandler.post(() -> { in onServiceLost()
204 mMainHandler.post(() -> printerFound(printer)); in onServiceResolved()
DNsdResolveQueue.java44 private final Handler mMainHandler; field in NsdResolveQueue
56 mMainHandler = new Handler(context.getMainLooper()); in NsdResolveQueue()
123 mMainHandler.post(() -> { in onResolveFailed()
136 mMainHandler.post(() -> { in onServiceResolved()
/packages/apps/Camera2/src/com/android/camera/util/
DQuickActivity.java65 private Handler mMainHandler; field in QuickActivity
113 mMainHandler = new Handler(getMainLooper()); in onCreate()
140 mMainHandler.removeCallbacks(mOnResumeTasks); in onResume()
147 mMainHandler.postDelayed(mOnResumeTasks, delay); in onResume()
161 mMainHandler.removeCallbacks(mOnResumeTasks); in onPause()
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java55 private final Handler mMainHandler; field in LocalPrintJob
68 mMainHandler = new Handler(printService.getMainLooper()); in LocalPrintJob()
97 mMainHandler.postDelayed(() -> { in start()
158 mMainHandler.removeCallbacksAndMessages(null); in handleCapabilities()
210 mMainHandler.removeCallbacksAndMessages(null); in finish()
DBuiltInPrintService.java51 private Handler mMainHandler; field in BuiltInPrintService
82 mMainHandler = new Handler(getMainLooper()); in onCreate()
95 mMainHandler.removeCallbacksAndMessages(null); in onDestroy()
141 return mMainHandler; in getMainHandler()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java140 private final Handler mMainHandler; field in PhotoDataAdapter
189 mMainHandler = new SynchronizedHandler(activity.getGLRoot()) { in PhotoDataAdapter()
488 mMainHandler.sendEmptyMessage(MSG_UPDATE_IMAGE_REQUESTS); in setNeedFullImage()
863 mMainHandler.sendMessage( in onFutureDone()
864 mMainHandler.obtainMessage(MSG_RUN_OBJECT, this)); in onFutureDone()
885 mMainHandler.sendMessage( in onFutureDone()
886 mMainHandler.obtainMessage(MSG_RUN_OBJECT, this)); in onFutureDone()
914 mMainHandler.sendMessage( in executeAndWait()
915 mMainHandler.obtainMessage(MSG_RUN_OBJECT, task)); in executeAndWait()
1019 mMainHandler.sendEmptyMessage(loading ? MSG_LOAD_START : MSG_LOAD_FINISH); in updateLoading()
DAlbumDataLoader.java67 private final Handler mMainHandler; field in AlbumDataLoader
87 mMainHandler = new SynchronizedHandler(context.getGLRoot()) { in AlbumDataLoader()
224 mMainHandler.sendMessage( in executeAndWait()
225 mMainHandler.obtainMessage(MSG_RUN_OBJECT, task)); in executeAndWait()
347 mMainHandler.sendEmptyMessage(loading ? MSG_LOAD_START : MSG_LOAD_FINISH); in updateLoading()
DAlbumSetDataLoader.java73 private final Handler mMainHandler; field in AlbumSetDataLoader
87 mMainHandler = new SynchronizedHandler(activity.getGLRoot()) { in AlbumSetDataLoader()
315 mMainHandler.sendMessage( in executeAndWait()
316 mMainHandler.obtainMessage(MSG_RUN_OBJECT, task)); in executeAndWait()
335 mMainHandler.sendEmptyMessage(loading ? MSG_LOAD_START : MSG_LOAD_FINISH); in updateLoading()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateBaseBridge.java37 protected final MainHandler mMainHandler; field in AppStateBaseBridge
48 mMainHandler = new MainHandler(); in AppStateBaseBridge()
137 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
150 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppStateBaseBridge.java37 protected final MainHandler mMainHandler; field in AppStateBaseBridge
48 mMainHandler = new MainHandler(); in AppStateBaseBridge()
137 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
150 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java246 private Handler mMainHandler; field in CameraActivity
1112 mCameraController.setOneShotPreviewCallback(mMainHandler, in setupOneShotPreviewListener()
1238 mMainHandler.post(new Runnable() { in indicateCapture()
1319 mMainHandler.removeMessages(MSG_CLEAR_SCREEN_ON_FLAG); in enableKeepScreenOn()
1435 mMainHandler = new MainHandler(this, getMainLooper()); in onCreateTasks()
1437 mOrientationManager = new OrientationManagerImpl(this, mMainHandler); in onCreateTasks()
1480 mCameraController = new CameraController(mAppContext, this, mMainHandler, in onCreateTasks()
1487 new CameraExceptionHandler(mCameraExceptionCallback, mMainHandler)); in onCreateTasks()
2093 mMainHandler.removeCallbacks(mLightsOutRunnable); in resume()
2094 mMainHandler.postDelayed(mLightsOutRunnable, LIGHTS_OUT_DELAY_MS); in resume()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java107 private Handler mMainHandler; field in AggregationSuggestionEngine
119 mMainHandler = new Handler() { in AggregationSuggestionEngine()
332 mMainHandler.sendMessage( in loadAggregationSuggestions()
333 mMainHandler.obtainMessage(MESSAGE_DATA_CURSOR, dataCursor)); in loadAggregationSuggestions()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DActionModeHandler.java79 private final Handler mMainHandler; field in ActionModeHandler
130 mMainHandler = new Handler(activity.getMainLooper()); in ActionModeHandler()
412 mMainHandler.post(new Runnable() { in updateSupportedOperation()
451 mMainHandler.post(new Runnable() { in updateSupportedOperation()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java86 private final Handler mMainHandler; field in RecommendationDataManager
190 mMainHandler = new RecommendationMainHandler(Looper.getMainLooper(), this); in RecommendationDataManager()
255 mMainHandler.removeCallbacksAndMessages(null); in stop()
523 mMainHandler.post(r); in runOnMainThread()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DBackend.java57 private final Handler mMainHandler; field in Backend
67 mMainHandler = new Handler(context.getMainLooper()); in Backend()
185 mMainHandler.post(() -> { in jobCallback()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DMockedCarTestBase.java65 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in MockedCarTestBase
168 mMainHandler.post(r); in runOnMain()
172 mMainHandler.post(new Runnable() { in runOnMainSync()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java126 private final Handler mMainHandler; field in MpegTsPlayer
159 mMainHandler = handler; in MpegTsPlayer()
501 return mMainHandler; in getMainHandler()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java204 private Handler mMainHandler; field in ContactSaveService
211 mMainHandler = new Handler(Looper.getMainLooper()); in ContactSaveService()
1230 mMainHandler.post(new Runnable() { in deleteMultipleContacts()
1779 mMainHandler.post(new Runnable() { in showToast()
1792 mMainHandler.post(new Runnable() { in showToast()
1802 mMainHandler.post(new Runnable() { in deliverCallback()