Home
last modified time | relevance | path

Searched refs:getMainThreadHandler (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java121 public synchronized Handler getMainThreadHandler() { in getMainThreadHandler() method in QsbApplication
129 getMainThreadHandler().post(action); in runOnUiThread()
243 getMainThreadHandler(),
276 return new GoogleSuggestClient(getContext(), getMainThreadHandler(),
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DPopupTransitionAnimation.java164 ThreadUtil.getMainThreadHandler().postDelayed(mCleanupRunnable, getDuration() * 2); in startAfterLayoutComplete()
210 ThreadUtil.getMainThreadHandler().post(new Runnable() { in dismiss()
219 ThreadUtil.getMainThreadHandler().removeCallbacks(mCleanupRunnable); in dismiss()
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DEmbmsTestDownloadApp.java311 mDownloadManager.addProgressListener(req, sInstance.getMainThreadHandler()::post, in onCreate()
339 mDownloadManager.addStatusListener(req, sInstance.getMainThreadHandler()::post, in onCreate()
366 mDownloadManager.addStatusListener(req, sInstance.getMainThreadHandler()::post, in onCreate()
377 mDownloadManager.addProgressListener(req, sInstance.getMainThreadHandler()::post, in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAsyncImageView.java189 ThreadUtil.getMainThreadHandler().removeCallbacks(mDisposeRunnable); in setImage()
276 ThreadUtil.getMainThreadHandler().removeCallbacks(mDisposeRunnable); in onAttachedToWindow()
299 ThreadUtil.getMainThreadHandler().postDelayed(mDisposeRunnable, DISPOSE_IMAGE_DELAY); in onDetachedFromWindow()
DAttachmentPreview.java198 ThreadUtil.getMainThreadHandler().postDelayed(new Runnable() { in onAttachmentsChanged()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DBugleActionToasts.java121 ThreadUtil.getMainThreadHandler().post(new Runnable() { in showToast()
131 ThreadUtil.getMainThreadHandler().post(new Runnable() { in showToast()
DActionMonitor.java190 mHandler = ThreadUtil.getMainThreadHandler(); in ActionMonitor()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userswitcher/
DUserSwitchTransitionViewControllerTest.java160 getContext().getMainThreadHandler().postDelayed(() -> { in onWindowShownTimeoutPassed_viewNotHidden_hidesUserSwitchTransitionView()
176 getContext().getMainThreadHandler().postDelayed(() -> { in onWindowShownTimeoutPassed_viewHidden_doesNotHideUserSwitchTransitionViewAgain()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java164 ThreadUtil.getMainThreadHandler().post(runnable); in doOnceAfterLayoutChange()
231 ThreadUtil.getMainThreadHandler().post(onFinishRunnable); in revealOrHideViewWithAnimation()
242 ThreadUtil.getMainThreadHandler().post(onFinishRunnable); in revealOrHideViewWithAnimation()
DThreadUtil.java25 public static Handler getMainThreadHandler() { in getMainThreadHandler() method in ThreadUtil
DSafeAsyncTask.java98 ThreadUtil.getMainThreadHandler().postDelayed(new Runnable() { in doInBackground()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDataConnectivityListener.java49 mContext.getMainThreadHandler()); in start()
DContactDiscoveryPreferenceController.java115 mUceSettingObserver = new ContentObserver(mContext.getMainThreadHandler()) { in registerUceObserver()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraMediaChooserView.java82 ThreadUtil.getMainThreadHandler().post(new Runnable() { in onDraw()
DAudioRecordView.java286 ThreadUtil.getMainThreadHandler().postDelayed(new Runnable() { in onRecordButtonTouchUp()
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/
DStreamingServiceTracker.java64 mActivity.getMainThreadHandler()::post, new Callback()); in startStreaming()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactRecipientPhotoManager.java62 ThreadUtil.getMainThreadHandler().post(new Runnable() { in populatePhotoBytesAsync()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationSimSelector.java53 ThreadUtil.getMainThreadHandler().post(new Runnable() { in onSubscriptionListDataLoaded()
/packages/services/Telephony/tests/src/com/android/
DTestContext.java165 public Handler getMainThreadHandler() { in getMainThreadHandler() method in TestContext
/packages/apps/Settings/src/com/android/settings/network/
DInternetResetHelper.java251 mHandler = context.getMainThreadHandler(); in HandlerInjector()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSystemActivityMonitoringServiceTest.java169 getMainThreadHandler().postDelayed(this::finish, ACTIVITY_TIMEOUT_MS); in onResume()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DCarLauncher.java155 new HandlerExecutor(getMainThreadHandler())); in setUpTaskView()
/packages/apps/Settings/src/com/android/settings/panel/
DInternetConnectivityPanel.java133 mHandler = context.getMainThreadHandler(); in HandlerInjector()
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
DInternetConnectivityPanelTest.java118 when(mContext.getMainThreadHandler()).thenReturn(mMainThreadHandler); in setUp()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentsActivity.java373 getMainThreadHandler(), mAnimationToHomeFactory, true); in startHomeInternal()

12