Lines Matching refs:ageMillis
712 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight() local
714 if (ageMillis < 0) { in chooseWeight()
717 if (ageMillis < 10) { in chooseWeight()
718 return 0.5f + ageMillis * 0.05; in chooseWeight()
720 if (ageMillis < 50) { in chooseWeight()
723 if (ageMillis < 60) { in chooseWeight()
724 return 0.5f + (60 - ageMillis) * 0.05; in chooseWeight()
734 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight() local
736 if (ageMillis < 50) { in chooseWeight()
739 if (ageMillis < 100) { in chooseWeight()
740 return 0.5f + (100 - ageMillis) * 0.01f; in chooseWeight()