summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2025-01-21 16:38:07 +0100
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2025-01-22 14:02:01 +0100
commit1ce9e365b3cd5c3e6a1ac05c5f4d3927c0a943eb (patch)
tree56481a0d13f4a855a61f4496da09e2010ae306d1 /libs/androidfw/StringPool.cpp
parentbc25f13a204640299e2715977c9bf97daf6f08c8 (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