Searched refs:accumVx (Results 1 – 1 of 1) sorted by relevance
96 float accumVx = 0f; in computeCurrentVelocity() local114 accumVx = (accumVx * lastDuration + vx * duration) / (duration + lastDuration); in computeCurrentVelocity()120 computedVelocityX.put(pointerId, windowed(accumVx * units / 1000, maxVelocity)); in computeCurrentVelocity()