diff options
| author | 2022-06-16 18:09:33 -0400 | |
|---|---|---|
| committer | 2022-06-21 15:29:40 -0400 | |
| commit | fde796bc6a88e96905ff3fc1a8a68d0d3a37b677 (patch) | |
| tree | e73c1ffdb68211a3a19603b5ecff00c3dc4d2969 /libs/androidfw/StringPool.cpp | |
| parent | fd8aa55ee36b8a6201eb6303ef2d3acbfc392226 (diff) | |
2/2 Making bouncer shift on double tap when user chooser is visible
This change adds nice animation when bouncer/security swap sides with user chooser view.
The main changes are:
- extracting security animation code to SidedSecurityMode superclass and adding listener to security alpha during animation so that user chooser view can synchronize its alpha along with it.
- user switcher mode doesn't use gravity anymore to position views horizontally, now it uses X translation, just like one handed mode
Bouncer animation doesn't change at all compared to one handed mode and user chooser: fades out when bouncer fades out, shifts to the destination position and then fades in when bouncer fades in.
Bug: 220872694
Test: KeyguardSecurityContainerTest + open bouncer with user chooser on the side, double tap on the other side of the bouncer, see views swap positions with nice animation
Change-Id: I6ed2d2a6006063f63a8f9edf6da47abbfb7efb45
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions