/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshot.cpp | 217 << geomLayerBounds.left << "," << geomLayerBounds.top << "," << geomLayerBounds.bottom in getDebugString() 218 << "," << geomLayerBounds.right << "}" in getDebugString() 237 return geomLayerBounds; in sourceBounds()
|
D | LayerSnapshotBuilder.cpp | 134 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/ |
D | OutputLayer.cpp | 84 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()
|
D | LayerFECompositionState.cpp | 68 dumpVal(out, "geomLayerBounds", geomLayerBounds); in dump()
|
D | Output.cpp | 595 const Rect visibleRect(tr.transform(layerFEState->geomLayerBounds)); in ensureOutputLayerIfVisible() 626 Rect(layerFEState->geomLayerBounds)); in ensureOutputLayerIfVisible()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerSnapshotTest.cpp | 153 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/ |
D | LayerFECompositionState.h | 133 FloatRect geomLayerBounds; member
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 164 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()
|
D | OutputTest.cpp | 1454 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/ |
D | LayerFE.cpp | 116 reduce(mSnapshot->geomLayerBounds, mSnapshot->transparentRegionHint); in prepareClientCompositionInternal()
|
D | RegionSamplingThread.cpp | 329 frontend::RequestedLayerState::reduce(Rect(snapshot.geomLayerBounds), in captureSample()
|
D | LayerProtoHelper.cpp | 376 LayerProtoHelper::writeToProto(snapshot.geomLayerBounds, in writeSnapshotToProto()
|
D | Layer.cpp | 411 computeTrustedPresentationState(snapshot->geomLayerBounds, in updateTrustedPresentationState() 589 snapshot->geomLayerBounds = mBounds; in prepareBasicGeometryCompositionState()
|
D | SurfaceFlinger.cpp | 2200 .bounds = snapshot.geomLayerBounds, in updateLayerHistory()
|