Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DGroupWhenCoordinator.kt88 var pastTime = Long.MIN_VALUE in <lambda>() variable
96 pastTime = max(pastTime, time) in <lambda>()
102 if (pastTime == Long.MIN_VALUE && futureTime == Long.MAX_VALUE) { in <lambda>()
106 return if (futureTime != Long.MAX_VALUE) futureTime else pastTime in <lambda>()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1494 final long[] pastTime = mPastTime; in addPoint() local
1496 if (pastTime[i] == 0) { in addPoint()
1498 } else if (pastTime[i] < time-LONGEST_PAST_TIME) { in addPoint()
1513 System.arraycopy(pastTime, start, pastTime, 0, count); in addPoint()
1518 pastTime[i] = time; in addPoint()
1521 pastTime[i] = 0; in addPoint()
1532 final long[] pastTime = mPastTime; in computeCurrentVelocity() local
1536 final long oldestTime = pastTime[0]; in computeCurrentVelocity()
1541 if (pastTime[N] == 0) { in computeCurrentVelocity()
1548 final int dur = (int)(pastTime[i] - oldestTime); in computeCurrentVelocity()