Searched refs:rotaryVelocityTracker (Results 1 – 1 of 1) sorted by relevance
386 private val rotaryVelocityTracker = RotaryVelocityTracker() in handleScrollEvent() constant397 rotaryVelocityTracker.start(timestamp) in handleScrollEvent()404 rotaryVelocityTracker.move(timestamp, delta) in handleScrollEvent()410 val currentVelocity = rotaryVelocityTracker.velocity in handleScrollEvent()1089 private val rotaryVelocityTracker = RotaryVelocityTracker() constant in ThresholdBehavior1094 rotaryVelocityTracker.start(time) in startThresholdTracking()1099 rotaryVelocityTracker.move(timestamp, delta) in observeEvent()1103 if (rotaryVelocityTracker.velocity != 0.0f) { in applySmoothing()1107 currentVelocity = rotaryVelocityTracker.velocity.absoluteValue, in applySmoothing()