Home
last modified time | relevance | path

Searched refs:framebufferSpace (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DCachedSetTest.cpp132 mOutputState.framebufferSpace = ProjectionSpace(ui::Size(10, 20), Rect(10, 5)); in SetUp()
133 mOutputState.framebufferSpace.setOrientation(ui::ROTATION_90); in SetUp()
358 EXPECT_EQ(mOutputState.framebufferSpace.getContent(), displaySettings.physicalDisplay); in TEST_F()
360 EXPECT_EQ(ui::Transform::toRotationFlags(mOutputState.framebufferSpace.getOrientation()), in TEST_F()
377 EXPECT_EQ(mOutputState.framebufferSpace, cachedSet.getOutputSpace()); in TEST_F()
407 EXPECT_EQ(mOutputState.framebufferSpace.getContent(), displaySettings.physicalDisplay); in TEST_F()
409 EXPECT_EQ(ui::Transform::toRotationFlags(mOutputState.framebufferSpace.getOrientation()), in TEST_F()
427 EXPECT_EQ(mOutputState.framebufferSpace, cachedSet.getOutputSpace()); in TEST_F()
474 EXPECT_EQ(mOutputState.framebufferSpace, cachedSet.getOutputSpace()); in TEST_F()
524 EXPECT_EQ(mOutputState.framebufferSpace, cachedSet.getOutputSpace()); in TEST_F()
[all …]
DFlattenerTest.cpp147 mOutputState.framebufferSpace = ProjectionSpace(ui::Size(10, 20), Rect(10, 5)); in SetUp()
148 mOutputState.framebufferSpace.setOrientation(ui::ROTATION_90); in SetUp()
337 EXPECT_EQ(overrideDisplaySpace, mOutputState.framebufferSpace); in TEST_F()
544 mOutputState.framebufferSpace.setOrientation(ui::ROTATION_90); in TEST_F()
557 mOutputState.framebufferSpace.setOrientation(ui::ROTATION_180); in TEST_F()
584 mOutputState.framebufferSpace.setOrientation(ui::ROTATION_270); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp170 ui::Transform::toRotationFlags(outputState.framebufferSpace.getOrientation()); in render()
173 .physicalDisplay = outputState.framebufferSpace.getContent(), in render()
284 mOutputSpace = outputState.framebufferSpace; in render()
287 mOutputSpace.setOrientation(outputState.framebufferSpace.getOrientation()); in render()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputCompositionState.cpp43 dumpVal(out, "framebufferSpace", to_string(framebufferSpace)); in dump()
DOutput.cpp196 outputState.framebufferSpace.setOrientation(orientation); in setProjection()
197 LOG_FATAL_IF(outputState.framebufferSpace.getBoundsAsRect() == Rect::INVALID_RECT, in setProjection()
200 outputState.framebufferSpace.getBoundsAsRect()); in setProjection()
201 outputState.framebufferSpace.setContent( in setProjection()
225 state.framebufferSpace.setBounds(newBounds); in setDisplaySize()
367 editState().framebufferSpace.setBounds(size); in setRenderSurface()
1400 clientCompositionDisplay.physicalDisplay = outputState.framebufferSpace.getContent(); in generateClientCompositionDisplaySettings()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputCompositionState.h84 ProjectionSpace framebufferSpace; member
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayDevice_SetProjectionTest.cpp96 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.framebufferSpace.getContent()); in expectDefaultState()
97 EXPECT_EQ(mHardwareDisplaySize, compositionState.framebufferSpace.getBounds()); in expectDefaultState()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp319 mOutput->editState().framebufferSpace.setBounds( in TEST_F()
345 EXPECT_EQ(displayRect, state.framebufferSpace.getBoundsAsRect()); in TEST_F()
346 EXPECT_EQ(Rect(900, 50, 940, 100), state.framebufferSpace.getContent()); in TEST_F()
347 EXPECT_EQ(orientation, state.framebufferSpace.getOrientation()); in TEST_F()
360 mOutput->editState().framebufferSpace.setBounds( in TEST_F()
386 EXPECT_EQ(framebufferRect, state.framebufferSpace.getBoundsAsRect()); in TEST_F()
387 EXPECT_EQ(Rect(450, 25, 470, 50), state.framebufferSpace.getContent()); in TEST_F()
388 EXPECT_EQ(orientation, state.framebufferSpace.getOrientation()); in TEST_F()
403 mOutput->editState().framebufferSpace.setContent(Rect(0, 0, 900, 1800)); in TEST_F()
404 mOutput->editState().framebufferSpace.setBounds(ui::Size(1000, 2000)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp265 ui::Size bounds = state.framebufferSpace.getBounds(); in setProjection()