/frameworks/base/services/core/java/com/android/server/wm/ |
D | TrustedOverlayHost.java | 46 final WindowManagerService mWmService; field in TrustedOverlayHost 49 mWmService = wms; in TrustedOverlayHost() 54 final SurfaceControl.Builder b = mWmService.makeSurfaceBuilder(null) in requireOverlaySurfaceControl() 60 SurfaceControl.Transaction t = mWmService.mTransactionFactory.get(); in requireOverlaySurfaceControl() 93 mWmService.mEmbeddedWindowController.setIsOverlay(p.getInputToken()); in addOverlay() 95 SurfaceControl.Transaction t = mWmService.mTransactionFactory.get(); in addOverlay() 103 final SurfaceControl.Transaction t = mWmService.mTransactionFactory.get(); in removeOverlay() 153 final SurfaceControl.Transaction t = mWmService.mTransactionFactory.get(); in release()
|
D | DisplayContent.java | 335 private final ImeContainer mImeWindowsContainer = new ImeContainer(mWmService); 674 synchronized (mWmService.mGlobalLock) { 759 mWmService.mWindowPlacerLocked.debugLayoutRepeats( 769 final Handler handler = mWmService.mH; 942 final WindowSurfacePlacer surfacePlacer = mWmService.mWindowPlacerLocked; 945 final RootWindowContainer root = mWmService.mRoot; 983 && mWmService.mPolicy.isKeyguardShowing())) { 1074 if (mWmService.mRoot.getDisplayContent(display.getDisplayId()) != null) { in DisplayContent() 1077 + mWmService.mRoot.getDisplayContent(display.getDisplayId()) in DisplayContent() 1082 mAtmService = mWmService.mAtmService; in DisplayContent() [all …]
|
D | ContentRecorder.java | 87 MediaProjectionManager mpm = displayContent.mWmService.mContext.getSystemService( in ContentRecorder() 166 updateMirroredSurface(mDisplayContent.mWmService.mTransactionFactory.get(), in onConfigurationChanged() 195 mDisplayContent.mWmService.mTransactionFactory.get() in pauseRecording() 216 mDisplayContent.mWmService.mTransactionFactory.get().remove(mRecordedSurface).apply(); in stopRecording() 245 mDisplayContent.mWmService.mContentRecordingController.setContentRecordingSessionLocked( in clearContentRecordingSession() 246 null, mDisplayContent.mWmService); in clearContentRecordingSession() 286 mDisplayContent.mWmService.mTransactionFactory.get() in startRecordingIfNeeded() 334 mDisplayContent.mWmService.mWindowContextListenerController.getContainer( in retrieveRecordedWindowContainer() 339 mDisplayContent.mWmService.mDisplayManagerInternal.setWindowManagerMirroring( in retrieveRecordedWindowContainer() 456 mDisplayContent.mWmService.mDisplayManagerInternal.getDisplaySurfaceDefaultSize( in fetchSurfaceSizeIfPresent()
|
D | DisplayRotationCompatPolicy.java | 95 private final WindowManagerService mWmService; field in DisplayRotationCompatPolicy 126 this(displayContent, displayContent.mWmService.mH); in DisplayRotationCompatPolicy() 135 mWmService = displayContent.mWmService; in DisplayRotationCompatPolicy() 136 mCameraManager = mWmService.mContext.getSystemService(CameraManager.class); in DisplayRotationCompatPolicy() 138 mWmService.mContext.getMainExecutor(), mAvailabilityCallback); in DisplayRotationCompatPolicy() 214 || !mWmService.mLetterboxConfiguration.isCameraCompatRefreshEnabled() in onActivityConfigurationChanging() 219 mWmService.mLetterboxConfiguration in onActivityConfigurationChanging() 335 return mWmService.mLetterboxConfiguration.isCameraCompatTreatmentEnabled( in isTreatmentEnabledForDisplay() 406 synchronized (mWmService.mGlobalLock) { in delayedUpdateOrientationWithWmLock() 431 () -> Toast.makeText(mWmService.mContext, stringRes, Toast.LENGTH_LONG).show()); in showToast() [all …]
|
D | RootWindowContainer.java | 487 mWmService.mInputManager.setFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked() 488 mWmService.mPolicy.setTopFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked() 489 mWmService.mAccessibilityController.setFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked() 508 mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL, in onChildPositionChanged() 509 !mWmService.mPerDisplayFocusEnabled /* updateInputWindows */); in onChildPositionChanged() 525 final boolean changed = mWmService.mDisplayWindowSettings.updateSettingsForDisplay( in onSettingsRetrieved() 537 final Configuration newConfig = mWmService.computeNewConfiguration( in onSettingsRetrieved() 539 mWmService.mAtmService.updateConfigurationLocked(newConfig, null /* starting */, in onSettingsRetrieved() 669 mWmService.openSurfaceTransaction(); in removeReplacedWindows() 673 mWmService.closeSurfaceTransaction("removeReplacedWindows"); in removeReplacedWindows() [all …]
|
D | WindowState.java | 970 return stickyHideNav && mWmService.mConstants.mSystemGestureExcludedByPreQStickyImmersive in isImplicitlyExcludingAllSystemGestures() 1131 mPolicy = mWmService.mPolicy; in WindowState() 1132 mContext = mWmService.mContext; in WindowState() 1215 mOverrideScale = mWmService.mAtmService.mCompatModePackages.getCompatScale( in WindowState() 1515 mWmService.mWindowsInsetsChanged--; in updateResizingWindowIfNeeded() 1516 if (mWmService.mWindowsInsetsChanged == 0) { in updateResizingWindowIfNeeded() 1517 mWmService.mH.removeMessages(WindowManagerService.H.INSETS_CHANGED); in updateResizingWindowIfNeeded() 1529 mWmService.makeWindowFreezingScreenIfNeededLocked(this); in updateResizingWindowIfNeeded() 1552 if (!mWmService.mResizingWindows.contains(this)) { in updateResizingWindowIfNeeded() 1554 mWmService.mResizingWindows.add(this); in updateResizingWindowIfNeeded() [all …]
|
D | EmbeddedWindowController.java | 175 final WindowManagerService mWmService; field in EmbeddedWindowController.EmbeddedWindow 205 mWmService = service; in EmbeddedWindow() 237 mInputChannel = mWmService.mInputManager.createInputChannel(name); in openInputChannel() 243 mWmService.mInputManager.removeInputChannel(mInputChannel.getToken()); in onRemoved() 261 return mWmService.mRoot.getDisplayContent(getDisplayId()); in getDisplayContent() 314 mWmService.grantEmbeddedWindowFocus(mSession, mFocusGrantToken, grantFocus); in handleTap() 344 return mWmService.getDefaultDisplayContentLocked().mRemoteInsetsControlTarget; in getImeControlTarget()
|
D | ShellRoot.java | 78 mToken = new WindowToken.Builder(dc.mWmService, client.asBinder(), mWindowType) in ShellRoot() 129 anim.scaleCurrentDuration(mDisplayContent.mWmService.getWindowAnimationScaleLocked()); in startAnimation() 133 mDisplayContent.mWmService.mSurfaceAnimationRunner); in startAnimation() 154 synchronized (mDisplayContent.mWmService.mGlobalLock) { in setAccessibilityWindow()
|
D | DockedTaskDividerController.java | 49 if (mDisplayContent.mWmService.mAccessibilityController.hasCallbacks()) { in setTouchRegion() 50 mDisplayContent.mWmService.mAccessibilityController.onSomeWindowResizedOrMoved( in setTouchRegion()
|
D | RefreshRatePolicy.java | 61 private final WindowManagerService mWmService; field in RefreshRatePolicy 92 mWmService = wmService; in RefreshRatePolicy() 118 mWmService.requestTraversal(); in addRefreshRateRangeForPackage() 123 mWmService.requestTraversal(); in removeRefreshRateRangeForPackage()
|
D | SurfaceFreezer.java | 56 private final @NonNull WindowManagerService mWmService; field in SurfaceFreezer 67 mWmService = service; in SurfaceFreezer() 87 mWmService.mTransactionFactory); in freeze() 150 mWmService.scheduleAnimationLocked(); in unfreezeInner()
|
D | Letterbox.java | 289 private final WindowManagerService mWmService; field in Letterbox.InputInterceptor 293 mWmService = win.mWmService; in InputInterceptor() 295 mClientChannel = mWmService.mInputManager.createInputChannel(name); in InputInterceptor() 296 mInputEventReceiver = new TapEventReceiver(mClientChannel, mWmService.mContext); in InputInterceptor() 326 mWmService.mInputManager.removeInputChannel(mToken); in dispose()
|
D | ImeInsetsSourceProvider.java | 72 ? targetWin.mWmService.getTaskSnapshot(targetWin.getRootTask().mTaskId, in getControl() 116 mWindowContainer.mWmService.mAtmService.mTaskOrganizerController in reportImeDrawnForOrganizer() 127 mDisplayContent.mWmService.mH.obtainMessage( in onSourceChanged() 172 mDisplayContent.mWmService.requestTraversal(); in scheduleShowImePostLayout()
|
D | WindowContainerThumbnail.java | 79 container.mWmService); in WindowContainerThumbnail() 115 anim.scaleCurrentDuration(mWindowContainer.mWmService.getTransitionAnimationScaleLocked()); in startAnimation() 120 mWindowContainer.mWmService.mSurfaceAnimationRunner), false /* hidden */, in startAnimation()
|
D | RootDisplayArea.java | 123 int windowLayerFromType = mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, in findAreaForWindowTypeInLayer() 145 final WindowManagerPolicy policy = mWmService.mPolicy; in updateImeContainerForLayers()
|
D | DisplayAreaPolicy.java | 50 protected final WindowManagerService mWmService; field in DisplayAreaPolicy 65 mWmService = wmService; in DisplayAreaPolicy()
|
D | WindowToken.java | 252 mWmService.mWindowPlacerLocked.performSurfacePlacement(); in setExiting() 253 mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL, false /*updateInputWindows*/); in setExiting() 301 mWmService.mWindowsChanged = true; in addWindow() 743 int navLayer = mWmService.mPolicy.getWindowLayerFromTypeLw(TYPE_NAVIGATION_BAR, in canLayerAboveSystemBars() 749 return mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, mOwnerCanManageAppTokens, in getWindowLayerFromType()
|
D | WallpaperWindowToken.java | 130 mWmService.getRecentsAnimationController(); in updateWallpaperWindows() 131 final BackNaviAnimationController bac = mWmService.getBackNaviAnimationController(); in updateWallpaperWindows()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 127 private WindowManagerService mWmService; field in SystemServicesTestRule 313 mWmService = WindowManagerService.main( 317 spyOn(mWmService); 318 spyOn(mWmService.mRoot); 320 doNothing().when(mWmService.mRoot).updateUIDsPresentOnDisplay(); 322 doReturn(true).when(mWmService.mRoot).hasAwakeDisplay(); 324 doNothing().when(mWmService.mRoot).ensureActivitiesVisible(any(), 326 spyOn(mWmService.mDisplayWindowSettings); 327 spyOn(mWmService.mDisplayWindowSettingsProvider); 332 mWmService.mTransactionFactory = () -> mTransaction; [all …]
|
D | SizeCompatTests.java | 525 mActivity.mWmService.mLetterboxConfiguration.setLetterboxHorizontalPositionMultiplier( in testTranslucentActivitiesWhenUnfolding() 1872 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio(1.1f); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMinAspectRatio() 1903 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio(3); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMaxAspectRatio() 1932 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio( in testDisplayIgnoreOrientationRequest_fixedOrientationAppWithAspectRatioOverride() 1961 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio( in testDisplayIgnoreOrientationRequest_unresizableWithCorrespondingMinAspectRatio() 1963 mActivity.mWmService.mLetterboxConfiguration.setDefaultMinAspectRatioForUnresizableApps( in testDisplayIgnoreOrientationRequest_unresizableWithCorrespondingMinAspectRatio() 1982 final float defaultAspectRatio = mActivity.mWmService.mLetterboxConfiguration in testDisplayIgnoreOrientationRequest_unresizableWithCorrespondingMinAspectRatio() 2067 mActivity.mWmService.mLetterboxConfiguration 2070 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio(1.1f); 2112 activity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio(1.5f); [all …]
|
D | WindowTokenTests.java | 209 final WindowToken fromClientToken = new WindowToken.Builder(mDisplayContent.mWmService, in testSurfaceCreatedForWindowToken() 220 final WindowToken nonClientToken = new WindowToken.Builder(mDisplayContent.mWmService, in testSurfaceCreatedForWindowToken() 235 final WindowToken token1 = new WindowToken.Builder(mDisplayContent.mWmService, in testWindowAttachedWithOptions() 245 final WindowToken token2 = new WindowToken.Builder(mDisplayContent.mWmService, in testWindowAttachedWithOptions()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayChangeController.java | 45 private final IWindowManager mWmService; field in DisplayChangeController 54 mWmService = wmService; in DisplayChangeController() 61 mWmService.setDisplayChangeWindowController(mControllerImpl); in onInit()
|
D | DisplayInsetsController.java | 42 private final IWindowManager mWmService; field in DisplayInsetsController 53 mWmService = wmService; in DisplayInsetsController() 123 mWmService.setDisplayWindowInsetsController(mDisplayId, mInsetsControllerImpl); in register() 131 mWmService.setDisplayWindowInsetsController(mDisplayId, null); in unregister()
|
D | DisplayController.java | 54 private final IWindowManager mWmService; field in DisplayController 65 mWmService = wmService; in DisplayController() 67 mChangeController = new DisplayChangeController(mWmService, shellInit, mainExecutor); in DisplayController() 79 int[] displayIds = mWmService.registerDisplayWindowListener(mDisplayContainerListener); in onInit()
|
D | SystemWindows.java | 65 private final IWindowManager mWmService; field in SystemWindows 87 mWmService = wmService; in SystemWindows() 239 rootSurface = mWmService.addShellRoot(mDisplayId, win, shellRootLayer); in addRoot() 267 mWmService.setShellRootAccessibilityWindow(mDisplayId, shellRootLayer, in setShellRootAccessibilityWindow()
|