diff options
| author | 2024-02-06 00:11:11 +0000 | |
|---|---|---|
| committer | 2024-02-06 13:30:07 +0000 | |
| commit | b2eb12e9d9b9065a46bebc9d2c90ec22dbf7a91e (patch) | |
| tree | db2a67650a6bbeff0ad4668463967e3319a9aa8f /api/api.go | |
| parent | df39b4913778bf13e8a94cb82b2db06b44666fa8 (diff) | |
Smooth burn-in transitions
GONE->AOD transitions are easily interruptible by a power button push
to keep the phone on, or to prevent unlocking. This adds a smoother
transition from AOD->LOCKSCREEN which is next in the sequence. Rather
than rely on a preset starting point, it begins from the current
y-translation value and interpolates to the final resting point.
Also, adds the ability for animation flows to return both a value and
the transition state. The transition state is frequently used in view
models to know which transition is truly active.
Fixes: 322197793
Test: manual - interrupt GONE->AOD
Test: atest com.android.systemui.keyguard
Flag: ACONFIG com.android.systemui.keyguard_shade_migration_nssl
DEVELOPMENT
Change-Id: If9501500796bee9d421a291bf555077e8eefcc14
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions