Skip to main content

Module scroll

Module scroll 

Source
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ยง

EdgeStretch
Android 12/13 EdgeEffect (TYPE_STRETCH) overscroll spring state machine. Positive distance = pulling away from the start edge (top / left); negative distance = pulling away from the end edge (bottom / right).
ScrollPhysics
SplineFling
Incremental AOSP spline for existing nested-scroll consumers (app bars/menus).