Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVelocityTracker.java96 float accumVx = 0f; in computeCurrentVelocity() local
114 accumVx = (accumVx * lastDuration + vx * duration) / (duration + lastDuration); in computeCurrentVelocity()
120 computedVelocityX.put(pointerId, windowed(accumVx * units / 1000, maxVelocity)); in computeCurrentVelocity()