Searched refs:currentVelocity (Results 1 – 2 of 2) sorted by relevance
272 double currentVelocity; in updateValues() local281 currentVelocity = coeffA * mGammaMinus * Math.pow(Math.E, mGammaMinus * deltaT) in updateValues()288 currentVelocity = (coeffA + coeffB * deltaT) * Math.pow(Math.E, -mNaturalFreq * deltaT) in updateValues()298 currentVelocity = displacement * -mNaturalFreq * mDampingRatio in updateValues()305 mMassState.mVelocity = (float) currentVelocity; in updateValues()
483 val currentVelocity = rotaryVelocityTracker.velocity in trackFling() constant484 debugLog { "currentVelocity: $currentVelocity" } in trackFling()486 if (abs(currentVelocity) >= abs(previousVelocity)) { in trackFling()488 flingVelocity = currentVelocity * flingScaleFactor in trackFling()490 previousVelocity = currentVelocity in trackFling()1261 currentVelocity = rotaryVelocityTracker.velocity.absoluteValue, in applySmoothing()1287 currentVelocity: Float, in exponentialSmoothing()1291 smoothingConstant * currentVelocity + (1 - smoothingConstant) * prevVelocity in exponentialSmoothing()