Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTestDisplayContent.java156 final TestDisplayContent newDisplay = createInternal(display); in build() local
158 final DisplayPolicy displayPolicy = newDisplay.getDisplayPolicy(); in build()
161 doReturn(true).when(newDisplay).supportsSystemDecorations(); in build()
166 doReturn(false).when(newDisplay).supportsSystemDecorations(); in build()
182 newDisplay.computeScreenConfiguration(c); in build()
184 newDisplay.onRequestedOverrideConfigurationChanged(c); in build()
186 final DisplayRotation displayRotation = newDisplay.getDisplayRotation(); in build()
192 mService.mRootWindowContainer.addChild(newDisplay, mPosition); in build()
195 newDisplay.onLastFocusedTaskDisplayAreaChanged(newDisplay.getDefaultTaskDisplayArea()); in build()
197 return newDisplay; in build()
H A DActivityTaskSupervisorTests.java165 final DisplayContent newDisplay = addNewDisplayContentAt(DisplayContent.POSITION_TOP); in testHandleNonResizableTaskOnSecondaryDisplay() local
167 .setDisplay(newDisplay).setCreateActivity(true).build(); in testHandleNonResizableTaskOnSecondaryDisplay()
177 mSupervisor.handleNonResizableTaskIfNeeded(task, newDisplay.getWindowingMode(), in testHandleNonResizableTaskOnSecondaryDisplay()
178 newDisplay.getDefaultTaskDisplayArea(), stack); in testHandleNonResizableTaskOnSecondaryDisplay()
190 mSupervisor.handleNonResizableTaskIfNeeded(task, newDisplay.getWindowingMode(), in testHandleNonResizableTaskOnSecondaryDisplay()
191 newDisplay.getDefaultTaskDisplayArea(), stack); in testHandleNonResizableTaskOnSecondaryDisplay()
H A DDisplayContentTests.java909 final DisplayContent newDisplay = createNewDisplay(); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() local
916 final WindowState appWin1 = createWindow(null, TYPE_APPLICATION, newDisplay, "appWin1"); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
917 final Task rootTask1 = newDisplay.getTopRootTask(); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
926 newDisplay.setInputMethodWindowLocked(null); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
929 assertNull("newDisplay Ime target: ", newDisplay.getImeTarget(IME_TARGET_LAYERING)); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
933 newDisplay.setInputMethodWindowLocked(mImeWindow); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
936 newDisplay.getImeTarget(IME_TARGET_LAYERING)); in testInputMethodTargetUpdateWhenSwitchingOnDisplays()
H A DSizeCompatTests.java218 final DisplayContent newDisplay = in testFixedScreenConfigurationWhenMovingToDisplay() local
228 mTask.reparent(newDisplay.getDefaultTaskDisplayArea(), true /* onTop */); in testFixedScreenConfigurationWhenMovingToDisplay()
392 final DisplayContent newDisplay = new TestDisplayContent.Builder(mAtm, 2000, 1000) in testMoveToDifferentOrientationDisplay() local
396 mTask.reparent(newDisplay.getDefaultTaskDisplayArea(), true /* onTop */); in testMoveToDifferentOrientationDisplay()
404 final Rect newDisplayBounds = newDisplay.getWindowConfiguration().getBounds(); in testMoveToDifferentOrientationDisplay()
H A DWindowStateTests.java490 DisplayContent newDisplay = createNewDisplay(); in testLayoutSeqResetOnReparent() local
492 app.onDisplayChanged(newDisplay); in testLayoutSeqResetOnReparent()
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DLogicalDisplayMapper.java692 LogicalDisplay newDisplay = getDisplayLocked(logicalDisplayId); in applyLayoutLocked() local
693 if (newDisplay == null) { in applyLayoutLocked()
694 newDisplay = createNewLogicalDisplayLocked( in applyLayoutLocked()
700 if (newDisplay != oldDisplay) { in applyLayoutLocked()
701 newDisplay.swapDisplaysLocked(oldDisplay); in applyLayoutLocked()
705 setDisplayPhase(newDisplay, LogicalDisplay.DISPLAY_PHASE_DISABLED); in applyLayoutLocked()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/
H A DClientCompositionRequestCache.cpp82 const renderengine::DisplaySettings& newDisplay, in equals() argument
84 return newDisplay == display && in equals()
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp289 auto newDisplay = in allocatePhysicalDisplay() local
292 newDisplay->setConnected(true); in allocatePhysicalDisplay()
293 displayData.hwcDisplay = std::move(newDisplay); in allocatePhysicalDisplay()