Searched refs:pastTime (Results 1 – 2 of 2) sorted by relevance
88 var pastTime = Long.MIN_VALUE in <lambda>() variable96 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>()
1494 final long[] pastTime = mPastTime; in addPoint() local1496 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() local1536 final long oldestTime = pastTime[0]; in computeCurrentVelocity()1541 if (pastTime[N] == 0) { in computeCurrentVelocity()1548 final int dur = (int)(pastTime[i] - oldestTime); in computeCurrentVelocity()