Home
last modified time | relevance | path

Searched refs:layerStackSpace (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayDevice_SetProjectionTest.cpp106 EXPECT_EQ(Rect(expectedLogicalSize), compositionState.layerStackSpace.getContent()); in expectDefaultState()
107 EXPECT_EQ(expectedLogicalSize, compositionState.layerStackSpace.getBounds()); in expectDefaultState()
120 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.layerStackSpace.getContent()); in expectStateForHardwareTransform0()
136 compositionState.layerStackSpace.getContent()); in expectStateForHardwareTransform90()
147 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.layerStackSpace.getContent()); in expectStateForHardwareTransform180()
163 compositionState.layerStackSpace.getContent()); in expectStateForHardwareTransform270()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rotation/
DRotationTransition.kt69 this.visibleRegion(testApp).coversExactly(display.layerStackSpace) in <lambda>()
80 this.visibleRegion(testApp).coversExactly(display.layerStackSpace) in <lambda>()
96 val displayArea = display.layerStackSpace in <lambda>()
DRotateSplitNoChangeTest.kt95 leftLayerRegion.plus(rightLayerRegion.region).coversExactly(display.layerStackSpace) in <lambda>()
117 leftLayerRegion.plus(rightLayerRegion.region).coversExactly(display.layerStackSpace) in <lambda>()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonAssertions.kt105 entry.visibleRegion().coversAtLeast(display.layerStackSpace) in LegacyFlickerTest()
113 .forEach { display -> this.visibleRegion().coversAtLeast(display.layerStackSpace) } in LegacyFlickerTest()
118 .forEach { display -> this.visibleRegion().coversAtLeast(display.layerStackSpace) } in LegacyFlickerTest()
188 val displayArea = display.layerStackSpace in assertNavBarPosition()
/frameworks/base/tests/FlickerTests/Rotation/src/com/android/server/wm/flicker/rotation/
DRotationTransition.kt66 this.visibleRegion(testApp).coversAtLeast(display.layerStackSpace) in appLayerRotates_StartingPos()
76 this.visibleRegion(testApp).coversAtLeast(display.layerStackSpace) in appLayerRotates_EndingPos()
DSeamlessAppRotationTest.kt166 entry.visibleRegion(testApp).coversExactly(display.layerStackSpace) in <lambda>()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/open/
DOpenThirdActivityOverSplitTest.kt90 mainActivityRegion.plus(secondaryActivityRegion).coversExactly(display.layerStackSpace) in mainActivityLayersAlwaysVisible()
106 .coversExactly(display.layerStackSpace) in mainActivityLayersAlwaysVisible()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputCompositionState.cpp41 dumpVal(out, "layerStackSpace", to_string(layerStackSpace)); in dump()
DOutput.cpp205 outputState.layerStackSpace.setContent(layerStackSpaceRect); in setProjection()
206 outputState.layerStackSpace.setBounds( in setProjection()
209 outputState.transform = outputState.layerStackSpace.getTransform(outputState.displaySpace); in setProjection()
229 state.transform = state.layerStackSpace.getTransform(state.displaySpace); in setDisplaySize()
388 return outputState.dirtyRegion.intersect(outputState.layerStackSpace.getContent()); in getDirtyRegion()
789 visibleNonShadowRegion.intersect(outputState.layerStackSpace.getContent())); in ensureOutputLayerIfVisible()
794 transparentRegion.intersect(outputState.layerStackSpace.getContent())) in ensureOutputLayerIfVisible()
1401 clientCompositionDisplay.clip = outputState.layerStackSpace.getContent(); in generateClientCompositionDisplaySettings()
1437 const Region viewportRegion(outputState.layerStackSpace.getContent()); in generateClientCompositionRequests()
1504 .viewport = outputState.layerStackSpace.getContent(), in generateClientCompositionRequests()
DOutputLayer.cpp86 const Rect& viewport = getOutput().getState().layerStackSpace.getContent(); in calculateInitialCrop()
197 if (!activeCrop.intersect(outputState.layerStackSpace.getContent(), &activeCrop)) { in calculateOutputDisplayFrame()
233 if (!frame.intersect(outputState.layerStackSpace.getContent(), &frame)) { in calculateOutputDisplayFrame()
754 frame.intersect(outputState.layerStackSpace.getContent(), &frame); in writeCursorPositionToHWC()
868 const ProjectionSpace& layerSpace = getOutput().getState().layerStackSpace; in getOverrideCompositionSettings()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputCompositionState.h75 ProjectionSpace layerStackSpace; member
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DSplitScreenUtils.kt180 wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace in <lambda>()
312 wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace in <lambda>()
330 wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace in <lambda>()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp330 EXPECT_EQ(viewport, mOutput->getState().layerStackSpace.getContent()); in TEST_F()
333 EXPECT_EQ(ui::ROTATION_0, state.layerStackSpace.getOrientation()); in TEST_F()
334 EXPECT_EQ(viewport, state.layerStackSpace.getContent()); in TEST_F()
335 EXPECT_EQ(Rect(0, 0, 20, 20), state.layerStackSpace.getBoundsAsRect()); in TEST_F()
350 state.transform.transform(state.layerStackSpace.getContent())); in TEST_F()
371 EXPECT_EQ(viewport, mOutput->getState().layerStackSpace.getContent()); in TEST_F()
374 EXPECT_EQ(ui::ROTATION_0, state.layerStackSpace.getOrientation()); in TEST_F()
375 EXPECT_EQ(viewport, state.layerStackSpace.getContent()); in TEST_F()
376 EXPECT_EQ(Rect(0, 0, 20, 20), state.layerStackSpace.getBoundsAsRect()); in TEST_F()
391 state.transform.transform(state.layerStackSpace.getContent())); in TEST_F()
[all …]
DDisplayTest.cpp946 mDisplay->editState().layerStackSpace.setContent(Rect(0, 0, 1, 1)); in TEST_F()
965 gpuDisplay->editState().layerStackSpace.setContent(Rect(0, 0, 1, 1)); in TEST_F()
986 gpuDisplay->editState().layerStackSpace.setContent(Rect(0, 0, 1, 1)); in TEST_F()
1007 gpuDisplay->editState().layerStackSpace.setContent(Rect(0, 0, 1, 1)); in TEST_F()
DOutputLayerTest.cpp169 mOutputState.layerStackSpace.setContent(Rect{0, 0, 1920, 1080}); in OutputLayerSourceCropTest()
254 mOutputState.layerStackSpace.setContent(Rect{0, 0, 960, 540}); in TEST_F()
276 mOutputState.layerStackSpace.setContent(Rect{0, 0, 1920, 1080}); in OutputLayerDisplayFrameTest()
324 mOutputState.layerStackSpace.setContent(Rect{0, 0, 960, 540}); in TEST_F()
1438 mOutputState.layerStackSpace.setContent(kDefaultDisplayViewport); in OutputLayerWriteCursorPositionToHWCTest()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DCachedSetTest.cpp134 mOutputState.layerStackSpace = ProjectionSpace(ui::Size(20, 10), Rect(5, 10)); in SetUp()
359 EXPECT_EQ(mOutputState.layerStackSpace.getContent(), displaySettings.clip); in TEST_F()
408 EXPECT_EQ(mOutputState.layerStackSpace.getContent(), displaySettings.clip); in TEST_F()
557 EXPECT_EQ(mOutputState.layerStackSpace.getContent(), displaySettings.clip); in TEST_F()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp339 return mCompositionDisplay->getState().layerStackSpace.getContent(); in getLayerStackSpaceRect()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp167 const Rect& viewport = outputState.layerStackSpace.getContent(); in render()