Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Compose UI should match Android's native fling scrolling behavior, delegating to the platform for forward compatibility where possible.
Android's scrolling components,
android.widget.Scroller
andandroid.widget.OverScroller
internally use the static clock provided byAnimationUtils
, making it infeasible to use these components natively in Compose UI without changes.This work will proceed in several steps:
Scroller
such that it can be used in a testable, clock-agnostic manner.DecayAnimation
based on this extracted spline.VerticalScroller
and similar rather than the exponential decay animation.frameworks/base