Home
last modified time | relevance | path

Searched refs:mMainHandler (Results 1 – 11 of 11) 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/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/Gallery2/src/com/android/camera/
DPanoramaModule.java149 private Handler mMainHandler; field in PanoramaModule
290 mMainHandler = new Handler() { in init()
442 mMainHandler.removeMessages(MSG_CONFIG_MOSAIC_PREVIEW); in configMosaicPreview()
443 mMainHandler.obtainMessage(MSG_CONFIG_MOSAIC_PREVIEW, w, h).sendToTarget(); in configMosaicPreview()
480 mMainHandler.sendEmptyMessage(MSG_RESET_TO_PREVIEW); in configMosaicPreview()
603 mMainHandler.sendMessage(mMainHandler.obtainMessage( in stopCapture()
606 mMainHandler.sendMessage(mMainHandler.obtainMessage( in stopCapture()
810 mMainHandler.sendEmptyMessage(MSG_END_DIALOG_RESET_TO_PREVIEW); in saveHighResMosaic()
812 mMainHandler.sendEmptyMessage(MSG_GENERATE_FINAL_MOSAIC_ERROR); in saveHighResMosaic()
820 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/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/VideoEditor/src/com/android/videoeditor/
DVideoEditorActivity.java1691 private final Handler mMainHandler;
1716 mMainHandler = new Handler(Looper.getMainLooper());
1757 mMainHandler.post(new Runnable() {
1784 mMainHandler.post(new Runnable() {
1885 mMainHandler.post(new Runnable() {
1907 mMainHandler.post(new Runnable() {
1922 mMainHandler.post(new Runnable() {
1935 mMainHandler.post(new Runnable() {
1947 mMainHandler.post(new Runnable() {
2006 mMainHandler.postDelayed(new Runnable() {
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java112 private Handler mMainHandler; field in AggregationSuggestionEngine
123 mMainHandler = new Handler() { in AggregationSuggestionEngine()
327 mMainHandler.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.java150 private Handler mMainHandler; field in ContactSaveService
155 mMainHandler = new Handler(Looper.getMainLooper()); in ContactSaveService()
1110 mMainHandler.post(new Runnable() { in showToast()
1120 mMainHandler.post(new Runnable() { in deliverCallback()