Home
last modified time | relevance | path

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

/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotary.kt459 private val rotaryVelocityTracker = RotaryVelocityTracker() constant
470 rotaryVelocityTracker.start(timestamp) in startFlingTracking()
477 rotaryVelocityTracker.move(timestamp, delta) in observeEvent()
483 val currentVelocity = rotaryVelocityTracker.velocity in trackFling()
1245 private val rotaryVelocityTracker = RotaryVelocityTracker() constant in ThresholdBehavior
1249 rotaryVelocityTracker.start(time) in startThresholdTracking()
1254 rotaryVelocityTracker.move(timestamp, delta) in observeEvent()
1258 if (rotaryVelocityTracker.velocity != 0.0f) { in applySmoothing()
1261 currentVelocity = rotaryVelocityTracker.velocity.absoluteValue, in applySmoothing()