Home
last modified time | relevance | path

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

12

/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/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/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DApplicationsState.java155 mMainHandler = new ApplicationsState.MainHandler(Looper.getMainLooper()); field in ApplicationsState
628 if (!mMainHandler.hasMessages( in addPackage()
630 mMainHandler.sendEmptyMessage( in addPackage()
671 if (!mMainHandler.hasMessages( in removePackage()
673 mMainHandler.sendEmptyMessage( in removePackage()
698 if (!mMainHandler.hasMessages( in addUser()
700 mMainHandler.sendEmptyMessage( in addUser()
716 if (!mMainHandler.hasMessages( in removeUser()
718 mMainHandler.sendEmptyMessage( in removeUser()
975 if (!mMainHandler.hasMessages( in handleRebuildList()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManager.java125 private final MainHandler mMainHandler; field in AppEntryListManager
146 mMainHandler = new MainHandler(new WeakReference<>(this)); in AppEntryListManager()
225 mMainHandler.removeMessages(MainHandler.MSG_INFO_UPDATED); in clearHandlers()
257 outer.mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
262 outer.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/Settings/src/com/android/settings/applications/
DAppStateBaseBridge.java37 protected final MainHandler mMainHandler; field in AppStateBaseBridge
50 mMainHandler = new MainHandler(Looper.getMainLooper()); in AppStateBaseBridge()
152 mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
165 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/Car/SystemUI/src/com/android/systemui/car/displaycompat/
DToolbarControllerImpl.java59 private final Handler mMainHandler; field in ToolbarControllerImpl
77 mMainHandler = mainHandler; in ToolbarControllerImpl()
138 mMainHandler.post(() -> show()); in update()
141 mMainHandler.post(() -> hide()); in update()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/
DPlayerViewProvider.java42 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in PlayerViewProvider
58 mMainHandler.post( in createPlayerView()
71 mMainHandler.post( in onHostActivityStarted()
86 mMainHandler.post( in onHostActivityStopped()
/packages/services/BuiltInPrintService/src/com/android/bips/
DBuiltInPrintService.java89 private Handler mMainHandler; field in BuiltInPrintService
141 mMainHandler = new Handler(getMainLooper()); in onCreate()
155 mMainHandler.removeCallbacksAndMessages(null); in onDestroy()
251 return mMainHandler; in getMainHandler()
256 mMainHandler.postDelayed(toRun, delay); in delay()
257 return () -> mMainHandler.removeCallbacks(toRun); in delay()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/
DCarDeviceProvisionedControllerImpl.java52 private final Handler mMainHandler; field in CarDeviceProvisionedControllerImpl
69 mMainHandler = mainHandler; in CarDeviceProvisionedControllerImpl()
73 mCarSettingsObserver = new ContentObserver(mMainHandler) { in CarDeviceProvisionedControllerImpl()
/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/Car/SystemUI/src/com/android/systemui/wm/
DMDSystemBarsController.java65 private final Handler mMainHandler; field in MDSystemBarsController
73 mMainHandler = mainHandler; in MDSystemBarsController()
152 mMainHandler.post(() -> { in insetsChanged()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DVolumeUI.java62 private final Handler mMainHandler; field in VolumeUI
143 mMainHandler = mainHandler; in VolumeUI()
216 mMainHandler.post(() -> { in initVolumeDialogComponent()
/packages/apps/Car/Provision/src/com/android/car/provision/
DUserNoticeUiService.java47 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in UserNoticeUiService
83 mMainHandler.post(() -> { in onSetCallbackBinder()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/
DCarUnitTest.java109 private Handler mMainHandler; field in CarUnitTest
220 mMainHandler = new Handler(Looper.getMainLooper()); in setUp()
245 mMainHandler.post(() -> serviceConnection.onServiceConnected( in setupFakeServiceManager()
278 mMainHandler.post(() -> serviceConnection.onServiceConnected( in setCarServiceRegistered()
289 mMainHandler.post(() -> serviceConnection.onServiceDisconnected( in setCarServiceDisconnected()
774 mMainHandler.post(() -> { in runOnMain()
/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/services/Car/tests/carservice_unit_test/src/android/car/os/
DCarPerformanceManagerUnitTest.java47 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in CarPerformanceManagerUnitTest
59 when(mCar.getEventHandler()).thenReturn(mMainHandler); in setUp()
/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DUserNoticeDemoUiService.java54 private final Handler mMainHandler = new Handler(Looper.getMainLooper()); field in UserNoticeDemoUiService
104 mMainHandler.post(() -> { in onSetCallbackBinder()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DActionModeHandler.java77 private final Handler mMainHandler; field in ActionModeHandler
128 mMainHandler = new Handler(activity.getMainLooper()); in ActionModeHandler()
397 mMainHandler.post(new Runnable() { in updateSupportedOperation()
436 mMainHandler.post(new Runnable() { in updateSupportedOperation()

12