Home
last modified time | relevance | path

Searched refs:mWmService (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java266 new WindowContainers("mWindowContainers", mWmService);
271 new NonAppWindowContainers("mOverlayContainers", mWmService);
280 private final ImeContainer mImeWindowsContainers = new ImeContainer(mWmService);
282 private final DisplayArea.Root mRootDisplayArea = new DisplayArea.Root(mWmService);
588 synchronized (mWmService.mGlobalLock) {
647 mWmService.mWindowPlacerLocked.debugLayoutRepeats(
657 final Handler handler = mWmService.mH;
712 final boolean gone = (mTmpWindow != null && mWmService.mPolicy.canBeHiddenByKeyguardLw(w))
786 if (mTmpWindow != null && mWmService.mPolicy.canBeHiddenByKeyguardLw(w)) {
817 final WindowSurfacePlacer surfacePlacer = mWmService.mWindowPlacerLocked;
[all …]
DShellRoot.java61 dc.mWmService, client.asBinder(), windowType, true, dc, true, false); in ShellRoot()
104 anim.scaleCurrentDuration(mDisplayContent.mWmService.getWindowAnimationScaleLocked()); in startAnimation()
108 mDisplayContent.mWmService.mSurfaceAnimationRunner); in startAnimation()
146 synchronized (mDisplayContent.mWmService.mGlobalLock) { in setAccessibilityWindow()
156 if (mDisplayContent.mWmService.mAccessibilityController != null) { in setAccessibilityWindow()
157 mDisplayContent.mWmService.mAccessibilityController.onSomeWindowResizedOrMovedLocked( in setAccessibilityWindow()
DRefreshRatePolicy.java34 private final WindowManagerService mWmService; field in RefreshRatePolicy
61 mWmService = wmService; in RefreshRatePolicy()
82 mWmService.requestTraversal(); in addNonHighRefreshRatePackage()
87 mWmService.requestTraversal(); in removeNonHighRefreshRatePackage()
DRootWindowContainer.java476 mWmService.mInputManager.setFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked()
477 mWmService.mPolicy.setTopFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked()
497 mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL, in onChildPositionChanged()
498 !mWmService.mPerDisplayFocusEnabled /* updateInputWindows */); in onChildPositionChanged()
508 final boolean changed = mWmService.mDisplayWindowSettings.updateSettingsForDisplay( in onSettingsRetrieved()
520 final Configuration newConfig = mWmService.computeNewConfiguration( in onSettingsRetrieved()
522 mWmService.mAtmService.updateConfigurationLocked(newConfig, null /* starting */, in onSettingsRetrieved()
700 mWmService.openSurfaceTransaction(); in removeReplacedWindows()
704 mWmService.closeSurfaceTransaction("removeReplacedWindows"); in removeReplacedWindows()
749 if (mWmService.mForceRemoves.contains(w)) { in reclaimSomeSurfaceMemory()
[all …]
DWindowState.java815 return immersiveSticky && mWmService.mConstants.mSystemGestureExcludedByPreQStickyImmersive in isImplicitlyExcludingAllSystemGestures()
875 mPolicy = mWmService.mPolicy; in WindowState()
876 mContext = mWmService.mContext; in WindowState()
1076 final WindowState imeWin = mWmService.mRoot.getCurrentInputMethodWindow(); in computeFrameLw()
1428 mWmService.makeWindowFreezingScreenIfNeededLocked(this); in updateResizingWindowIfNeeded()
1451 if (!mWmService.mResizingWindows.contains(this)) { in updateResizingWindowIfNeeded()
1453 mWmService.mResizingWindows.add(this); in updateResizingWindowIfNeeded()
1462 - mWmService.mDisplayFreezeTime); in updateResizingWindowIfNeeded()
1687 mWmService.scheduleAnimationLocked(); in clearPolicyVisibilityFlag()
1692 mWmService.scheduleAnimationLocked(); in setPolicyVisibilityFlag()
[all …]
DSurfaceFreezer.java54 private final WindowManagerService mWmService; field in SurfaceFreezer
64 mWmService = service; in SurfaceFreezer()
79 mWmService.mTransactionFactory); in freeze()
86 mSnapshot = new Snapshot(mWmService.mSurfaceFactory, t, snapshot, mLeash); in freeze()
117 mWmService.scheduleAnimationLocked(); in unfreeze()
DEmbeddedWindowController.java136 final WindowManagerService mWmService; field in EmbeddedWindowController.EmbeddedWindow
151 mWmService = service; in EmbeddedWindow()
183 mWmService.mInputManager.registerInputChannel(mInputChannel); in openInputChannel()
195 mWmService.mInputManager.unregisterInputChannel(mInputChannel); in onRemoved()
DDockedStackDividerController.java49 if (mDisplayContent.mWmService.mAccessibilityController != null) { in setTouchRegion()
50 mDisplayContent.mWmService.mAccessibilityController.onSomeWindowResizedOrMovedLocked( in setTouchRegion()
DWindowToken.java182 synchronized (mWmService.mGlobalLock) { in binderDied()
297 mWmService.mWindowPlacerLocked.performSurfacePlacement(); in setExiting()
298 mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL, false /*updateInputWindows*/); in setExiting()
340 mWmService.mWindowsChanged = true; in addWindow()
638 app = mWmService.mAtmService.mProcessMap.getProcess(w.mSession.mPid); in notifyFixedRotationTransform()
651 mWmService.mAtmService.getLifecycleManager().scheduleTransaction( in notifyFixedRotationTransform()
785 int layer = mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, in canLayerAboveSystemBars()
787 int navLayer = mWmService.mPolicy.getWindowLayerFromTypeLw(TYPE_NAVIGATION_BAR, in canLayerAboveSystemBars()
793 return mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, mOwnerCanManageAppTokens); in getWindowLayerFromType()
DLetterbox.java197 final WindowManagerService mWmService; field in Letterbox.InputInterceptor
201 mWmService = win.mWmService; in InputInterceptor()
208 mWmService.mInputManager.registerInputChannel(mServerChannel); in InputInterceptor()
242 mWmService.mInputManager.unregisterInputChannel(mServerChannel); in dispose()
DDisplayAreaPolicy.java31 protected final WindowManagerService mWmService; field in DisplayAreaPolicy
64 mWmService = wmService; in DisplayAreaPolicy()
DWindowContainerThumbnail.java91 container.mWmService); in WindowContainerThumbnail()
131 anim.scaleCurrentDuration(mWindowContainer.mWmService.getTransitionAnimationScaleLocked()); in startAnimation()
136 mWindowContainer.mWmService.mSurfaceAnimationRunner), false /* hidden */, in startAnimation()
DDisplayAreaPolicyBuilder.java196 private final int mMaxWindowLayer = mWmService.mPolicy.getMaxWindowLayer();
263 int type = typeOfLayer(mWmService.mPolicy, layer); in attachDisplayAreas()
396 final DisplayArea.Tokens leaf = new DisplayArea.Tokens(parent.mWmService, type, in createArea()
403 return new DisplayArea(parent.mWmService, type, mFeature.mName + ":" in createArea()
DActivityRecord.java677 (matrix, translation) -> mWmService.mH.post(() -> {
678 synchronized (mWmService.mGlobalLock) {
1304 mWmService.scheduleAnimationLocked(); in updateColorTransform()
1349 mWmService.mTransactionFactory); in layoutLetterbox()
1738 mWmService.mTaskSnapshotController.getSnapshot(task.mTaskId, task.mUserId, in addStartingWindow()
1747 mWmService.mTaskSnapshotController.removeSnapshotCache(task.mTaskId); in addStartingWindow()
1764 mWmService.mCurrentUserId); in addStartingWindow()
1812 mStartingData = new SplashScreenStartingData(mWmService, pkg, in addStartingWindow()
1825 mStartingData = new SnapshotStartingData(mWmService, snapshot); in createSnapshot()
1834 if (!mWmService.mAnimationHandler.hasCallbacks(mAddStartingWindow)) { in scheduleAddStartingWindow()
[all …]
DDisplayArea.java203 final WindowManagerPolicy policy = mWmService.mPolicy;
205 if (mWmService.mKeyguardGoingAway) {
247 if (mWmService.mPolicy.isKeyguardHostWindow(win.mAttrs)) { in getOrientation()
DInsetsPolicy.java160 mDisplayContent.mWmService.mAnimator.getChoreographer().postFrameCallback(time -> { in showTransient()
161 synchronized (mDisplayContent.mWmService.mGlobalLock) { in showTransient()
164 synchronized (mDisplayContent.mWmService.mGlobalLock) { in showTransient()
181 synchronized (mDisplayContent.mWmService.mGlobalLock) { in hideTransient()
DDimmer.java143 }, mHost.mWmService); in DimState()
348 mHost.mWmService.mSurfaceAnimationRunner), false /* hidden */, in startAnim()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java109 private WindowManagerService mWmService; field in SystemServicesTestRule
284 mWmService = WindowManagerService.main(
287 spyOn(mWmService);
288 spyOn(mWmService.mRoot);
290 doNothing().when(mWmService.mRoot).updateUIDsPresentOnDisplay();
292 doReturn(true).when(mWmService.mRoot).hasAwakeDisplay();
294 doNothing().when(mWmService.mRoot).ensureActivitiesVisible(any(),
300 mWmService.mTransactionFactory = () -> mTransaction;
301 mWmService.mSurfaceAnimationRunner = new SurfaceAnimationRunner(
302 null, null, mTransaction, mWmService.mPowerManagerInternal);
[all …]
DWindowTokenTests.java167 WindowToken token = new WindowToken(mDisplayContent.mWmService, mock(IBinder.class), in testWindowTokenConstructorSanity()
173 token = new WindowToken(mDisplayContent.mWmService, mock(IBinder.class), TYPE_TOAST, in testWindowTokenConstructorSanity()
179 token = new WindowToken(mDisplayContent.mWmService, mock(IBinder.class), TYPE_TOAST, in testWindowTokenConstructorSanity()
193 final WindowToken fromClientToken = new WindowToken(mDisplayContent.mWmService, in testSurfaceCreatedForWindowToken()
202 final WindowToken nonClientToken = new WindowToken(mDisplayContent.mWmService, in testSurfaceCreatedForWindowToken()
DWindowTestUtils.java61 final ActivityRecord activity = new ActivityBuilder(dc.mWmService.mAtmService).build(); in createTestActivityRecord()
79 SystemServicesTestRule.checkHoldsLock(dc.mWmService.mGlobalLock); in createTestWindowToken()
88 super(dc.mWmService, mock(IBinder.class), type, persistOnEmpty, dc, in TestWindowToken()
DWindowTestsBase.java266 return new ActivityTestsBase.StackBuilder(dc.mWmService.mRoot) in createTaskStackOnDisplay()
277 return new ActivityTestsBase.StackBuilder(tda.mWmService.mRoot) in createTaskStackOnTaskDisplayArea()
312 dc.mWmService.mDisplayWindowSettings.setShouldShowImeLocked(dc, supportIme); in createNewDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayChangeController.java37 private final IWindowManager mWmService; field in DisplayChangeController
68 mWmService = wmService; in DisplayChangeController()
70 mWmService.setDisplayWindowRotationController(mDisplayRotationController); in DisplayChangeController()
DDisplayController.java51 private final IWindowManager mWmService; field in DisplayController
177 mWmService = wmService; in DisplayController()
178 mChangeController = new DisplayChangeController(mHandler, mWmService); in DisplayController()
180 mWmService.registerDisplayWindowListener(mDisplayContainerListener); in DisplayController()
DSystemWindows.java71 IWindowManager mWmService; field in SystemWindows
95 mWmService = wmService; in SystemWindows()
225 mWmService.setShellRootAccessibilityWindow(mDisplayId, windowType, in addView()
241 rootSurface = mWmService.addShellRoot(mDisplayId, win, windowType); in addRoot()
DDisplayImeController.java93 mSystemWindows.mWmService.setDisplayWindowInsetsController(displayId, pd); in onDisplayAdded()
115 mSystemWindows.mWmService.setDisplayWindowInsetsController(displayId, null); in onDisplayRemoved()
268 mSystemWindows.mWmService.modifyDisplayWindowInsets(mDisplayId, mInsetsState); in setVisibleDirectly()

12