diff options
| author | 2025-01-21 16:38:07 +0100 | |
|---|---|---|
| committer | 2025-01-22 14:02:01 +0100 | |
| commit | 1ce9e365b3cd5c3e6a1ac05c5f4d3927c0a943eb (patch) | |
| tree | 56481a0d13f4a855a61f4496da09e2010ae306d1 /libs/androidfw/StringPool.cpp | |
| parent | bc25f13a204640299e2715977c9bf97daf6f08c8 (diff) | |
Use DecayAnimationSpec to animate to SwipeAnimation targetOffset
This CL makes SwipeAnimation.animateOffset() to use a DecaySpecAnimation
rather than a normal target animation after releasing a drag gesture
if the decay animation is enough to get to the target offset. This makes
the animation consume less velocity and makes the transition overscroll
behave more consistently w.r.t. overscrolling after a nested scrollable
is flung.
Bug: 378470603
Test: atest PlatformComposeSceneTransitionLayoutTests
Flag: com.android.systemui.scene_container
Change-Id: I38152f770942bf04cad57f3d98acd971ebe63d4d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions