/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 90 class RootWindowContainer extends WindowContainer<DisplayContent> 172 final DisplayContent dc = mChildren.get(i); in updateFocusedWindowLocked() 203 DisplayContent getTopFocusedDisplayContent() { in getTopFocusedDisplayContent() 204 final DisplayContent dc = getDisplayContent(mTopFocusedDisplayId); in getTopFocusedDisplayContent() 214 DisplayContent getDisplayContent(int displayId) { in getDisplayContent() 216 final DisplayContent current = mChildren.get(i); in getDisplayContent() 224 DisplayContent createDisplayContent(final Display display, ActivityDisplay activityDisplay) { in createDisplayContent() 230 final DisplayContent existing = getDisplayContent(displayId); in createDisplayContent() 238 final DisplayContent dc = new DisplayContent(display, mWmService, activityDisplay); in createDisplayContent() 262 final DisplayContent displayContent = mChildren.get(displayNdx); in onSettingsRetrieved() [all …]
|
D | DisplayWindowSettings.java | 23 import static com.android.server.wm.DisplayContent.FORCE_SCALING_MODE_AUTO; 24 import static com.android.server.wm.DisplayContent.FORCE_SCALING_MODE_DISABLED; 47 import com.android.server.wm.DisplayContent.ForceScalingMode; 214 void setUserRotation(DisplayContent displayContent, int rotationMode, int rotation) { in setUserRotation() 222 void setForcedSize(DisplayContent displayContent, int width, int height) { in setForcedSize() 237 void setForcedDensity(DisplayContent displayContent, int density, int userId) { in setForcedDensity() 251 void setForcedScalingMode(DisplayContent displayContent, @ForceScalingMode int mode) { in setForcedScalingMode() 264 void setFixedToUserRotation(DisplayContent displayContent, in setFixedToUserRotation() 293 int getWindowingModeLocked(DisplayContent dc) { in getWindowingModeLocked() 299 void setWindowingModeLocked(DisplayContent dc, int mode) { in setWindowingModeLocked() [all …]
|
D | WindowManagerService.java | 1179 mRoot.forAllDisplays(DisplayContent::updateSystemGestureExclusionLimit); in WindowManagerService() 1262 final DisplayContent displayContent = getDisplayContentOrCreate(displayId, attrs.token); in addWindow() 1654 private DisplayContent getDisplayContentOrCreate(int displayId, IBinder token) { in getDisplayContentOrCreate() 1662 DisplayContent displayContent = mRoot.getDisplayContent(displayId); in getDisplayContentOrCreate() 1719 final DisplayContent dc = atoken.getDisplayContent(); in prepareWindowReplacementTransition() 1734 final DisplayContent dc = atoken.getDisplayContent(); in prepareNoneTransitionForRelaunching() 1797 final DisplayContent dc = win.getDisplayContent(); in postWindowRemoveCleanupLocked() 1807 final DisplayContent displayContent = win.getDisplayContent(); in postWindowRemoveCleanupLocked() 2009 final DisplayContent displayContent = win.getDisplayContent(); in relayoutWindow() 2019 final DisplayContent dc = win.getDisplayContent(); in relayoutWindow() [all …]
|
D | TaskPositioningController.java | 47 private DisplayContent mPositioningDisplay; 81 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in showInputSurface() 124 void handleTapOutsideTask(DisplayContent displayContent, int x, int y) { in handleTapOutsideTask() 159 final DisplayContent displayContent = win.getDisplayContent(); in startPositioningLocked()
|
D | WindowAnimator.java | 157 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in animate() 188 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in animate() 283 final DisplayContent dc = in dumpLocked() 312 final DisplayContent displayContent = mService.mRoot.getDisplayContent(displayId); in getPendingLayoutChanges() 320 final DisplayContent displayContent = mService.mRoot.getDisplayContent(displayId); in setPendingLayoutChanges()
|
D | Task.java | 142 DisplayContent getDisplayContent() { in getDisplayContent() 225 final DisplayContent prevDisplayContent = getDisplayContent(); in reparent() 241 final DisplayContent displayContent = stack.getDisplayContent(); in reparent() 309 final DisplayContent displayContent = mStack.getDisplayContent(); in setBounds() 348 void onDisplayChanged(DisplayContent dc) { in onDisplayChanged() 485 final DisplayContent displayContent = mStack.getDisplayContent(); in getDimBounds() 544 private void adjustBoundsForDisplayChangeIfNeeded(final DisplayContent displayContent) { in adjustBoundsForDisplayChangeIfNeeded()
|
D | InsetsSourceProvider.java | 52 private final DisplayContent mDisplayContent; 71 DisplayContent displayContent) { in InsetsSourceProvider() 184 DisplayContent::layoutAndAssignWindowLayersIfNeeded, mDisplayContent)); in setClientVisible()
|
D | TaskTapPointerEventListener.java | 41 private final DisplayContent mDisplayContent; 46 DisplayContent displayContent) { in TaskTapPointerEventListener()
|
D | UnknownAppVisibilityController.java | 63 private final DisplayContent mDisplayContent; 65 UnknownAppVisibilityController(WindowManagerService service, DisplayContent displayContent) { in UnknownAppVisibilityController()
|
D | WindowToken.java | 109 DisplayContent dc, boolean ownerCanManageAppTokens) { in WindowToken() 115 DisplayContent dc, boolean ownerCanManageAppTokens, boolean roundedCornerOverlay) { in WindowToken() 260 void onDisplayChanged(DisplayContent dc) { in onDisplayChanged()
|
D | TaskStack.java | 403 final DisplayContent displayContent = getDisplayContent(); in calculatePinnedBoundsForConfigChange() 576 final DisplayContent displayContent = getDisplayContent(); in positionChildAtTop() 622 final DisplayContent targetDc = mWmService.mRoot.getDisplayContent(displayId); in reparent() 769 DisplayContent displayContent = getDisplayContent(); in getStackOutset() 820 void onDisplayChanged(DisplayContent dc) { in onDisplayChanged() 1444 int getDockSideForDisplay(DisplayContent dc) { in getDockSideForDisplay() 1455 private int getDockSide(DisplayContent dc, Configuration parentConfig, Rect bounds) { in getDockSide() 1472 DisplayContent.TaskForResizePointSearchResult results) { in findTaskForResizePoint() 1674 final DisplayContent displayContent = getDisplayContent(); in getPictureInPictureBounds() 1740 final DisplayContent displayContent = getDisplayContent(); in animateResizePinnedStack()
|
D | WallpaperVisibilityListeners.java | 56 void notifyWallpaperVisibilityChanged(DisplayContent displayContent) { in notifyWallpaperVisibilityChanged()
|
D | WindowState.java | 85 import static com.android.server.wm.DisplayContent.logsGestureExclusionRestrictions; 331 private final ArraySet<DisplayContent> mEmbeddedDisplayContents = new ArraySet<>(); 926 final DisplayContent dc = getDisplayContent(); in computeFrameLw() 1118 final DisplayContent displayContent = getDisplayContent(); in computeFrameLw() 1367 DisplayContent getDisplayContent() { in getDisplayContent() 1372 void onDisplayChanged(DisplayContent dc) { in onDisplayChanged() 1382 final DisplayContent displayContent = getDisplayContent(); in getDisplayInfo() 1388 final DisplayContent displayContent = getDisplayContent(); in getDisplayId() 1408 final DisplayContent dc = getDisplayContent(); in getStack() 1753 final DisplayContent displayContent = getDisplayContent(); in onSetAppExiting() [all …]
|
D | InsetsStateController.java | 47 private final DisplayContent mDisplayContent; 60 InsetsStateController(DisplayContent displayContent) { in InsetsStateController()
|
D | BlackFrame.java | 42 int l, int t, int r, int b, DisplayContent dc) throws OutOfResourcesException { in BlackSurface() 116 Rect inner, int layer, DisplayContent dc, boolean forceDefaultOrientation) in BlackFrame()
|
D | StrictModeFlash.java | 40 public StrictModeFlash(DisplayContent dc) { in StrictModeFlash()
|
D | WindowManagerShellCommand.java | 274 DisplayContent.FORCE_SCALING_MODE_AUTO); in runDisplayScaling() 277 DisplayContent.FORCE_SCALING_MODE_DISABLED); in runDisplayScaling()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestsBase.java | 89 DisplayContent mDisplayContent; 215 final DisplayContent displayContent = mWm.mRoot.mChildren.get(i); in tearDownBase() 258 DisplayContent dc, int windowingMode, int activityType, int type) { in createWindowToken() 268 AppWindowToken createAppWindowToken(DisplayContent dc, int windowingMode, int activityType) { in createAppWindowToken() 272 WindowTestUtils.TestAppWindowToken createTestAppWindowToken(DisplayContent dc, int in createTestAppWindowToken() 299 int type, DisplayContent dc, String name) { in createWindowOnStack() 314 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name) { in createWindow() 322 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name, in createWindow() 331 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name, in createWindow() 381 TaskStack createTaskStackOnDisplay(DisplayContent dc) { in createTaskStackOnDisplay() [all …]
|
D | WindowTestUtils.java | 51 static TestAppWindowToken createAppWindowTokenInTask(DisplayContent dc, Task task) { in createAppWindowTokenInTask() 57 static TestAppWindowToken createTestAppWindowToken(DisplayContent dc) { in createTestAppWindowToken() 67 private TestAppWindowToken(DisplayContent dc) { in TestAppWindowToken() 102 static TestWindowToken createTestWindowToken(int type, DisplayContent dc) { in createTestWindowToken() 106 static TestWindowToken createTestWindowToken(int type, DisplayContent dc, in createTestWindowToken() 116 private TestWindowToken(int type, DisplayContent dc, boolean persistOnEmpty) { in TestWindowToken() 153 void onDisplayChanged(DisplayContent dc) { in onDisplayChanged()
|
D | DisplayContentTests.java | 234 final DisplayContent dc = createNewDisplay(); in testMoveStackBetweenDisplays() 282 DisplayContent defaultDisplay = mWm.mRoot.getDisplayContent(DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfigUpdate() 309 DisplayContent dc0 = mWm.getDefaultDisplayContentLocked(); in testInputEventBringsCorrectDisplayInFocus() 311 final DisplayContent dc1 = createNewDisplay(); in testInputEventBringsCorrectDisplayInFocus() 371 final DisplayContent dc = createNewDisplay(); in doTestFocusedWindowMultipleDisplays() 406 final DisplayContent displayContent = createDisplayNoUpdateDisplayInfo(); in testMaxUiWidth() 440 final DisplayContent dc = createNewDisplay(); in testDisplayCutout_rot0() 461 final DisplayContent dc = createDisplayNoUpdateDisplayInfo(); in testDisplayCutout_rot90() 503 final DisplayContent dc = createNewDisplay(); in testLayoutSeq_assignedDuringLayout() 516 final DisplayContent dc = createNewDisplay(); in testOrientationDefinedByKeyguard() [all …]
|
D | AppTransitionTests.java | 66 private DisplayContent mDc; 122 final DisplayContent dc1 = createNewDisplay(Display.STATE_ON); in testAppTransitionStateForMultiDisplay() 123 final DisplayContent dc2 = createNewDisplay(Display.STATE_ON); in testAppTransitionStateForMultiDisplay() 158 final DisplayContent dc1 = createNewDisplay(Display.STATE_ON); in testCleanAppTransitionWhenTaskStackReparent() 159 final DisplayContent dc2 = createNewDisplay(Display.STATE_ON); in testCleanAppTransitionWhenTaskStackReparent() 190 DisplayContent dc = createNewDisplay(Display.STATE_ON); in testLoadAnimationSafely() 197 final DisplayContent dc = createNewDisplay(Display.STATE_ON); in testCancelRemoteAnimationWhenFreeze()
|
D | DisplayWindowSettingsTests.java | 87 private DisplayContent mPrimaryDisplay; 88 private DisplayContent mSecondaryDisplay; 89 private DisplayContent mPrivateDisplay; 268 mTarget.setForcedScalingMode(mSecondaryDisplay, DisplayContent.FORCE_SCALING_MODE_DISABLED); in testSetForcedScalingMode() 274 DisplayContent.FORCE_SCALING_MODE_AUTO); in testSetForcedScalingMode() 596 final DisplayContent dc = createMockSimulatedDisplay(); in testShouldShowImeWithinForceDesktopMode() 634 private void readAndAssertDisplaySettings(DisplayContent displayContent) { in readAndAssertDisplaySettings() 675 private static void assertOverscan(DisplayContent display, int left, int top, int right, in assertOverscan() 690 private void applySettingsToDisplayByNewInstance(DisplayContent display) { in applySettingsToDisplayByNewInstance()
|
D | AppChangeTransitionTests.java | 60 public void setUpOnDisplay(DisplayContent dc) { in setUpOnDisplay() 141 final DisplayContent dc1 = createNewDisplay(Display.STATE_ON); in testNoChangeWhenMoveDisplay()
|
D | TaskPositioningControllerTests.java | 126 final DisplayContent content = mock(DisplayContent.class); in testHandleTapOutsideTask()
|
D | WallpaperControllerTests.java | 49 final DisplayContent dc = createNewDisplay(); in testWallpaperScreenshot()
|