Searched refs:oldestIndex (Results 1 – 1 of 1) sorted by relevance
84 int oldestIndex = curIndex; in computeCurrentVelocity() local87 int nextOldestIndex = (oldestIndex == 0 ? HISTORY_SIZE : oldestIndex) - 1; in computeCurrentVelocity()93 oldestIndex = nextOldestIndex; in computeCurrentVelocity()98 int index = oldestIndex; in computeCurrentVelocity()99 Movement oldestMovement = movements[oldestIndex]; in computeCurrentVelocity()