Home
last modified time | relevance | path

Searched refs:mMainHandler (Results 1 – 25 of 25) 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/services/Car/service/src/com/android/car/user/
DCarUserNoticeService.java81 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in CarUserNoticeService
117 mMainHandler.post(() -> {
132 mMainHandler.post(() -> stopUi(/* clearUiShown= */ true));
135 mMainHandler.post(() -> startNoticeUiIfNecessary());
165 mMainHandler.post(() -> stopUi(/* clearUiShown= */ false));
228 mMainHandler.removeCallbacks(mKeyguardPollingRunnable); in checkKeyguardLockedWithPolling()
239 mMainHandler.postDelayed(mKeyguardPollingRunnable, KEYGUARD_POLLING_INTERVAL_MS); in checkKeyguardLockedWithPolling()
333 mMainHandler.removeCallbacks(mKeyguardPollingRunnable); in stopUi()
/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/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/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManager.java123 private final MainHandler mMainHandler; field in AppEntryListManager
140 mMainHandler = new MainHandler(new WeakReference<>(this)); in AppEntryListManager()
219 mMainHandler.removeMessages(MainHandler.MSG_INFO_UPDATED); in clearHandlers()
251 outer.mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
256 outer.mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DNsdResolveQueue.java35 private final Handler mMainHandler; field in NsdResolveQueue
42 mMainHandler = new Handler(context.getMainLooper()); in NsdResolveQueue()
115 mMainHandler.post(() -> { in onResolveFailed()
128 mMainHandler.post(() -> { in onServiceResolved()
/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/Settings/src/com/android/settings/applications/
DAppStateBaseBridge.java37 protected final MainHandler mMainHandler; field in AppStateBaseBridge
48 mMainHandler = new MainHandler(Looper.getMainLooper()); in AppStateBaseBridge()
142 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
155 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateBaseBridge.java37 protected final MainHandler mMainHandler; field in AppStateBaseBridge
48 mMainHandler = new MainHandler(Looper.getMainLooper()); in AppStateBaseBridge()
142 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
155 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
/packages/services/BuiltInPrintService/src/com/android/bips/
DBuiltInPrintService.java87 private Handler mMainHandler; field in BuiltInPrintService
139 mMainHandler = new Handler(getMainLooper()); in onCreate()
153 mMainHandler.removeCallbacksAndMessages(null); in onDestroy()
249 return mMainHandler; in getMainHandler()
254 mMainHandler.postDelayed(toRun, delay); in delay()
255 return () -> mMainHandler.removeCallbacks(toRun); in delay()
/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()
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()
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.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/services/BuiltInPrintService/src/com/android/bips/ipp/
DBackend.java57 private final Handler mMainHandler; field in Backend
67 mMainHandler = new Handler(context.getMainLooper()); in Backend()
187 mMainHandler.post(() -> { in jobCallback()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java90 private final Handler mMainHandler; field in RecommendationDataManager
192 mMainHandler = new RecommendationMainHandler(Looper.getMainLooper(), this); in RecommendationDataManager()
247 mMainHandler.removeCallbacksAndMessages(null); in stop()
507 mMainHandler.post(r); in runOnMainThread()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java246 private Handler mMainHandler; field in CameraActivity
1113 mCameraController.setOneShotPreviewCallback(mMainHandler, in setupOneShotPreviewListener()
1239 mMainHandler.post(new Runnable() { in indicateCapture()
1320 mMainHandler.removeMessages(MSG_CLEAR_SCREEN_ON_FLAG); in enableKeepScreenOn()
1436 mMainHandler = new MainHandler(this, getMainLooper()); in onCreateTasks()
1438 mOrientationManager = new OrientationManagerImpl(this, mMainHandler); in onCreateTasks()
1481 mCameraController = new CameraController(mAppContext, this, mMainHandler, in onCreateTasks()
1488 new CameraExceptionHandler(mCameraExceptionCallback, mMainHandler)); in onCreateTasks()
2133 mMainHandler.removeCallbacks(mLightsOutRunnable); in resume()
2134 mMainHandler.postDelayed(mLightsOutRunnable, LIGHTS_OUT_DELAY_MS); in resume()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DUserNoiticeDemoUiService.java54 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in UserNoiticeDemoUiService
104 mMainHandler.post(() -> { in onSetCallbackBinder()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java128 private final Handler mMainHandler; field in MpegTsPlayer
164 mMainHandler = handler; in MpegTsPlayer()
510 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()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DInputTestFragment.java108 mMainHandler.post(mRefreshKeysDownTextViewRunnable); in count()
136 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in InputTestFragment
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java111 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in CarMediaService
340 mMainHandler.post(new Runnable() { in setUserLockStatus()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedCarTestBase.java87 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in MockedCarTestBase