commit | 408325d2d265d67b4e4e3ae119a7f8ca03fa0f9b | [log] [tgz] |
---|---|---|
author | omarmt <omarmt@google.com> | Thu Sep 12 14:34:15 2024 +0000 |
committer | omarmt <omarmt@google.com> | Tue Oct 01 12:35:22 2024 +0000 |
tree | 37997a61242acf14c1525d173215f00074a18a4b | |
parent | 78388235f37aa7b78070cc0bcf5a35acdc2e5411 [diff] |
animateOffset can partially consume the fling velocity When a scene is configured to disallow overscrolling (`overscrollDisabled()` is enabled), a fling gesture on that scene may not use up all of the velocity. The unused velocity can then be passed on to the ancestor of the component. Test: atest DraggableHandlerTest Bug: 336710600 Flag: com.android.systemui.scene_container Change-Id: Ia1b0620fe37cfaf5b339d1e87c38ba5c22be95e8