Expand description
Android-style spline flings in logical pixels, with AOSP EdgeEffect stretch overscroll. Spline & EdgeEffect stretch constants/formulas adapted from AOSP OverScroller & EdgeEffect (Apache-2.0). Copyright (C) 2010, 2021 The Android Open Source Project. See THIRD_PARTY_NOTICES.md.
Structsยง
- Edge
Stretch - Android 12/13
EdgeEffect(TYPE_STRETCH) overscroll spring state machine. Positivedistance= pulling away from the start edge (top / left); negativedistance= pulling away from the end edge (bottom / right). - Scroll
Physics - Spline
Fling - Incremental AOSP spline for existing nested-scroll consumers (app bars/menus).