summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Gustav Sennton <gsennton@google.com> 2024-10-30 12:23:22 +0000
committer Gustav Sennton <gsennton@google.com> 2024-10-30 13:45:17 +0000
commit519ced7d5167e26aee8baa65ab47e6b3ac3beafe (patch)
treeba847ba52d6405e32058e35bb9d749520cd4114f /libs/androidfw/ResourceTimer.cpp
parent80cd13803909e35ecaeba3e70a7262797178e609 (diff)
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions