Searched refs:accumX (Results 1 – 1 of 1) sorted by relevance
1473 float accumX = 0; in computeCurrentVelocity() local1488 if (accumX == 0) accumX = vel; in computeCurrentVelocity()1489 else accumX = (accumX + vel) * .5f; in computeCurrentVelocity()1496 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity) in computeCurrentVelocity()1497 : Math.min(accumX, maxVelocity); in computeCurrentVelocity()