Home
last modified time | relevance | path

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

/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotary.kt881 private var rotaryScrollDistance = 0f variable
897 rotaryScrollDistance = event.delta in handleScrollEvent()
907 rotaryScrollDistance += event.delta in handleScrollEvent()
913 debugLog { "Rotary scroll distance: $rotaryScrollDistance" } in handleScrollEvent()
917 scrollBehavior.handleEvent(rotaryScrollDistance) in handleScrollEvent()
933 sign(rotaryScrollDistance) * sign(delta) == -1f && in isOppositeValueAfterScroll()
934 (abs(delta) < abs(rotaryScrollDistance)) in isOppositeValueAfterScroll()
959 private var rotaryScrollDistance = 0f variable
976 rotaryScrollDistance = event.delta in handleScrollEvent()
979 rotaryScrollDistance += event.delta in handleScrollEvent()
[all …]