Home
last modified time | relevance | path

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

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