Home
last modified time | relevance | path

Searched refs:mH (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java33 final Handler mH; field in HandlerCaller
55 mH = new MyHandler(mMainLooper, asyncHandler); in HandlerCaller()
60 return mH; in getHandler()
73 mH.sendMessage(msg); in executeOrSendMessage()
77 mH.sendMessageDelayed(msg, delayMillis); in sendMessageDelayed()
81 return mH.hasMessages(what); in hasMessages()
85 mH.removeMessages(what); in removeMessages()
89 mH.removeMessages(what, obj); in removeMessages()
94 mH.sendMessage(msg); in sendMessage()
98 if (Looper.myLooper() == mH.getLooper()) { in sendMessageAndWait()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java319 synchronized (mH) {
487 final H mH; field in InputMethodManager
796 synchronized (mH) { in getFallbackContextFromServedView()
824 synchronized (mH) { in onPreWindowGainedFocus()
834 synchronized (mH) { in onPostWindowGainedFocus()
859 synchronized (mH) { in onPostWindowGainedFocus()
882 synchronized (mH) { in onPostWindowGainedFocus()
905 synchronized (mH) { in onWindowLostFocus()
936 synchronized (mH) { in onScheduledCheckFocus()
948 synchronized (mH) { in onViewDetachedFromWindow()
[all …]
DRemoteInputConnectionImpl.java175 private final Handler mH; field in RemoteInputConnectionImpl
194 mH = new Handler(mLooper); in RemoteInputConnectionImpl()
284 mH.post(() -> { in scheduleInvalidateInput()
1413 mH.post(runnable); in dispatch()
/frameworks/base/core/java/android/view/
DInputFilter.java113 private final H mH; field in InputFilter
124 mH = new H(looper); in InputFilter()
134 mH.obtainMessage(MSG_INSTALL, host).sendToTarget(); in install()
142 mH.obtainMessage(MSG_UNINSTALL).sendToTarget(); in uninstall()
153 mH.obtainMessage(MSG_INPUT_EVENT, policyFlags, 0, event).sendToTarget(); in filterInputEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DRemoteDisplayChangeController.java107 mService.mH.removeCallbacks(mTimeoutRunnable); in performRemoteDisplayChange()
108 mService.mH.postDelayed(mTimeoutRunnable, REMOTE_DISPLAY_CHANGE_TIMEOUT_MS); in performRemoteDisplayChange()
176 mService.mH.removeCallbacks(mTimeoutRunnable); in continueDisplayChange()
199 mService.mH.post(() -> RemoteDisplayChangeController.this in createCallback()
DWindowSurfacePlacer.java193 mService.mH.removeMessages(REPORT_WINDOWS_CHANGE); in performSurfacePlacementLoop()
194 mService.mH.sendEmptyMessage(REPORT_WINDOWS_CHANGE); in performSurfacePlacementLoop()
DInputManagerCallback.java240 mService.mH.obtainMessage(ON_POINTER_DOWN_OUTSIDE_FOCUS, touchedToken).sendToTarget(); in onPointerDownOutsideFocus()
245 mService.mH.sendMessage(PooledLambda.obtainMessage( in notifyFocusChanged()
251 mService.mH.sendMessage(PooledLambda.obtainMessage( in notifyDropWindow()
DAlertWindowNotification.java70 mService.mH.post(this::onPostNotification); in post()
77 mService.mH.post(() -> onCancelNotification(deleteChannel)); in cancel()
DPinnedTaskController.java189 mService.mH.removeCallbacks(mDeferOrientationTimeoutRunnable); in deferOrientationChangeForEnteringPipFromFullScreenIfNeeded()
191 mService.mH.postDelayed(mDeferOrientationTimeoutRunnable, in deferOrientationChangeForEnteringPipFromFullScreenIfNeeded()
229 mService.mH.removeCallbacks(mDeferOrientationTimeoutRunnable); in continueOrientationChange()
DWindowProcessController.java546 mAtm.mH.sendMessage(m); in postPendingUiCleanMsg()
646 mAtm.mH.post(() -> { in updateRapidActivityLaunch()
1357 mAtm.mH.sendMessage(PooledLambda.obtainMessage( in clearProfilerIfNeeded()
1372 mAtm.mH.sendMessage(m); in updateProcessInfo()
1377 mAtm.mH.sendMessage(PooledLambda.obtainMessage(WindowProcessListener::updateProcessInfo, in scheduleUpdateOomAdj()
1389 mAtm.mH.sendMessage(PooledLambda.obtainMessage( in updateServiceConnectionActivities()
1398 mAtm.mH.sendMessage(m); in setPendingUiCleanAndForceProcessStateUpTo()
1446 mAtm.mH.sendMessageAtFrontOfQueue(m); in onStartActivity()
1453 mAtm.mH.sendMessage(m); in appDied()
1938 mAtm.mH.post(() -> { in onTopProcChanged()
[all …]
DDeferredDisplayUpdater.java339 mDisplayContent.mWmService.mH.removeCallbacks(mScreenUnblockTimeoutRunnable); in waitForTransition()
340 mDisplayContent.mWmService.mH.postDelayed(mScreenUnblockTimeoutRunnable, in waitForTransition()
353 mDisplayContent.mWmService.mH.removeCallbacks(mScreenUnblockTimeoutRunnable); in continueScreenUnblocking()
DActivityServiceConnectionsHolder.java132 mActivity.mAtmService.mH.post(() -> { in disconnectActivityFromServices()
DActivityTaskManagerService.java374 H mH; field in ActivityTaskManagerService
818 super(mH); in SettingObserver()
1010 mH = new H(looper); in initialize()
1014 mAppWarnings = createAppWarnings(mUiContext, mH, mUiHandler, systemDir); in initialize()
1015 mCompatModePackages = new CompatModePackages(this, systemDir, mH); in initialize()
1021 new TaskChangeNotificationController(mTaskSupervisor, mH); in initialize()
1022 mLockTaskController = new LockTaskController(mContext, mTaskSupervisor, mH, in initialize()
1045 mH.getLooper()); in createTaskSupervisor()
1935 mH.post(() -> { in applyUpdateLockStateLocked()
2983 mH.sendMessage(msg); in setLockScreenShown()
[all …]
DWindowManagerService.java773 final H mH = new H(); field in WindowManagerService
926 Message m = mH.obtainMessage(H.UPDATE_ANIMATION_SCALE, mode, 0); in onChange()
927 mH.sendMessage(m); in onChange()
1326 mKeyguardDisableHandler = KeyguardDisableHandler.create(mContext, mPolicy, mH); in WindowManagerService()
1424 mDragDropController = new DragDropController(this, mH.getLooper()); in WindowManagerService()
1429 mConstants.start(new HandlerExecutor(mH)); in WindowManagerService()
1784 mH.sendMessageDelayed( in addWindow()
1785 mH.obtainMessage(H.WINDOW_HIDE_TIMEOUT, win), in addWindow()
2452 mH.sendMessage(mH.obtainMessage(H.REPARENT_TASK_TO_DEFAULT_DISPLAY, in relayoutWindowInner()
3303 mH.sendEmptyMessage(H.ANIMATION_FAILSAFE); in triggerAnimationFailsafe()
[all …]
DAsyncRotationController.java324 mService.mH.removeCallbacks(mTimeoutRunnable); in onAllCompleted()
452 mService.mH.postDelayed(mTimeoutRunnable, in scheduleTimeout()
579 t.addTransactionCommittedListener(new HandlerExecutor(mService.mH), () -> { in setupStartTransaction()
DTaskPositioningController.java136 mService.mH.post(() -> { in handleTapOutsideTask()
DWallpaperController.java967 mService.mH.removeMessages(WALLPAPER_DRAW_PENDING_TIMEOUT, this); in wallpaperTransitionReady()
968 mService.mH.sendMessageDelayed( in wallpaperTransitionReady()
969 mService.mH.obtainMessage(WALLPAPER_DRAW_PENDING_TIMEOUT, this), in wallpaperTransitionReady()
981 mService.mH.removeMessages(WALLPAPER_DRAW_PENDING_TIMEOUT, this); in wallpaperTransitionReady()
DScreenRecordingCallbackController.java271 mWms.mH.post(() -> { in dispatchCallbacks()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DUnknownAppVisibilityControllerTest.java54 waitHandlerIdle(mWm.mH); in testFlow()
66 waitHandlerIdle(mWm.mH); in testSkipResume()
82 waitHandlerIdle(mWm.mH); in testMultiple()
DTaskPositioningControllerTests.java121 assertTrue(waitHandlerIdle(mWm.mH, TIMEOUT_MS)); in testHandleTapOutsideTask()
147 assertTrue(waitHandlerIdle(mWm.mH, TIMEOUT_MS)); in testHandleTapOutsideNonResizableTask()
DWindowProcessControllerTests.java181 waitHandlerIdle(mAtm.mH); in testSetAnimatingReason()
192 waitHandlerIdle(mAtm.mH); in testSetRunningRemoteAnimation()
206 waitHandlerIdle(mAtm.mH); in testSetRunningBothAnimations()
DWindowStateTests.java1351 waitHandlerIdle(mWm.mH); in testImeTargetChangeListener_OnImeInputTargetVisibilityChanged()
1358 waitHandlerIdle(mWm.mH); in testImeTargetChangeListener_OnImeInputTargetVisibilityChanged()
1400 waitHandlerIdle(mWm.mH); in testImeTargetChangeListener_OnImeTargetOverlayVisibilityChanged_legacy()
1412 waitHandlerIdle(mWm.mH); in testImeTargetChangeListener_OnImeTargetOverlayVisibilityChanged_legacy()
1421 waitHandlerIdle(mWm.mH); in testImeTargetChangeListener_OnImeTargetOverlayVisibilityChanged_legacy()
1459 waitHandlerIdle(mWm.mH); in testImeTargetChangeListener_OnImeTargetOverlayVisibilityChanged()
1471 waitHandlerIdle(mWm.mH); in testImeTargetChangeListener_OnImeTargetOverlayVisibilityChanged()
1480 waitHandlerIdle(mWm.mH); in testImeTargetChangeListener_OnImeTargetOverlayVisibilityChanged()
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestView.java106 private int mH; field in TestView.Grid
121 mH = h; in Grid()
129 int quadH = mH - 1; in Grid()
174 if (j < 0 || j >= mH) { in set()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java87 final Handler mH; field in PendingIntentController
108 mH = new Handler(looper); in PendingIntentController()
268 mH.sendMessage(m); in removePendingIntentsForPackage()
309 mH.sendMessage(m); in cancelIntentSender()
374 mH.sendMessage(m); in makeIntentSenderCanceled()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java68 private Handler mH; field in LightsService
332 mH.postDelayed(this::stopFlashing, onMS); in pulse()
456 mH = new Handler(looper); in LightsService()

123