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

Skip to content
Commit 519ced7d authored by Gustav Sennton's avatar Gustav Sennton
Browse files

Fix desktop launch (unminimize) animation scaling.

Before this CL the scaling in window WindowAnimator was only working
correctly for closing/minimizing windows. For opening/unminimizing
windows the scale would be 1 during the entire animation.

Also
1. animate over the window position (PointF) instead of the window
   bounds (Rect) to make it clear that we're not actually using the
   bounds themselves during the animation, and
2. update WindowAnimatorTest to check the position and scale of the
   actual transaction rather than the animated rectangle values.

Test: WindowAnimatorTest
Bug: 327428659
Flag: com.android.window.flags.enable_desktop_app_launch_alttab_transitions
Change-Id: Ibf58ddb044c5e2078beb6fc26fedbb5b7df3ba25
parent 80cd1380
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment