Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java195 mWmService.mInputManager.setFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked()
196 mWmService.mPolicy.setTopFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked()
210 mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL, in onChildPositionChanged()
211 !mWmService.mPerDisplayFocusEnabled /* updateInputWindows */); in onChildPositionChanged()
238 final DisplayContent dc = new DisplayContent(display, mWmService, activityDisplay); in createDisplayContent()
242 mWmService.mDisplayWindowSettings.applySettingsToDisplayLocked(dc); in createDisplayContent()
245 if (mWmService.mDisplayManagerInternal != null) { in createDisplayContent()
246 mWmService.mDisplayManagerInternal.setDisplayInfoOverrideFromWindowManager( in createDisplayContent()
251 mWmService.reconfigureDisplayLocked(dc); in createDisplayContent()
263 final boolean changed = mWmService.mDisplayWindowSettings.updateSettingsForDisplay( in onSettingsRetrieved()
[all …]
DDisplayContent.java254 private final TaskStackContainers mTaskStackContainers = new TaskStackContainers(mWmService);
258 new AboveAppWindowContainers("mAboveAppWindowsContainers", mWmService);
262 new NonAppWindowContainers("mBelowAppWindowsContainers", mWmService);
268 new NonAppWindowContainers("mImeWindowsContainers", mWmService);
598 mWmService.mWindowPlacerLocked.debugLayoutRepeats(
629 final Handler handler = mWmService.mH;
691 final boolean gone = (mTmpWindow != null && mWmService.mPolicy.canBeHiddenByKeyguardLw(w))
751 if (mTmpWindow != null && mWmService.mPolicy.canBeHiddenByKeyguardLw(w)) {
786 final WindowSurfacePlacer surfacePlacer = mWmService.mWindowPlacerLocked;
789 final RootWindowContainer root = mWmService.mRoot;
[all …]
DRefreshRatePolicy.java31 private final WindowManagerService mWmService; field in RefreshRatePolicy
37 mWmService = wmService; in RefreshRatePolicy()
58 mWmService.requestTraversal(); in addNonHighRefreshRatePackage()
63 mWmService.requestTraversal(); in removeNonHighRefreshRatePackage()
DTaskStack.java439 mWmService.setDockedStackCreateStateLocked( in calculateDockedBoundsForConfigChange()
512 mWmService.mContext.getResources(), displayWidth, displayHeight, in snapDockedStackAfterRotation()
622 final DisplayContent targetDc = mWmService.mRoot.getDisplayContent(displayId); in reparent()
641 showForAllUsers || mWmService.isCurrentProfileLocked(task.mUserId); in findPositionForTask()
675 || mWmService.isCurrentProfileLocked(tmpTask.mUserId); in computeMinPosition()
694 || mWmService.isCurrentProfileLocked(tmpTask.mUserId); in computeMaxPosition()
775 return (int)Math.ceil(mWmService.dipToPixel(PINNED_WINDOWING_MODE_ELEVATION_IN_DIP, in getStackOutset()
853 final boolean dockedOnTopOrLeft = mWmService.mDockedStackCreateMode in getStackDockedModeBoundsLocked()
918 if (mWmService.mDockedStackCreateBounds != null) { in getStackDockedModeBounds()
919 outBounds.set(mWmService.mDockedStackCreateBounds); in getStackDockedModeBounds()
[all …]
DAppWindowToken.java328 (matrix, translation) -> mWmService.mH.post(() -> {
329 synchronized (mWmService.mGlobalLock) {
628 mWmService.mAccessibilityController; in commitVisibility()
670 forAllWindows(mWmService::makeWindowFreezingScreenIfNeededLocked, true); in commitVisibility()
681 mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_WILL_PLACE_SURFACES, in commitVisibility()
683 mWmService.mWindowPlacerLocked.performSurfacePlacement(); in commitVisibility()
711 mWmService.mActivityManagerAppTransitionNotifier.onAppTransitionFinishedLocked( in commitVisibility()
735 mWmService.mTaskSnapshotController.notifyAppVisibilityChanged(this, visible); in commitVisibility()
832 mWmService.mRoot.mTopFocusedAppByProcess.get(pid); in windowsAreFocusable()
886 mWmService.mTaskSnapshotController.onAppRemoved(this); in onRemovedFromDisplay()
[all …]
DWindowState.java656 mWmService.markForSeamlessRotation(this, true); in seamlesslyRotateIfAllowed()
665 mWmService.markForSeamlessRotation(this, false); in finishSeamlessRotation()
692 return immersiveSticky && mWmService.mSystemGestureExcludedByPreQStickyImmersive in isImplicitlyExcludingAllSystemGestures()
750 mPolicy = mWmService.mPolicy; in WindowState()
751 mContext = mWmService.mContext; in WindowState()
940 final WindowState imeWin = mWmService.mRoot.getCurrentInputMethodWindow(); in computeFrameLw()
1311 mWmService.makeWindowFreezingScreenIfNeededLocked(this); in updateResizingWindowIfNeeded()
1328 if (!mWmService.mResizingWindows.contains(this)) { in updateResizingWindowIfNeeded()
1330 mWmService.mResizingWindows.add(this); in updateResizingWindowIfNeeded()
1338 - mWmService.mDisplayFreezeTime); in updateResizingWindowIfNeeded()
[all …]
DWindowToken.java172 mWmService.mWindowPlacerLocked.performSurfacePlacement(); in setExiting()
173 mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL, false /*updateInputWindows*/); in setExiting()
210 mWmService.mWindowsChanged = true; in addWindow()
334 int layer = mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, in canLayerAboveSystemBars()
336 int navLayer = mWmService.mPolicy.getWindowLayerFromTypeLw(TYPE_NAVIGATION_BAR, in canLayerAboveSystemBars()
DLetterbox.java169 final WindowManagerService mWmService; field in Letterbox.InputInterceptor
173 mWmService = win.mWmService; in InputInterceptor()
180 mWmService.mInputManager.registerInputChannel(mServerChannel, mToken); in InputInterceptor()
213 mWmService.mInputManager.unregisterInputChannel(mServerChannel); in dispose()
DAppWindowThumbnail.java84 new SurfaceAnimator(this, this::onAnimationFinished, appToken.mWmService); in AppWindowThumbnail()
128 anim.scaleCurrentDuration(mAppToken.mWmService.getTransitionAnimationScaleLocked()); in startAnimation()
133 mAppToken.mWmService.mSurfaceAnimationRunner), false /* hidden */); in startAnimation()
DTask.java352 mWmService.mAtmService.getTaskChangeNotificationController().notifyTaskDisplayChanged( in onDisplayChanged()
383 || mWmService.mForceResizableTasks; in isResizeable()
628 final RecentsAnimationController recentsAnim = mWmService.getRecentsAnimationController(); in isTaskAnimating()
679 mWmService.openSurfaceTransaction(); in forceWindowsScaleable()
685 mWmService.closeSurfaceTransaction("forceWindowsScaleable"); in forceWindowsScaleable()
DDimmer.java141 }, mHost.mWmService); in DimState()
345 mHost.mWmService.mSurfaceAnimationRunner), false /* hidden */); in startAnim()
DInsetsSourceProvider.java183 mDisplayContent.mWmService.mH.sendMessage(PooledLambda.obtainMessage( in setClientVisible()
DInsetsStateController.java217 mDisplayContent.mWmService.mAnimator.addAfterPrepareSurfacesRunnable(() -> { in notifyPendingInsetsControlChanged()
DWindowContainer.java126 protected final WindowManagerService mWmService; field in WindowContainer
143 mWmService = wms; in WindowContainer()
1332 mWmService.onAnimationFinished(); in onAnimationFinished()
DWindowStateAnimator.java237 final WindowManagerService service = win.mWmService; in WindowStateAnimator()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestUtils.java58 synchronized (dc.mWmService.mGlobalLock) { in createTestAppWindowToken()
68 super(dc.mWmService, new IApplicationToken.Stub() { in TestAppWindowToken()
108 synchronized (dc.mWmService.mGlobalLock) { in createTestWindowToken()
117 super(dc.mWmService, mock(IBinder.class), type, persistOnEmpty, dc, in TestWindowToken()
169 return new TestTask(sNextTaskId++, stack, 0, stack.mWmService, RESIZE_MODE_UNRESIZEABLE, in createTestTask()
DAppWindowTokenTests.java432 ((TestWindowManagerPolicy) token1.mWmService.mPolicy).setRunnableWhenAddingSplashScreen( in testTransferStartingWindowWhileCreating()
DWindowContainerTests.java807 return addChildWindow(new TestWindowContainerBuilder(mWmService).setLayer(1)); in addChildWindow()