Searched refs:pastTime (Results 1 – 2 of 2) sorted by relevance
1430 final long[] pastTime = mPastTime; in addPoint() local1432 if (pastTime[i] == 0) { in addPoint()1434 } else if (pastTime[i] < time-LONGEST_PAST_TIME) { in addPoint()1449 System.arraycopy(pastTime, start, pastTime, 0, count); in addPoint()1454 pastTime[i] = time; in addPoint()1457 pastTime[i] = 0; in addPoint()1468 final long[] pastTime = mPastTime; in computeCurrentVelocity() local1472 final long oldestTime = pastTime[0]; in computeCurrentVelocity()1477 if (pastTime[N] == 0) { in computeCurrentVelocity()1484 final int dur = (int)(pastTime[i] - oldestTime); in computeCurrentVelocity()
1530 final long[] pastTime = mPastTime; in addPoint() local1532 if (pastTime[i] == 0) { in addPoint()1534 } else if (pastTime[i] < time-LONGEST_PAST_TIME) { in addPoint()1549 System.arraycopy(pastTime, start, pastTime, 0, count); in addPoint()1554 pastTime[i] = time; in addPoint()1557 pastTime[i] = 0; in addPoint()1568 final long[] pastTime = mPastTime; in computeCurrentVelocity() local1572 final long oldestTime = pastTime[0]; in computeCurrentVelocity()1577 if (pastTime[N] == 0) { in computeCurrentVelocity()1584 final int dur = (int)(pastTime[i] - oldestTime); in computeCurrentVelocity()