Searched refs:mOutputState (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | FlattenerTest.cpp | 91 impl::OutputCompositionState mOutputState; member in android::compositionengine::__anon03a3470e0111::FlattenerTest 141 mOutputState.dataspace = ui::Dataspace::SRGB; in SetUp() 142 mOutputState.framebufferSpace = ProjectionSpace(ui::Size(10, 20), Rect(10, 5)); in SetUp() 143 mOutputState.framebufferSpace.orientation = ui::ROTATION_90; in SetUp() 158 mFlattener->renderCachedSets(mOutputState, std::nullopt); in initializeFlattener() 164 mFlattener->renderCachedSets(mOutputState, std::nullopt); in initializeFlattener() 174 mFlattener->renderCachedSets(mOutputState, std::nullopt); in expectAllLayersFlattened() 184 mFlattener->renderCachedSets(mOutputState, std::nullopt); in expectAllLayersFlattened() 219 mFlattener->renderCachedSets(mOutputState, std::nullopt); in TEST_F() 265 mFlattener->renderCachedSets(mOutputState, std::nullopt); in TEST_F() [all …]
|
D | CachedSetTest.cpp | 87 impl::OutputCompositionState mOutputState; member in android::compositionengine::__anon4506008d0111::CachedSetTest 122 mOutputState.dataspace = ui::Dataspace::SRGB; in SetUp() 123 mOutputState.framebufferSpace = ProjectionSpace(ui::Size(10, 20), Rect(10, 5)); in SetUp() 124 mOutputState.framebufferSpace.orientation = ui::ROTATION_90; in SetUp() 125 mOutputState.layerStackSpace = ProjectionSpace(ui::Size(20, 10), Rect(5, 10)); in SetUp() 349 EXPECT_EQ(mOutputState.framebufferSpace.content, displaySettings.physicalDisplay); in TEST_F() 350 EXPECT_EQ(mOutputState.layerStackSpace.content, displaySettings.clip); in TEST_F() 351 EXPECT_EQ(ui::Transform::toRotationFlags(mOutputState.framebufferSpace.orientation), in TEST_F() 367 mOutputState.isSecure = false; in TEST_F() 368 cachedSet.render(mRenderEngine, mTexturePool, mOutputState); in TEST_F() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbAlsaDevice.java | 46 private int mOutputState; field in UsbAlsaDevice 166 mOutputState = 0; in start() 204 if (outputState != mOutputState) { in updateWiredDeviceConnectionState() 205 mOutputState = outputState; in updateWiredDeviceConnectionState()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 103 EXPECT_CALL(mOutput, getState()).WillRepeatedly(ReturnRef(mOutputState)); in OutputLayerTest() 112 impl::OutputCompositionState mOutputState; member 161 mOutputState.layerStackSpace.content = Rect{0, 0, 1920, 1080}; in OutputLayerSourceCropTest() 232 mOutputState.displaySpace.orientation = toRotation(entry.display); in TEST_F() 246 mOutputState.layerStackSpace.content = Rect{0, 0, 960, 540}; in TEST_F() 268 mOutputState.layerStackSpace.content = Rect{0, 0, 1920, 1080}; in OutputLayerDisplayFrameTest() 269 mOutputState.transform = ui::Transform{TR_IDENT}; in OutputLayerDisplayFrameTest() 316 mOutputState.layerStackSpace.content = Rect{0, 0, 960, 540}; in TEST_F() 322 mOutputState.transform = ui::Transform{HAL_TRANSFORM_ROT_90}; in TEST_F() 402 mOutputState.displaySpace.orientation = toRotation(entry.display); in TEST_F() [all …]
|