Home
last modified time | relevance | path

Searched refs:mMainHandler (Results 1 – 13 of 13) 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/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/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/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/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
47 mMainHandler = new MainHandler(); in AppStateBaseBridge()
136 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
149 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.java112 private Handler mMainHandler; field in AggregationSuggestionEngine
123 mMainHandler = new Handler() { in AggregationSuggestionEngine()
330mMainHandler.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/FMRadio/src/com/android/fmradio/views/
DFmScroller.java99 private Handler mMainHandler; field in FmScroller
198 mMainHandler = new Handler(Looper.getMainLooper()); in initialize()
220 mMainHandler.removeCallbacks(null); in initialize()
221 mMainHandler.postDelayed(new Runnable() { in initialize()
968 mMainHandler.removeCallbacks(null); in onRemoveFavorite()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java156 private Handler mMainHandler; field in ContactSaveService
161 mMainHandler = new Handler(Looper.getMainLooper()); in ContactSaveService()
1275 mMainHandler.post(new Runnable() { in showToast()
1285 mMainHandler.post(new Runnable() { in deliverCallback()