Home
last modified time | relevance | path

Searched refs:DisplayContent (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java90 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 …]
DDisplayWindowSettings.java23 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 …]
DWindowManagerService.java1179 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 …]
DTaskPositioningController.java47 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()
DWindowAnimator.java157 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()
DTask.java142 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()
DInsetsSourceProvider.java52 private final DisplayContent mDisplayContent;
71 DisplayContent displayContent) { in InsetsSourceProvider()
184 DisplayContent::layoutAndAssignWindowLayersIfNeeded, mDisplayContent)); in setClientVisible()
DTaskTapPointerEventListener.java41 private final DisplayContent mDisplayContent;
46 DisplayContent displayContent) { in TaskTapPointerEventListener()
DUnknownAppVisibilityController.java63 private final DisplayContent mDisplayContent;
65 UnknownAppVisibilityController(WindowManagerService service, DisplayContent displayContent) { in UnknownAppVisibilityController()
DWindowToken.java109 DisplayContent dc, boolean ownerCanManageAppTokens) { in WindowToken()
115 DisplayContent dc, boolean ownerCanManageAppTokens, boolean roundedCornerOverlay) { in WindowToken()
260 void onDisplayChanged(DisplayContent dc) { in onDisplayChanged()
DTaskStack.java403 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()
DWallpaperVisibilityListeners.java56 void notifyWallpaperVisibilityChanged(DisplayContent displayContent) { in notifyWallpaperVisibilityChanged()
DWindowState.java85 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 …]
DInsetsStateController.java47 private final DisplayContent mDisplayContent;
60 InsetsStateController(DisplayContent displayContent) { in InsetsStateController()
DBlackFrame.java42 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()
DStrictModeFlash.java40 public StrictModeFlash(DisplayContent dc) { in StrictModeFlash()
DWindowManagerShellCommand.java274 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/
DWindowTestsBase.java89 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 …]
DWindowTestUtils.java51 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()
DDisplayContentTests.java234 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 …]
DAppTransitionTests.java66 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()
DDisplayWindowSettingsTests.java87 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()
DAppChangeTransitionTests.java60 public void setUpOnDisplay(DisplayContent dc) { in setUpOnDisplay()
141 final DisplayContent dc1 = createNewDisplay(Display.STATE_ON); in testNoChangeWhenMoveDisplay()
DTaskPositioningControllerTests.java126 final DisplayContent content = mock(DisplayContent.class); in testHandleTapOutsideTask()
DWallpaperControllerTests.java49 final DisplayContent dc = createNewDisplay(); in testWallpaperScreenshot()

123