Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
DBackProgressAnimatorTest.java50 private Handler mMainThreadHandler; field in BackProgressAnimatorTest
66 mMainThreadHandler = new Handler(Looper.getMainLooper()); in setUp()
68 mMainThreadHandler.post( in setUp()
78 mMainThreadHandler.post( in testBackProgressed()
91 mMainThreadHandler.post( in testBackCancelled()
100 mMainThreadHandler.post( in testBackCancelled()
112 mMainThreadHandler.post( in testBackInvoked()
119 mMainThreadHandler.post( in testBackInvoked()
129 mMainThreadHandler.post( in testResetCallsCancelCallbackImmediately()
159 mMainThreadHandler.post( in testCancelFinishCallbackNotInvokedWhenRemoved()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
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()
170 mMainThreadHandler.post(super::cancelAllAnimations); in cancelAllAnimations()
178 mMainThreadHandler.post(() -> super.cancelAnimationsOnView(view)); in cancelAnimationsOnView()
223 mMainThreadHandler.post(() -> super.animateValueForChild( in animateValueForChild()
233 mMainThreadHandler.post(super::startPathAnimation); in startPathAnimation()
323 mMainThreadHandler.post(() -> { in runOnMainThreadAndBlock()
DStackAnimationControllerTest.java289 mMainThreadHandler.post(mCheckStartPosSet); in waitForStartPosToBeSet()
293 mMainThreadHandler.post(mCheckStartPosSet); in waitForStartPosToBeSet()
298 mMainThreadHandler.removeCallbacks(mCheckStartPosSet); in waitForStartPosToBeSet()
324 mMainThreadHandler.post(() -> in flingThenSpringFirstBubbleWithStackFollowing()
332 mMainThreadHandler.post(() -> in springFirstBubbleWithStackFollowing()
DExpandedAnimationControllerTest.java193 mMainThreadHandler.post(() -> { in waitForAnimation()
/frameworks/base/core/java/android/service/textclassifier/
DTextClassifierService.java117 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper(), null, true); field in TextClassifierService
131 mMainThreadHandler.post(() -> TextClassifierService.this.onSuggestSelection(
142 mMainThreadHandler.post(() -> TextClassifierService.this.onClassifyText(
152 mMainThreadHandler.post(() -> TextClassifierService.this.onGenerateLinks(
161 mMainThreadHandler.post(
170 mMainThreadHandler.post(
181 mMainThreadHandler.post(() -> TextClassifierService.this.onDetectLanguage(
192 mMainThreadHandler.post(() -> TextClassifierService.this.onSuggestConversationActions(
201 mMainThreadHandler.post(
208 mMainThreadHandler.post(
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialog.java81 protected final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in MediaOutputBaseDialog
141 mMainThreadHandler.post(() -> handleLeBroadcastStarted());
149 mMainThreadHandler.postDelayed(() -> handleLeBroadcastStartFailed(),
160 mMainThreadHandler.post(() -> handleLeBroadcastMetadataChanged());
169 mMainThreadHandler.post(() -> handleLeBroadcastStopped());
177 mMainThreadHandler.post(() -> handleLeBroadcastStopFailed());
186 mMainThreadHandler.post(() -> handleLeBroadcastUpdated());
195 mMainThreadHandler.post(() -> handleLeBroadcastUpdateFailed());
539 mMainThreadHandler.post(() -> refresh()); in stopLeBroadcast()
580 mMainThreadHandler.post(() -> refresh()); in onMediaChanged()
[all …]
DMediaOutputBroadcastDialog.java198 mMainThreadHandler.post(() -> refreshUi());
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DRotationButtonController.java90 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in RotationButtonController
149 mMainThreadHandler.postAtFrontOfQueue(() -> {
328 mMainThreadHandler.removeCallbacks(mCancelPendingRotationProposal); in setRotateSuggestionButtonState()
439 mMainThreadHandler.removeCallbacks(mRemoveRotationProposal); in onRotationProposal()
462 mMainThreadHandler.removeCallbacks(mCancelPendingRotationProposal); in onRotationProposal()
463 mMainThreadHandler.postDelayed(mCancelPendingRotationProposal, in onRotationProposal()
612 mMainThreadHandler.removeCallbacks(mRemoveRotationProposal); in onRotationSuggestionsDisabled()
652 mMainThreadHandler.removeCallbacks(mRemoveRotationProposal); in rescheduleRotationTimeout()
654 mMainThreadHandler.postDelayed(mRemoveRotationProposal, in rescheduleRotationTimeout()
711 mMainThreadHandler.post(() -> in onActivityRequestedOrientationChanged()
/frameworks/base/core/java/android/view/
DInsetsAnimationThreadControlRunner.java50 private final Handler mMainThreadHandler; field in InsetsAnimationThreadControlRunner
80 mMainThreadHandler.post(() ->
106 mMainThreadHandler.post(() -> mOuterCallbacks.reportPerceptible(types, perceptible));
118 mMainThreadHandler = mainThreadHandler; in InsetsAnimationThreadControlRunner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java64 private final Handler mMainThreadHandler; field in WifiStatusTracker
112 mMainThreadHandler.post(() -> postResults());
131 mMainThreadHandler.post(() -> postResults());
145 mMainThreadHandler.post(() -> postResults());
153 mMainThreadHandler.post(() -> postResults());
195 mMainThreadHandler = foregroundHandler == null in WifiStatusTracker()
202 mMainThreadHandler.post(() -> postResults()); in WifiStatusTracker()
425 mMainThreadHandler.post(() -> postResults()); in refreshLocale()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/
DBroadcastDialogDelegate.java68 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper()); field in BroadcastDialogDelegate
92 mMainThreadHandler.post(() -> handleLeBroadcastStarted());
100 mMainThreadHandler.postDelayed(() -> handleLeBroadcastStartFailed(),
111 mMainThreadHandler.post(() -> handleLeBroadcastMetadataChanged());
120 mMainThreadHandler.post(() -> handleLeBroadcastStopped());
128 mMainThreadHandler.postDelayed(() -> handleLeBroadcastStopFailed(),
/frameworks/base/core/java/android/service/rotationresolver/
DRotationResolverService.java109 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper(), null, true); field in RotationResolverService
128 mMainThreadHandler.sendMessage( in onBind()
239 mHandler = service.mMainThreadHandler;
/frameworks/base/core/java/android/inputmethodservice/
DInlineSuggestionSession.java66 private final Handler mMainThreadHandler; field in InlineSuggestionSession
107 mMainThreadHandler = mainThreadHandler; in InlineSuggestionSession()
244 session.mMainThreadHandler.sendMessage( in onInlineSuggestionsResponse()
DInlineSuggestionSessionController.java62 private final Handler mMainThreadHandler = new Handler(Looper.getMainLooper(), null, true); field in InlineSuggestionSessionController
104 mHostInputTokenSupplier, mResponseConsumer, this, mMainThreadHandler); in onMakeInlineSuggestionsRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java116 private final Handler mMainThreadHandler; field in StatusBarNotificationActivityStarter
189 mMainThreadHandler = mainThreadHandler; in StatusBarNotificationActivityStarter()
412 mMainThreadHandler.post(() -> { in handleNotificationClickAfterPanelCollapsed()
448 mMainThreadHandler.post(() -> { in onDragSuccess()
473 mMainThreadHandler.post(() -> expandBubbleStack(entry)); in expandBubbleStackOnMainThread()
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DAlarmManager.java329 private final Handler mMainThreadHandler; field in AlarmManager
408 mMainThreadHandler = new Handler(ctx.getMainLooper()); in AlarmManager()
1043 final Handler handlerToUse = (targetHandler != null) ? targetHandler : mMainThreadHandler; in setImpl()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java247 private Handler mMainThreadHandler; field in BugreportProgressService
284 mMainThreadHandler = new Handler(Looper.getMainLooper()); in onCreate()
408 mMainThreadHandler.post(() -> mInfoDialog.onBugreportFinished(mInfo)); in onFinished()
968 mMainThreadHandler.post(() -> mInfoDialog.initialize(mContext, info)); in launchBugreportInfoDialog()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt3583 Landroid/app/AlarmManager;->mMainThreadHandler:Landroid/os/Handler;