Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringForce.java272 double currentVelocity; in updateValues() local
281 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()
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DRotary.kt483 val currentVelocity = rotaryVelocityTracker.velocity in trackFling() constant
484 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()