Searched refs:prevVelocity (Results 1 – 2 of 2) sorted by relevance
159 private void checkMotionPaused(float velocity, float prevVelocity, long time) { in checkMotionPaused() argument161 float previousSpeed = Math.abs(prevVelocity); in checkMotionPaused()170 if (velocity < 0 != prevVelocity < 0) { in checkMotionPaused()
1108 prevVelocity = smoothedVelocity, in applySmoothing()1135 prevVelocity: Float, in exponentialSmoothing()1137 ): Float = smoothingConstant * currentVelocity + (1 - smoothingConstant) * prevVelocity in exponentialSmoothing()