Searched refs:accumX (Results 1 – 1 of 1) sorted by relevance
1527 float accumX = 0; in computeCurrentVelocity() local1542 if (accumX == 0) accumX = vel; in computeCurrentVelocity()1543 else accumX = (accumX + vel) * .5f; in computeCurrentVelocity()1550 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity) in computeCurrentVelocity()1551 : Math.min(accumX, maxVelocity); in computeCurrentVelocity()