Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp228 void DisplayDevice::setProjection(ui::Rotation orientation, Rect layerStackSpaceRect, in setProjection() argument
242 if (layerStackSpaceRect.isEmpty()) { in setProjection()
245 layerStackSpaceRect = getCompositionDisplay()->getState().framebufferSpace.bounds; in setProjection()
247 std::swap(layerStackSpaceRect.right, layerStackSpaceRect.bottom); in setProjection()
254 getCompositionDisplay()->setProjection(transformOrientation, layerStackSpaceRect, in setProjection()
DDisplayDevice.h255 Rect layerStackSpaceRect; member
DSurfaceFlinger.cpp940 state->layerStackSpaceRect = in getDisplayState()
2724 display->setProjection(state.orientation, state.layerStackSpaceRect, in setupNewDisplayDeviceInternal()
2893 (currentState.layerStackSpaceRect != drawingState.layerStackSpaceRect) || in processDisplayChanged()
2895 display->setProjection(currentState.orientation, currentState.layerStackSpaceRect, in processDisplayChanged()
3869 if (state.layerStackSpaceRect != s.layerStackSpaceRect) { in setDisplayStateLocked()
3870 state.layerStackSpaceRect = s.layerStackSpaceRect; in setDisplayStateLocked()
4512 d.layerStackSpaceRect.makeInvalid(); in onInitializeDisplays()
6082 Rect layerStackSpaceRect; in captureLayers() local
6137 layerStackSpaceRect = display->getLayerStackSpaceRect(); in captureLayers()
6163 childrenOnly, layerStackSpaceRect, in captureLayers()
[all …]
DSurfaceInterceptor.cpp166 display.layerStackSpaceRect, display.orientedDisplaySpaceRect); in addInitialDisplayStateLocked()
493 state.layerStackSpaceRect, state.orientedDisplaySpaceRect); in addDisplayChangesLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetDisplayStateTest.cpp243 display.mutableCurrentDisplayState().layerStackSpaceRect = initialLayerStackRect; in TEST_F()
251 state.layerStackSpaceRect = initialLayerStackRect; in TEST_F()
269 EXPECT_EQ(initialLayerStackRect, display.getCurrentDisplayState().layerStackSpaceRect); in TEST_F()
358 display.mutableCurrentDisplayState().layerStackSpaceRect = initialLayerStackRect; in TEST_F()
364 state.layerStackSpaceRect = desiredLayerStackRect; in TEST_F()
378 EXPECT_EQ(desiredLayerStackRect, display.getCurrentDisplayState().layerStackSpaceRect); in TEST_F()
DSurfaceFlinger_OnInitializeDisplaysTest.cpp75 EXPECT_EQ(Rect::INVALID_RECT, primaryDisplayState.layerStackSpaceRect); in TEST_F()
DSurfaceFlinger_HandleTransactionLockedTest.cpp593 display.mutableDrawingDisplayState().layerStackSpaceRect = oldLayerStackRect; in TEST_F()
594 display.mutableCurrentDisplayState().layerStackSpaceRect = newLayerStackRect; in TEST_F()
756 display.mutableDrawingDisplayState().layerStackSpaceRect = kOldSize; in TEST_F()
761 display.mutableCurrentDisplayState().layerStackSpaceRect = kNewSize; in TEST_F()
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayState.h35 Size layerStackSpaceRect; member
/frameworks/native/libs/ui/include/ui/
DDisplayState.h35 Size layerStackSpaceRect; member
/frameworks/native/services/surfaceflinger/tests/
DMultiDisplayLayerBounds_test.cpp93 createDisplay(mMainDisplayState.layerStackSpaceRect, 1 /* layerStack */); in TEST_F()
116 createDisplay(mMainDisplayState.layerStackSpaceRect, 0 /* layerStack */); in TEST_F()
DTransactionTestHarnesses.h70 Rect(displayState.layerStackSpaceRect), Rect(resolution)); in getScreenCapture()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp277 Rect layerStackRect(displayState.layerStackSpaceRect); in setDisplayProjection()
699 const ui::Size& layerStackSpaceRect = displayState.layerStackSpaceRect; in recordScreen() local
702 layerStackSpaceRect.getWidth(), layerStackSpaceRect.getHeight(), in recordScreen()
710 gVideoWidth = floorToEven(layerStackSpaceRect.getWidth()); in recordScreen()
713 gVideoHeight = floorToEven(layerStackSpaceRect.getHeight()); in recordScreen()
/frameworks/native/libs/gui/
DLayerState.cpp321 layerStackSpaceRect(Rect::EMPTY_RECT), in DisplayState()
332 SAFE_PARCEL(output.write, layerStackSpaceRect); in write()
351 SAFE_PARCEL(input.read, layerStackSpaceRect); in read()
370 layerStackSpaceRect = other.layerStackSpaceRect; in merge()
DSurfaceComposerClient.cpp1767 s.layerStackSpaceRect = layerStackRect; in setDisplayProjection()
/frameworks/native/libs/gui/include/gui/
DLayerState.h285 Rect layerStackSpaceRect; member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DOutput.h170 virtual void setProjection(ui::Rotation orientation, const Rect& layerStackSpaceRect,
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutput.h44 void setProjection(ui::Rotation orientation, const Rect& layerStackSpaceRect,
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp149 void Output::setProjection(ui::Rotation orientation, const Rect& layerStackSpaceRect, in setProjection() argument
183 outputState.layerStackSpace.content = layerStackSpaceRect; in setProjection()
184 outputState.layerStackSpace.bounds = layerStackSpaceRect; in setProjection()