Home
last modified time | relevance | path

Searched refs:ageMillis (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/input/
DVelocityTracker.cpp738 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()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2640 long ageMillis = now - timeMillis; in binderDied() local
2641 if (ageMillis > MILLIS_IN_A_DAY) { in binderDied()
2646 long ageMillis = now - timeMillis; in binderDied() local
2647 if (ageMillis > MILLIS_IN_A_DAY * 7) { in binderDied()