Searched refs:accumX (Results 1 – 1 of 1) sorted by relevance
1574 float accumX = 0; in computeCurrentVelocity() local1589 if (accumX == 0) accumX = vel; in computeCurrentVelocity()1590 else accumX = (accumX + vel) * .5f; in computeCurrentVelocity()1597 mXVelocity = accumX < 0.0f ? Math.max(accumX, -maxVelocity) in computeCurrentVelocity()1598 : Math.min(accumX, maxVelocity); in computeCurrentVelocity()