Lines Matching refs:ageMillis
738 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight() local
740 if (ageMillis < 0) { in chooseWeight()
743 if (ageMillis < 10) { in chooseWeight()
744 return 0.5f + ageMillis * 0.05; in chooseWeight()
746 if (ageMillis < 50) { in chooseWeight()
749 if (ageMillis < 60) { in chooseWeight()
750 return 0.5f + (60 - ageMillis) * 0.05; in chooseWeight()
760 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight() local
762 if (ageMillis < 50) { in chooseWeight()
765 if (ageMillis < 100) { in chooseWeight()
766 return 0.5f + (100 - ageMillis) * 0.01f; in chooseWeight()