Searched refs:oldestMovement (Results 1 – 1 of 1) sorted by relevance
99 Movement oldestMovement = movements[oldestIndex]; in computeCurrentVelocity() local108 long duration = movement.eventTime - oldestMovement.eventTime; in computeCurrentVelocity()112 float vx = (movement.x.get(pointerId) - oldestMovement.x.get(pointerId)) * scale; in computeCurrentVelocity()113 float vy = (movement.y.get(pointerId) - oldestMovement.y.get(pointerId)) * scale; in computeCurrentVelocity()