Home
last modified time | relevance | path

Searched refs:newDisplay (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTestDisplayContent.java204 final TestDisplayContent newDisplay = createInternal(display); in build() local
206 final DisplayPolicy displayPolicy = newDisplay.getDisplayPolicy(); in build()
209 doReturn(true).when(newDisplay).supportsSystemDecorations(); in build()
215 doReturn(false).when(newDisplay).supportsSystemDecorations(); in build()
226 newDisplay.computeScreenConfiguration(c); in build()
228 newDisplay.onRequestedOverrideConfigurationChanged(c); in build()
230 final DisplayRotation displayRotation = newDisplay.getDisplayRotation(); in build()
236 mService.mRootWindowContainer.addChild(newDisplay, mPosition); in build()
239 newDisplay.onLastFocusedTaskDisplayAreaChanged(newDisplay.getDefaultTaskDisplayArea()); in build()
241 return newDisplay; in build()
H A DActivityTaskSupervisorTests.java171 final DisplayContent newDisplay = addNewDisplayContentAt(DisplayContent.POSITION_TOP); in testHandleNonResizableTaskOnSecondaryDisplay() local
173 .setDisplay(newDisplay).setCreateActivity(true).build(); in testHandleNonResizableTaskOnSecondaryDisplay()
183 mSupervisor.handleNonResizableTaskIfNeeded(task, newDisplay.getWindowingMode(), in testHandleNonResizableTaskOnSecondaryDisplay()
184 newDisplay.getDefaultTaskDisplayArea(), stack); in testHandleNonResizableTaskOnSecondaryDisplay()
196 mSupervisor.handleNonResizableTaskIfNeeded(task, newDisplay.getWindowingMode(), in testHandleNonResizableTaskOnSecondaryDisplay()
197 newDisplay.getDefaultTaskDisplayArea(), stack); in testHandleNonResizableTaskOnSecondaryDisplay()
H A DDisplayContentTests.java1001 final DisplayContent newDisplay = createNewDisplay(); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() local
1008 final WindowState appWin1 = createWindow(null, TYPE_APPLICATION, newDisplay, "appWin1"); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
1009 final Task rootTask1 = newDisplay.getTopRootTask(); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
1018 newDisplay.setInputMethodWindowLocked(null); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
1021 assertNull("newDisplay Ime target: ", newDisplay.getImeTarget(IME_TARGET_LAYERING)); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
1025 newDisplay.setInputMethodWindowLocked(mImeWindow); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
1028 newDisplay.getImeTarget(IME_TARGET_LAYERING)); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
H A DActivityTaskManagerServiceTests.java278 DisplayContent newDisplay = createNewDisplay(displayInfo); in testSetLockScreenShownWithAlwaysUnlockedVirtualDisplay() local
295 newDisplay.getDisplayId()); in testSetLockScreenShownWithAlwaysUnlockedVirtualDisplay()
H A DSizeCompatTests.java753 final DisplayContent newDisplay = in testFixedScreenConfigurationWhenMovingToDisplay() local
763 mTask.reparent(newDisplay.getDefaultTaskDisplayArea(), true /* onTop */); in testFixedScreenConfigurationWhenMovingToDisplay()
928 final DisplayContent newDisplay = new TestDisplayContent.Builder(mAtm, 2000, 1000) in testMoveToDifferentOrientationDisplay() local
932 mTask.reparent(newDisplay.getDefaultTaskDisplayArea(), true /* onTop */); in testMoveToDifferentOrientationDisplay()
940 final Rect newDisplayBounds = newDisplay.getWindowConfiguration().getBounds(); in testMoveToDifferentOrientationDisplay()
H A DWindowStateTests.java531 DisplayContent newDisplay = createNewDisplay(); in testLayoutSeqResetOnReparent() local
533 app.onDisplayChanged(newDisplay); in testLayoutSeqResetOnReparent()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DLogicalDisplayMapper.java1032 LogicalDisplay newDisplay = getDisplayLocked(logicalDisplayId); in applyLayoutLocked() local
1033 if (newDisplay == null) { in applyLayoutLocked()
1034 newDisplay = createNewLogicalDisplayLocked( in applyLayoutLocked()
1040 if (newDisplay != oldDisplay) { in applyLayoutLocked()
1041 newDisplay.swapDisplaysLocked(oldDisplay); in applyLayoutLocked()
1045 newDisplay.setDevicePositionLocked(displayLayout.getPosition()); in applyLayoutLocked()
1046 newDisplay.setLeadDisplayLocked(displayLayout.getLeadDisplayId()); in applyLayoutLocked()
1047 newDisplay.updateLayoutLimitedRefreshRateLocked( in applyLayoutLocked()
1050 newDisplay.updateThermalRefreshRateThrottling( in applyLayoutLocked()
1056 setEnabledLocked(newDisplay, displayLayout.isEnabled()); in applyLayoutLocked()
[all …]