Home
last modified time | relevance | path

Searched refs:geomLayerBounds (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.cpp217 << geomLayerBounds.left << "," << geomLayerBounds.top << "," << geomLayerBounds.bottom in getDebugString()
218 << "," << geomLayerBounds.right << "}" in getDebugString()
237 return geomLayerBounds; in sourceBounds()
DLayerSnapshotBuilder.cpp134 inputBounds = fillParentBounds ? snapshot.geomLayerBounds : FloatRect{}; in getInputBounds()
165 const FloatRect croppedInsetBoundsInLayer = snapshot.geomLayerBounds.intersect(insetBounds); in getInputBoundsInDisplaySpace()
352 snapshot.geomLayerBounds = getMaxDisplayBounds({}); in getRootSnapshot()
425 mRootSnapshot.geomLayerBounds = *args.parentCrop; in updateSnapshots()
427 mRootSnapshot.geomLayerBounds = getMaxDisplayBounds(args.displays); in updateSnapshots()
944 FloatRect parentBounds = parentSnapshot.geomLayerBounds; in updateLayerBounds()
946 snapshot.geomLayerBounds = in updateLayerBounds()
949 snapshot.geomLayerBounds = snapshot.geomLayerBounds.intersect(requested.crop.toFloatRect()); in updateLayerBounds()
951 snapshot.geomLayerBounds = snapshot.geomLayerBounds.intersect(parentBounds); in updateLayerBounds()
952 snapshot.transformedBounds = snapshot.geomLayerTransform.transform(snapshot.geomLayerBounds); in updateLayerBounds()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp84 reduce(layerState.geomLayerBounds, layerState.transparentRegionHint); in calculateInitialCrop()
221 FloatRect geomLayerBounds = layerState.geomLayerBounds; in calculateOutputDisplayFrame() local
227 geomLayerBounds.left -= outset; in calculateOutputDisplayFrame()
228 geomLayerBounds.top -= outset; in calculateOutputDisplayFrame()
229 geomLayerBounds.right += outset; in calculateOutputDisplayFrame()
230 geomLayerBounds.bottom += outset; in calculateOutputDisplayFrame()
232 Rect frame{layerTransform.transform(reduce(geomLayerBounds, activeTransparentRegion))}; in calculateOutputDisplayFrame()
DLayerFECompositionState.cpp68 dumpVal(out, "geomLayerBounds", geomLayerBounds); in dump()
DOutput.cpp595 const Rect visibleRect(tr.transform(layerFEState->geomLayerBounds)); in ensureOutputLayerIfVisible()
626 Rect(layerFEState->geomLayerBounds)); in ensureOutputLayerIfVisible()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerSnapshotTest.cpp153 EXPECT_EQ(getSnapshot(111)->geomLayerBounds, layerCrop.toFloatRect()); in TEST_F()
158 EXPECT_EQ(getSnapshot(1)->geomLayerBounds, maxDisplaySize); in TEST_F()
200 EXPECT_EQ(getSnapshot(111)->geomLayerBounds, crop.toFloatRect()); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h133 FloatRect geomLayerBounds; member
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp164 mLayerFEState.geomLayerBounds = FloatRect{0.f, 0.f, 1920.f, 1080.f}; in OutputLayerSourceCropTest()
192 mLayerFEState.geomLayerBounds = FloatRect{-2000.f, -2000.f, 2000.f, 2000.f}; in TEST_F()
199 mLayerFEState.geomLayerBounds = FloatRect{-2000.f, -2000.f, 2000.f, 2000.f}; in TEST_F()
274 mLayerFEState.geomLayerBounds = FloatRect{0.f, 0.f, 1920.f, 1080.f}; in OutputLayerDisplayFrameTest()
318 mLayerFEState.geomLayerBounds = FloatRect{0.f, 0.f, 960.f, 540.f}; in TEST_F()
340 mLayerFEState.geomLayerBounds = FloatRect{100.f, 100.f, 200.f, 200.f}; in TEST_F()
341 Rect expected{mLayerFEState.geomLayerBounds}; in TEST_F()
351 mLayerFEState.geomLayerBounds = FloatRect{100.f, 100.f, 200.f, 200.f}; in TEST_F()
352 Rect expected{mLayerFEState.geomLayerBounds}; in TEST_F()
DOutputTest.cpp1454 mLayer.layerFEState.geomLayerBounds = FloatRect{0, 0, 100, 200}; in OutputEnsureOutputLayerIfVisibleTest()
1534 mLayer.layerFEState.geomLayerBounds = FloatRect{0, 0, 0, 0}; in TEST_F()
1684 mLayer.layerFEState.geomLayerBounds = FloatRect{0, 0, 200, 100}; in TEST_F()
1710 mLayer.layerFEState.geomLayerBounds = FloatRect{0, 0, 200, 100}; in TEST_F()
1790 mLayer.layerFEState.geomLayerBounds = FloatRect{0, 0, 100, 200}; in TEST_F()
1975 mLayer.layerFEState.geomLayerBounds = kFullBoundsNoRotation.bounds().toFloatRect(); in TEST_F()
1984 mLayer.layerFEState.geomLayerBounds = kFullBoundsNoRotation.bounds().toFloatRect(); in TEST_F()
/frameworks/native/services/surfaceflinger/
DLayerFE.cpp116 reduce(mSnapshot->geomLayerBounds, mSnapshot->transparentRegionHint); in prepareClientCompositionInternal()
DRegionSamplingThread.cpp329 frontend::RequestedLayerState::reduce(Rect(snapshot.geomLayerBounds), in captureSample()
DLayerProtoHelper.cpp376 LayerProtoHelper::writeToProto(snapshot.geomLayerBounds, in writeSnapshotToProto()
DLayer.cpp411 computeTrustedPresentationState(snapshot->geomLayerBounds, in updateTrustedPresentationState()
589 snapshot->geomLayerBounds = mBounds; in prepareBasicGeometryCompositionState()
DSurfaceFlinger.cpp2200 .bounds = snapshot.geomLayerBounds, in updateLayerHistory()