Home
last modified time | relevance | path

Searched refs:mMainThreadHandler (Results 1 – 25 of 27) sorted by relevance

12

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
H A DPhysicsAnimationLayoutTestCase.java57 Handler mMainThreadHandler; field in PhysicsAnimationLayoutTestCase
85 mMainThreadHandler = new Handler(Looper.getMainLooper()); in setUp()
128 mMainThreadHandler.post(layoutLatch::countDown); in waitForLayoutMessageQueue()
150 return mMainThreadHandler.post(action); in post()
155 return mMainThreadHandler.postDelayed(action, delayMillis); in postDelayed()
167 mMainThreadHandler.post(super::cancelAllAnimations); in cancelAllAnimations()
172 mMainThreadHandler.post(() -> super.cancelAnimationsOnView(view)); in cancelAnimationsOnView()
217 mMainThreadHandler.post(() -> super.animateValueForChild( in animateValueForChild()
224 mMainThreadHandler.post(super::startPathAnimation); in startPathAnimation()
314 mMainThreadHandler.post(() -> { in runOnMainThreadAndBlock()
H A DStackAnimationControllerTest.java289 mMainThreadHandler.post(mCheckStartPosSet); in waitForStartPosToBeSet()
293 mMainThreadHandler.post(mCheckStartPosSet); in waitForStartPosToBeSet()
298 mMainThreadHandler.removeCallbacks(mCheckStartPosSet); in waitForStartPosToBeSet()
323 mMainThreadHandler.post(() -> in flingThenSpringFirstBubbleWithStackFollowing()
331 mMainThreadHandler.post(() -> in springFirstBubbleWithStackFollowing()
/aosp12/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
H A DHeartBeatLiveData.java32 private Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in HeartBeatLiveData
41 mMainThreadHandler.post(mUpdateDurationRunnable); in onActive()
47 mMainThreadHandler.removeCallbacks(mUpdateDurationRunnable); in onInactive()
54 mMainThreadHandler.postDelayed(this, mPulseRate);
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
H A DHeartBeatLiveData.java33 private Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in HeartBeatLiveData
42 mMainThreadHandler.post(mUpdateDurationRunnable); in onActive()
48 mMainThreadHandler.removeCallbacks(mUpdateDurationRunnable); in onInactive()
55 mMainThreadHandler.postDelayed(this, mPulseRate);
/aosp12/frameworks/base/core/java/android/service/textclassifier/
H A DTextClassifierService.java118 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper(), null, true); field in TextClassifierService
132 mMainThreadHandler.post(() -> TextClassifierService.this.onSuggestSelection(
143 mMainThreadHandler.post(() -> TextClassifierService.this.onClassifyText(
153 mMainThreadHandler.post(() -> TextClassifierService.this.onGenerateLinks(
162 mMainThreadHandler.post(
171 mMainThreadHandler.post(
182 mMainThreadHandler.post(() -> TextClassifierService.this.onDetectLanguage(
193 mMainThreadHandler.post(() -> TextClassifierService.this.onSuggestConversationActions(
202 mMainThreadHandler.post(
209 mMainThreadHandler.post(
[all …]
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
H A DRotationButtonController.java78 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in RotationButtonController
126 mMainThreadHandler.postAtFrontOfQueue(() -> {
269 mMainThreadHandler.removeCallbacks(mCancelPendingRotationProposal); in setRotateSuggestionButtonState()
365 mMainThreadHandler.removeCallbacks(mRemoveRotationProposal); in onRotationProposal()
387 mMainThreadHandler.removeCallbacks(mCancelPendingRotationProposal); in onRotationProposal()
388 mMainThreadHandler.postDelayed(mCancelPendingRotationProposal, in onRotationProposal()
471 mMainThreadHandler.removeCallbacks(mRemoveRotationProposal); in onRotationSuggestionsDisabled()
511 mMainThreadHandler.removeCallbacks(mRemoveRotationProposal); in rescheduleRotationTimeout()
513 mMainThreadHandler.postDelayed(mRemoveRotationProposal, in rescheduleRotationTimeout()
/aosp12/frameworks/base/core/java/android/view/
H A DInsetsAnimationThreadControlRunner.java49 private final Handler mMainThreadHandler; field in InsetsAnimationThreadControlRunner
79 mMainThreadHandler.post(() ->
105 mMainThreadHandler.post(() -> mOuterCallbacks.reportPerceptible(types, perceptible));
116 mMainThreadHandler = mainThreadHandler; in InsetsAnimationThreadControlRunner()
/aosp12/frameworks/base/core/java/android/service/rotationresolver/
H A DRotationResolverService.java109 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper(), null, true); field in RotationResolverService
128 mMainThreadHandler.sendMessage( in onBind()
239 mHandler = service.mMainThreadHandler;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarNotificationActivityStarter.java97 private final Handler mMainThreadHandler; field in StatusBarNotificationActivityStarter
172 mMainThreadHandler = mainThreadHandler; in StatusBarNotificationActivityStarter()
390 mMainThreadHandler.post(() -> { in handleNotificationClickAfterPanelCollapsed()
438 mMainThreadHandler.post(() -> { in onDragSuccess()
463 mMainThreadHandler.post(() -> expandBubbleStack(entry)); in expandBubbleStackOnMainThread()
654 mMainThreadHandler.post(mShadeController::collapsePanel); in collapseOnMainThread()
683 private final Handler mMainThreadHandler; field in StatusBarNotificationActivityStarter.Builder
752 mMainThreadHandler = mainThreadHandler; in Builder()
816 mMainThreadHandler, in build()
/aosp12/frameworks/base/core/java/android/inputmethodservice/
H A DInlineSuggestionSession.java66 private final Handler mMainThreadHandler; field in InlineSuggestionSession
107 mMainThreadHandler = mainThreadHandler; in InlineSuggestionSession()
244 session.mMainThreadHandler.sendMessage( in onInlineSuggestionsResponse()
H A DInlineSuggestionSessionController.java62 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper(), null, true); field in InlineSuggestionSessionController
104 mHostInputTokenSupplier, mResponseConsumer, this, mMainThreadHandler); in onMakeInlineSuggestionsRequest()
/aosp12/packages/apps/Settings/src/com/android/settings/network/
H A DTetherEnabler.java105 private final Handler mMainThreadHandler; field in TetherEnabler
141 mMainThreadHandler = new Handler(Looper.getMainLooper()); in TetherEnabler()
161 mTetheringManager.registerTetheringEventCallback(new HandlerExecutor(mMainThreadHandler), in onStart()
309 mOnStartTetheringCallback, mMainThreadHandler); in startTethering()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
H A DOtherActivityInputConsumer.java137 private Handler mMainThreadHandler; field in OtherActivityInputConsumer
153 mMainThreadHandler = new Handler(Looper.getMainLooper()); in OtherActivityInputConsumer()
440 mMainThreadHandler.removeCallbacks(mCancelRecentsAnimationRunnable);
441 mMainThreadHandler.postDelayed(mCancelRecentsAnimationRunnable, 100);
457 mMainThreadHandler.removeCallbacks(mCancelRecentsAnimationRunnable);
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputBaseDialog.java58 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in MediaOutputBaseDialog
202 mMainThreadHandler.post(() -> refresh()); in onMediaChanged()
214 mMainThreadHandler.post(() -> refresh()); in onRouteChanged()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/recorder/
H A DInputTaskScheduler.java112 private final Handler mMainThreadHandler; field in InputTaskScheduler
158 mMainThreadHandler = new Handler(Looper.getMainLooper()); in InputTaskScheduler()
413 if (Looper.myLooper() == mMainThreadHandler.getLooper()) { in runOnMainHandler()
416 mMainThreadHandler.post(runnable); in runOnMainHandler()
H A DRecordingTask.java124 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in RecordingTask
267 mMainThreadHandler.post( in onError()
610 mMainThreadHandler.post(runnable); in runOnMainThread()
/aosp12/packages/services/Car/experimental/service/src/com/android/experimentalcar/
H A DIExperimentalCarImpl.java60 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in IExperimentalCarImpl
83 mMainThreadHandler.post(() -> { in init()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallRecordingTonePlayer.java116 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in CallRecordingTonePlayer
180 mMainThreadHandler); in addCall()
H A DInCallTonePlayer.java194 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in InCallTonePlayer
512 mMainThreadHandler.post(new Runnable("ICTP.cUTP", mLock) { in cleanUpTonePlayer()
/aosp12/packages/apps/TV/src/com/android/tv/
H A DInputSessionManager.java71 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in InputSessionManager
429 mMainThreadHandler, in release()
458 mMainThreadHandler, in tune()
/aosp12/frameworks/base/apex/jobscheduler/framework/java/android/app/
H A DAlarmManager.java277 private final Handler mMainThreadHandler; field in AlarmManager
356 mMainThreadHandler = new Handler(ctx.getMainLooper()); in AlarmManager()
906 final Handler handlerToUse = (targetHandler != null) ? targetHandler : mMainThreadHandler; in setImpl()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/
H A DAccountTypeManager.java365 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper());
408 mMainThreadExecutor = ContactsExecutors.newHandlerExecutor(mMainThreadHandler);
430 mAccountManager.addOnAccountsUpdatedListener(this, mMainThreadHandler, false);
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DContactPhotoManager.java670 private final Handler mMainThreadHandler = new Handler(this); field in ContactPhotoManagerImpl
1109 mMainThreadHandler.sendEmptyMessage(MESSAGE_REQUEST_LOADING); in requestLoading()
1278 if (jpegsDecoded) mMainThreadHandler.sendEmptyMessage(MESSAGE_PHOTOS_LOADED); in obtainPhotoIdsAndUrisToLoad()
1556 mMainThreadHandler.sendEmptyMessage(MESSAGE_PHOTOS_LOADED); in loadThumbnails()
1612 mMainThreadHandler.sendEmptyMessage(MESSAGE_PHOTOS_LOADED); in loadUriBasedPhotos()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/
H A DAccountTypeManager.java233 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in AccountTypeManagerImpl
583 mMainThreadHandler.post(mCheckFilterValidityRunnable); in loadAccountsInBackground()
/aosp12/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportProgressService.java229 private Handler mMainThreadHandler; field in BugreportProgressService
266 mMainThreadHandler = new Handler(Looper.getMainLooper()); in onCreate()
390 mMainThreadHandler.post(() -> mInfoDialog.onBugreportFinished(mInfo)); in onFinished()
880 mMainThreadHandler.post(() -> mInfoDialog.initialize(mContext, info)); in launchBugreportInfoDialog()

12