Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/
DApplicationsState.java410 final MainHandler mMainHandler = new MainHandler(); field in ApplicationsState
596 if (!mMainHandler.hasMessages(MainHandler.MSG_REBUILD_COMPLETE, this)) { in handleRebuildList()
597 Message msg = mMainHandler.obtainMessage( in handleRebuildList()
599 mMainHandler.sendMessage(msg); in handleRebuildList()
782 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addPackage()
783 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in addPackage()
814 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removePackage()
815 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in removePackage()
919 Message msg = mMainHandler.obtainMessage(
921 mMainHandler.sendMessage(msg);
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DApplicationsState.java308 private final MainHandler mMainHandler = new MainHandler(); field in ApplicationsState
530 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addPackage()
531 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in addPackage()
552 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removePackage()
553 mMainHandler.sendEmptyMessage(MainHandler.MSG_PACKAGE_LIST_CHANGED); in removePackage()
629 Message msg = mMainHandler.obtainMessage(
631 mMainHandler.sendMessage(msg);
662 Message m = mMainHandler.obtainMessage( in handleMessage()
664 mMainHandler.sendMessage(m); in handleMessage()
700 Message m = mMainHandler.obtainMessage( in handleMessage()
[all …]
/packages/apps/Camera/src/com/android/camera/
DPanoramaModule.java149 private Handler mMainHandler; field in PanoramaModule
288 mMainHandler = new Handler() { in init()
440 mMainHandler.removeMessages(MSG_CONFIG_MOSAIC_PREVIEW); in configMosaicPreview()
441 mMainHandler.obtainMessage(MSG_CONFIG_MOSAIC_PREVIEW, w, h).sendToTarget(); in configMosaicPreview()
481 mMainHandler.sendEmptyMessage(MSG_RESET_TO_PREVIEW); in configMosaicPreview()
604 mMainHandler.sendMessage(mMainHandler.obtainMessage( in stopCapture()
607 mMainHandler.sendMessage(mMainHandler.obtainMessage( in stopCapture()
811 mMainHandler.sendEmptyMessage(MSG_END_DIALOG_RESET_TO_PREVIEW); in saveHighResMosaic()
813 mMainHandler.sendEmptyMessage(MSG_GENERATE_FINAL_MOSAIC_ERROR); in saveHighResMosaic()
821 mMainHandler.sendMessage( in saveHighResMosaic()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java257 private Handler mMainHandler; field in CaptureModule
310 mMainHandler = new Handler(activity.getMainLooper()); in init()
428 mMainHandler.post(new Runnable() { in onQuickExpose()
540 mMainHandler.postDelayed(mResumeTaskRunnable, ON_RESUME_TASKS_DELAY_MSEC); in resume()
590 mMainHandler.removeCallbacksAndMessages(null); in pause()
756 mMainHandler.removeCallbacks(mHideAutoFocusTargetRunnable);
758 mMainHandler.postDelayed(new Runnable() {
761 mMainHandler.post(mHideAutoFocusTargetRunnable);
806 mMainHandler.removeCallbacks(mHideAutoFocusTargetRunnable);
807 mMainHandler.post(new Runnable() {
[all …]
DCameraActivity.java220 private Handler mMainHandler; field in CameraActivity
1057 mCameraController.setOneShotPreviewCallback(mMainHandler, in setupOneShotPreviewListener()
1250 mMainHandler.removeMessages(MSG_CLEAR_SCREEN_ON_FLAG); in enableKeepScreenOn()
1360 mMainHandler = new MainHandler(this, getMainLooper()); in onCreate()
1361 mCameraController = new CameraController(mAppContext, this, mMainHandler, in onCreate()
1365 mMainHandler); in onCreate()
1437 mOrientationManager.addOnOrientationChangeListener(mMainHandler, this); in onCreate()
1797 mMainHandler.removeCallbacks(mLightsOutRunnable); in onResume()
1798 mMainHandler.postDelayed(mLightsOutRunnable, LIGHTS_OUT_DELAY_MS); in onResume()
2512 mMainHandler.removeMessages(MSG_CLEAR_SCREEN_ON_FLAG); in keepScreenOnForAWhile()
[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/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManagerImpl.java336 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in CaptureSessionManagerImpl
425 mMainHandler.post(new Runnable() { in notifyTaskQueued()
442 mMainHandler.post(new Runnable() { in notifyTaskDone()
459 mMainHandler.post(new Runnable() { in notifyTaskFailed()
476 mMainHandler.post(new Runnable() { in notifyTaskProgress()
493 mMainHandler.post(new Runnable() { in notifyTaskProgressText()
510 mMainHandler.post(new Runnable() { in notifySessionPreviewAvailable()
539 mMainHandler.post(new Runnable() { in fillTemporarySession()
/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/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java112 private Handler mMainHandler; field in AggregationSuggestionEngine
123 mMainHandler = new Handler() { in AggregationSuggestionEngine()
331mMainHandler.sendMessage(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/Contacts/src/com/android/contacts/
DContactSaveService.java153 private Handler mMainHandler; field in ContactSaveService
158 mMainHandler = new Handler(Looper.getMainLooper()); in ContactSaveService()
1105 mMainHandler.post(new Runnable() { in showToast()
1115 mMainHandler.post(new Runnable() { in deliverCallback()