Searched refs:displaySpace (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayDevice_SetProjectionTest.cpp | 87 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/ |
D | Output.cpp | 153 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 …]
|
D | OutputCompositionState.cpp | 46 dumpVal(out, "displaySpace", to_string(displaySpace)); in dump()
|
D | OutputLayerCompositionState.cpp | 74 dumpVal(out, "override display space", to_string(overrideInfo.displaySpace)); in dump()
|
D | Display.cpp | 57 editState().displaySpace.bounds = Rect(args.pixels); in setConfiguration()
|
D | OutputLayer.cpp | 139 ui::Transform::toRotationFlags(outputState.displaySpace.orientation); in calculateOutputSourceCrop() 739 const ui::Transform transform = getState().overrideInfo.displaySpace.getTransform(layerSpace); in getOverrideCompositionList()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 113 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/ |
D | OutputCompositionState.h | 83 ProjectionSpace displaySpace; member
|
D | OutputLayerCompositionState.h | 97 ProjectionSpace displaySpace; member
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 145 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 …]
|
D | OutputLayerTest.cpp | 232 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/ |
D | Flattener.cpp | 328 .displaySpace = mNewCachedSet->getOutputSpace(), in mergeWithCachedSets() 368 .displaySpace = currentLayerIter->getOutputSpace(), in mergeWithCachedSets()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | FlattenerTest.cpp | 275 layerState1->getOutputLayer()->getState().overrideInfo.displaySpace; in TEST_F()
|