Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackSupervisorTests.java117 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testHandleNonResizableTaskOnSecondaryDisplay() local
119 .setDisplay(newDisplay).build(); in testHandleNonResizableTaskOnSecondaryDisplay()
129 mSupervisor.handleNonResizableTaskIfNeeded(task, newDisplay.getWindowingMode(), in testHandleNonResizableTaskOnSecondaryDisplay()
130 newDisplay.mDisplayId, stack); in testHandleNonResizableTaskOnSecondaryDisplay()
142 mSupervisor.handleNonResizableTaskIfNeeded(task, newDisplay.getWindowingMode(), in testHandleNonResizableTaskOnSecondaryDisplay()
143 newDisplay.mDisplayId, stack); in testHandleNonResizableTaskOnSecondaryDisplay()
DDisplayContentTests.java629 final DisplayContent newDisplay = createNewDisplay(); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() local
632 final WindowState appWin1 = createWindow(null, TYPE_APPLICATION, newDisplay, "appWin1"); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
639 newDisplay.setInputMethodWindowLocked(null); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
642 assertNull("newDisplay Ime target: ", newDisplay.mInputMethodTarget); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
646 newDisplay.setInputMethodWindowLocked(mImeWindow); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
649 appWin1.equals(newDisplay.mInputMethodTarget)); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
DActivityRecordTests.java491 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay() local
492 newDisplay.getWindowConfiguration().setAppBounds(new Rect(0, 0, 1000, 2000)); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
493 newDisplay.getConfiguration().densityDpi = 300; in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
502 mStack.reparent(newDisplay, true /* onTop */, false /* displayRemoved */); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
DWindowStateTests.java400 DisplayContent newDisplay = createNewDisplay(); in testLayoutSeqResetOnReparent() local
402 app.onDisplayChanged(newDisplay); in testLayoutSeqResetOnReparent()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp184 auto newDisplay = std::make_unique<impl::Display>(*mComposer.get(), mCapabilities, in onHotplug() local
186 newDisplay->setConnected(true); in onHotplug()
187 mDisplays.emplace(displayId, std::move(newDisplay)); in onHotplug()