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

Commit b5c9cb5a authored by Luca Zuccarini's avatar Luca Zuccarini
Browse files

Clean up the animation of surfaces behind Keyguard on unlock.

This does a few things:
1. Unifies the behavior before and after the Keyguard root view is
   gone (before some values were different) to match the unflagged
   behavior. An exception to this is the amount of the translation,
   which is controlled outside of this applier.
2. Clean up some magic numbers.
3. Move the translation inside the matrix. Before, `setTranslate()`
   was overridden by the following `setMatrix`().
4. Ensure that the translation percentage is calculated correctly, so
   that the scale is also correct for the whole duration.

Fix: 438430688
Flag: com.android.systemui.keyguard_wm_state_refactor
Flag: com.android.systemui.scene_container
Test: manual (see video in the bug)
Change-Id: I25414b5e59865a8000400df93cc5c63a35f74a7a
parent 495fe9a4
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