Lines Matching refs:mIndex
374 mIndex = 0; in clear()
379 BitSet32 remainingIdBits(mMovements[mIndex].idBits.value & ~idBits.value); in clearPointers()
380 mMovements[mIndex].idBits = remainingIdBits; in clearPointers()
385 if (mMovements[mIndex].eventTime != eventTime) { in addMovement()
392 mIndex++; in addMovement()
394 if (mIndex == HISTORY_SIZE) { in addMovement()
395 mIndex = 0; in addMovement()
398 Movement& movement = mMovements[mIndex]; in addMovement()
636 uint32_t index = mIndex; in getEstimator()
637 const Movement& newestMovement = mMovements[mIndex]; in getEstimator()
717 if (index == mIndex) { in chooseWeight()
738 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight()
760 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight()
904 mIndex = 0; in clear()
909 BitSet32 remainingIdBits(mMovements[mIndex].idBits.value & ~idBits.value); in clearPointers()
910 mMovements[mIndex].idBits = remainingIdBits; in clearPointers()
915 if (++mIndex == HISTORY_SIZE) { in addMovement()
916 mIndex = 0; in addMovement()
919 Movement& movement = mMovements[mIndex]; in addMovement()
932 const Movement& newestMovement = mMovements[mIndex]; in getEstimator()
939 uint32_t oldestIndex = mIndex; in getEstimator()
1018 mIndex = 0; in clear()
1023 BitSet32 remainingIdBits(mMovements[mIndex].idBits.value & ~idBits.value); in clearPointers()
1024 mMovements[mIndex].idBits = remainingIdBits; in clearPointers()
1029 if (mMovements[mIndex].eventTime != eventTime) { in addMovement()
1036 mIndex++; in addMovement()
1038 if (mIndex == HISTORY_SIZE) { in addMovement()
1039 mIndex = 0; in addMovement()
1042 Movement& movement = mMovements[mIndex]; in addMovement()
1169 size_t index = mIndex; in getEstimator()
1170 const Movement& newestMovement = mMovements[mIndex]; in getEstimator()