Home
last modified time | relevance | path

Searched refs:localTransform (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/
DRenderAreaBuilder.h90 layerTransform = parentSnapshot.localTransform.inverse(); in setLayerSnapshot()
DLayer.cpp591 snapshot->localTransform = getActiveTransform(drawingState); in prepareBasicGeometryCompositionState()
592 snapshot->localTransformInverse = snapshot->localTransform.inverse(); in prepareBasicGeometryCompositionState()
4471 setIsSmallDirty(snapshot->surfaceDamage, snapshot->localTransform); in setIsSmallDirty()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.h82 ui::Transform localTransform; member
DLayerSnapshot.cpp482 localTransform = requested.getTransform(displayRotationFlags); in merge()
483 localTransformInverse = localTransform.inverse(); in merge()
DLayerSnapshotBuilder.cpp121 snapshot.localTransform.getType() != ui::Transform::IDENTITY) { in getInputBounds()
122 inputBounds = snapshot.localTransform.transform(inputBounds); in getInputBounds()
933 ui::Transform t = snapshot.localTransform.inverse(); in updateRoundedCorner()
967 snapshot.geomLayerTransform = parentSnapshot.geomLayerTransform * snapshot.localTransform; in updateLayerBounds()
1000 parentBounds = snapshot.localTransform.inverse().transform(parentBounds); in updateLayerBounds()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerSnapshotTest.cpp1338 EXPECT_EQ(getSnapshot({.id = 11, .mirrorRootIds = 14u})->localTransform.tx(), 0); in TEST_F()
1339 EXPECT_EQ(getSnapshot({.id = 11, .mirrorRootIds = 14u})->localTransform.ty(), 0); in TEST_F()
1341 EXPECT_EQ(getSnapshot({.id = 11})->localTransform.tx(), 2); in TEST_F()
1342 EXPECT_EQ(getSnapshot({.id = 11})->localTransform.ty(), 20); in TEST_F()
1345 EXPECT_EQ(getSnapshot({.id = 111, .mirrorRootIds = 14u})->localTransform.tx(), 20); in TEST_F()
1346 EXPECT_EQ(getSnapshot({.id = 111, .mirrorRootIds = 14u})->localTransform.ty(), 200); in TEST_F()
1351 EXPECT_EQ(getSnapshot({.id = 111})->localTransform.tx(), 20); in TEST_F()
1352 EXPECT_EQ(getSnapshot({.id = 111})->localTransform.ty(), 200); in TEST_F()