Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76b49613 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Set crop size on rounded corner test"

parents 0316f11f 0b79f8c2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1595,6 +1595,7 @@ TEST_P(LayerTypeAndRenderTypeTransactionTest, SetCornerRadius) {

    Transaction()
            .setCornerRadius(layer, cornerRadius)
            .setCrop_legacy(layer, Rect(0, 0, size, size))
            .apply();
    {
        const uint8_t bottom = size - 1;
@@ -1621,6 +1622,7 @@ TEST_P(LayerTypeAndRenderTypeTransactionTest, SetCornerRadiusChildCrop) {

    Transaction()
            .setCornerRadius(parent, cornerRadius)
            .setCrop_legacy(parent, Rect(0, 0, size, size))
            .reparent(child, parent->getHandle())
            .setPosition(child, 0, size / 2)
            .apply();