Home
last modified time | relevance | path

Searched refs:ageMillis (Results 1 – 3 of 3) 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/timedetector/
DTimeDetectorStrategyImpl.java423 long ageMillis = elapsedRealtimeMillis - utcTime.getReferenceTimeMillis(); in scoreTelephonySuggestion() local
426 int bucketIndex = (int) (ageMillis / TELEPHONY_BUCKET_SIZE_MILLIS); in scoreTelephonySuggestion()
614 long ageMillis = elapsedRealtimeMillis - referenceTimeMillis; in validateSuggestionUtcTime() local
615 return ageMillis <= MAX_UTC_TIME_AGE_MILLIS; in validateSuggestionUtcTime()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2685 long ageMillis = now - timeMillis; in binderDied() local
2686 if (ageMillis > MILLIS_IN_A_DAY) { in binderDied()
2691 long ageMillis = now - timeMillis; in binderDied() local
2692 if (ageMillis > MILLIS_IN_A_DAY * 7) { in binderDied()