Home
last modified time | relevance | path

Searched refs:currScrollPosition (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DHaptics.kt109 private var currScrollPosition = 0f in handleScrollHaptic() variable in com.google.android.horologist.compose.rotaryinput.DefaultRotaryHapticHandler
122 currScrollPosition += scrollDelta in handleScrollHaptic()
123 val diff = abs(currScrollPosition - prevHapticsPosition) in handleScrollHaptic()
127 prevHapticsPosition = currScrollPosition in handleScrollHaptic()