Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetDisplayStateTest.cpp313 display.mutableCurrentDisplayState().layerStackSpaceRect = initialLayerStackRect; in TEST_F()
321 state.layerStackSpaceRect = initialLayerStackRect; in TEST_F()
339 EXPECT_EQ(initialLayerStackRect, display.getCurrentDisplayState().layerStackSpaceRect); in TEST_F()
428 display.mutableCurrentDisplayState().layerStackSpaceRect = initialLayerStackRect; in TEST_F()
434 state.layerStackSpaceRect = desiredLayerStackRect; in TEST_F()
448 EXPECT_EQ(desiredLayerStackRect, display.getCurrentDisplayState().layerStackSpaceRect); in TEST_F()
DSurfaceFlinger_InitializeDisplaysTest.cpp54 EXPECT_EQ(Rect::INVALID_RECT, state.layerStackSpaceRect); in TEST_F()
DSurfaceFlinger_DisplayTransactionCommitTest.cpp604 display.mutableDrawingDisplayState().layerStackSpaceRect = oldLayerStackRect; in TEST_F()
605 display.mutableCurrentDisplayState().layerStackSpaceRect = newLayerStackRect; in TEST_F()
769 display.mutableDrawingDisplayState().layerStackSpaceRect = kOldSize; in TEST_F()
774 display.mutableCurrentDisplayState().layerStackSpaceRect = kNewSize; in TEST_F()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp281 Rect layerStackRect(displayState.layerStackSpaceRect); in setDisplayProjection()
537 currentDisplayState.layerStackSpaceRect != displayState.layerStackSpaceRect) { in updateDisplayProjection()
540 toCString(displayState.orientation), displayState.layerStackSpaceRect.getWidth(), in updateDisplayProjection()
541 displayState.layerStackSpaceRect.getHeight()); in updateDisplayProjection()
835 result.height = std::max(result.height, displayState.layerStackSpaceRect.getHeight()); in getMaxDisplaySize()
836 result.width = std::max(result.width, displayState.layerStackSpaceRect.getWidth()); in getMaxDisplaySize()
892 const ui::Size layerStackSpaceRect = in recordScreen() local
893 gPhysicalDisplayId ? displayState.layerStackSpaceRect : getMaxDisplaySize(); in recordScreen()
896 layerStackSpaceRect.getWidth(), layerStackSpaceRect.getHeight(), in recordScreen()
904 gVideoWidth = floorToEven(layerStackSpaceRect.getWidth()); in recordScreen()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DMultiDisplayLayerBounds_test.cpp102 createDisplay(mMainDisplayState.layerStackSpaceRect, kLayerStack); in TEST_F()
125 createDisplay(mMainDisplayState.layerStackSpaceRect, ui::DEFAULT_LAYER_STACK); in TEST_F()
153 createDisplay(mMainDisplayState.layerStackSpaceRect, layerStack); in TEST_F()
DTransactionTestHarnesses.h81 Rect(displayState.layerStackSpaceRect), Rect(resolution)); in getScreenCapture()
/frameworks/native/libs/ui/include/ui/
DDisplayState.h32 Size layerStackSpaceRect; member
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayState.h32 Size layerStackSpaceRect; member
/frameworks/native/libs/gui/aidl/android/gui/
DDisplayState.aidl26 Size layerStackSpaceRect;
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp246 void DisplayDevice::setProjection(ui::Rotation orientation, Rect layerStackSpaceRect, in setProjection() argument
264 if (layerStackSpaceRect.isEmpty()) { in setProjection()
267 layerStackSpaceRect = Rect(bounds); in setProjection()
269 getCompositionDisplay()->setProjection(transformOrientation, layerStackSpaceRect, in setProjection()
DDisplayDevice.h279 Rect layerStackSpaceRect; member
DSurfaceFlinger.cpp1115 state->layerStackSpaceRect = in getDisplayState()
3789 display->setProjection(state.orientation, state.layerStackSpaceRect, in setupNewDisplayDeviceInternal()
3982 (currentState.layerStackSpaceRect != drawingState.layerStackSpaceRect) || in processDisplayChanged()
3984 display->setProjection(currentState.orientation, currentState.layerStackSpaceRect, in processDisplayChanged()
5457 if (state.layerStackSpaceRect != s.layerStackSpaceRect) { in setDisplayStateLocked()
5458 state.layerStackSpaceRect = s.layerStackSpaceRect; in setDisplayStateLocked()
9783 outState->layerStackSpaceRect.width = state.layerStackSpaceRect.width; in getDisplayState()
9784 outState->layerStackSpaceRect.height = state.layerStackSpaceRect.height; in getDisplayState()
/frameworks/native/libs/gui/include/gui/
DLayerState.h437 layerStackSpaceRect(Rect::INVALID_RECT), in DisplayState()
465 Rect layerStackSpaceRect = Rect::EMPTY_RECT; member
/frameworks/native/libs/gui/
DLayerState.cpp360 SAFE_PARCEL(output.write, layerStackSpaceRect); in write()
380 SAFE_PARCEL(input.read, layerStackSpaceRect); in read()
403 layerStackSpaceRect = other.layerStackSpaceRect; in merge()
DSurfaceComposerClient.cpp2317 s.layerStackSpaceRect = layerStackRect; in setDisplayProjection()
2546 state->layerStackSpaceRect = in getDisplayState()
2547 ui::Size(ds.layerStackSpaceRect.width, ds.layerStackSpaceRect.height); in getDisplayState()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DOutput.h182 virtual void setProjection(ui::Rotation orientation, const Rect& layerStackSpaceRect,
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp170 void Output::setProjection(ui::Rotation orientation, const Rect& layerStackSpaceRect, in setProjection() argument
205 outputState.layerStackSpace.setContent(layerStackSpaceRect); in setProjection()
207 ui::Size(layerStackSpaceRect.getWidth(), layerStackSpaceRect.getHeight())); in setProjection()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutput.h50 void setProjection(ui::Rotation orientation, const Rect& layerStackSpaceRect,
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp278 LayerProtoHelper::writeToProto(display.layerStackSpaceRect, in toProto()
547 display.layerStackSpaceRect); in fromProto()
/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp211 const ui::Size& resolution = displayState.layerStackSpaceRect; in SetUp()