Home
last modified time | relevance | path

Searched refs:displaySpace (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayDevice_SetProjectionTest.cpp87 EXPECT_EQ(ui::ROTATION_0, compositionState.displaySpace.orientation); in expectStateForHardwareTransform0()
88 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.displaySpace.content); in expectStateForHardwareTransform0()
99 EXPECT_EQ(ui::ROTATION_90, compositionState.displaySpace.orientation); in expectStateForHardwareTransform90()
100 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.displaySpace.content); in expectStateForHardwareTransform90()
114 EXPECT_EQ(ui::ROTATION_180, compositionState.displaySpace.orientation); in expectStateForHardwareTransform180()
125 EXPECT_EQ(ui::ROTATION_270, compositionState.displaySpace.orientation); in expectStateForHardwareTransform270()
126 EXPECT_EQ(Rect(mHardwareDisplaySize), compositionState.displaySpace.content); in expectStateForHardwareTransform270()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp153 outputState.displaySpace.orientation = orientation; in setProjection()
154 LOG_FATAL_IF(outputState.displaySpace.bounds == Rect::INVALID_RECT, in setProjection()
158 ui::Size orientedSize = outputState.displaySpace.bounds.getSize(); in setProjection()
169 const auto displaySize = outputState.displaySpace.bounds; in setProjection()
172 outputState.displaySpace.content = rotation.transform(orientedDisplaySpaceRect); in setProjection()
179 getScale(outputState.displaySpace.bounds, outputState.framebufferSpace.bounds); in setProjection()
180 outputState.framebufferSpace.content = outputState.displaySpace.content.scale(scale.x, scale.y); in setProjection()
186 outputState.transform = outputState.layerStackSpace.getTransform(outputState.displaySpace); in setProjection()
201 state.displaySpace.bounds = newBounds; in setDisplaySize()
202 state.transform = state.layerStackSpace.getTransform(state.displaySpace); in setDisplaySize()
[all …]
DOutputCompositionState.cpp46 dumpVal(out, "displaySpace", to_string(displaySpace)); in dump()
DOutputLayerCompositionState.cpp74 dumpVal(out, "override display space", to_string(overrideInfo.displaySpace)); in dump()
DDisplay.cpp57 editState().displaySpace.bounds = Rect(args.pixels); in setConfiguration()
DOutputLayer.cpp139 ui::Transform::toRotationFlags(outputState.displaySpace.orientation); in calculateOutputSourceCrop()
739 const ui::Transform transform = getState().overrideInfo.displaySpace.getTransform(layerSpace); in getOverrideCompositionList()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp113 return mCompositionDisplay->getState().displaySpace.bounds.getWidth(); in getWidth()
117 return mCompositionDisplay->getState().displaySpace.bounds.getHeight(); in getHeight()
239 orientedDisplaySpaceRect = getCompositionDisplay()->getState().displaySpace.bounds; in setProjection()
310 return mCompositionDisplay->getState().displaySpace.bounds; in getBounds()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputCompositionState.h83 ProjectionSpace displaySpace; member
DOutputLayerCompositionState.h97 ProjectionSpace displaySpace; member
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp145 mOutput->editState().displaySpace.bounds = kDefaultDisplaySize; in OutputTest()
291 mOutput->editState().displaySpace.bounds = displayRect; in TEST_F()
300 EXPECT_EQ(orientation, mOutput->getState().displaySpace.orientation); in TEST_F()
313 EXPECT_EQ(displayRect, state.displaySpace.bounds); in TEST_F()
314 EXPECT_EQ(Rect(900, 50, 940, 100), state.displaySpace.content); in TEST_F()
315 EXPECT_EQ(orientation, state.displaySpace.orientation); in TEST_F()
321 EXPECT_EQ(state.displaySpace.content, state.transform.transform(state.layerStackSpace.content)); in TEST_F()
329 mOutput->editState().displaySpace.bounds = displayRect; in TEST_F()
338 EXPECT_EQ(orientation, mOutput->getState().displaySpace.orientation); in TEST_F()
351 EXPECT_EQ(displayRect, state.displaySpace.bounds); in TEST_F()
[all …]
DOutputLayerTest.cpp232 mOutputState.displaySpace.orientation = toRotation(entry.display); in TEST_F()
402 mOutputState.displaySpace.orientation = toRotation(entry.display); in TEST_F()
514 mOutputState.displaySpace.orientation = toRotation(entry.display); in TEST_F()
945 mOutputState.displaySpace.orientation = ui::ROTATION_0; in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DFlattener.cpp328 .displaySpace = mNewCachedSet->getOutputSpace(), in mergeWithCachedSets()
368 .displaySpace = currentLayerIter->getOutputSpace(), in mergeWithCachedSets()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DFlattenerTest.cpp275 layerState1->getOutputLayer()->getState().overrideInfo.displaySpace; in TEST_F()