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

Commit 56911984 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Scale the surface by progress when auto enter PiP

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/coTRupQrNjoSwGDzMhA4X7
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fDqPTOPwyxHaZ4HLZDF7di
Bug: 235268241
Test: Verify the auto enter PiP animation for YouTube in \
      both folded and unfolded state. See also videos.
Change-Id: I6fc10d6a733b8bdd3587994e8e27c4d6ab7e4f39
parent 4a0129fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@ public class SwipePipToHomeAnimator extends RectFSpringAnim {
                    rotatedPosition.degree, rotatedPosition.positionX, rotatedPosition.positionY);
        } else {
            return mSurfaceTransactionHelper.scaleAndCrop(tx, mLeash, mSourceRectHint, mAppBounds,
                    bounds, insets);
                    bounds, insets, progress);
        }
    }