Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/rotaryinput/
DRotary.kt386 private val rotaryVelocityTracker = RotaryVelocityTracker() in handleScrollEvent() constant
397 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 ThresholdBehavior
1094 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()