Home
last modified time | relevance | path

Searched refs:mMainHandler (Results 1 – 15 of 15) 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/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/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/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/Gallery2/src/com/android/gallery3d/app/
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()
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()
/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/editor/
DAggregationSuggestionEngine.java113 private Handler mMainHandler; field in AggregationSuggestionEngine
126 mMainHandler = new Handler() { in AggregationSuggestionEngine()
354mMainHandler.sendMessage(mMainHandler.obtainMessage(MESSAGE_DATA_CURSOR, dataCursor)); in loadAggregationSuggestions()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java96 private final Handler mMainHandler; field in RecommendationDataManager
199 mMainHandler = new RecommendationMainHandler(Looper.getMainLooper(), this); in RecommendationDataManager()
265 mMainHandler.removeCallbacksAndMessages(null); in stop()
528 mMainHandler.post(r); in runOnMainThread()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/
DMpegTsPlayer.java125 private final Handler mMainHandler; field in MpegTsPlayer
151 mMainHandler = handler; in MpegTsPlayer()
329 return mMainHandler; in getMainHandler()
/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/services/Car/tests/carservice_test/src/com/android/car/test/
DCarPowerManagementTest.java54 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in CarPowerManagementTest
62 mDisplayManager.registerDisplayListener(mDisplayListener, mMainHandler); in setUp()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java159 private Handler mMainHandler; field in ContactSaveService
164 mMainHandler = new Handler(Looper.getMainLooper()); in ContactSaveService()
1106 mMainHandler.post(new Runnable() { in deleteMultipleContacts()
1368 mMainHandler.post(new Runnable() { in showToast()
1378 mMainHandler.post(new Runnable() { in deliverCallback()