Home
last modified time | relevance | path

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

/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java1531 final long[] pastTime = mPastTime; in addPoint() local
1533 if (pastTime[i] == 0) { in addPoint()
1535 } else if (pastTime[i] < time-LONGEST_PAST_TIME) { in addPoint()
1550 System.arraycopy(pastTime, start, pastTime, 0, count); in addPoint()
1555 pastTime[i] = time; in addPoint()
1558 pastTime[i] = 0; in addPoint()
1569 final long[] pastTime = mPastTime; in computeCurrentVelocity() local
1573 final long oldestTime = pastTime[0]; in computeCurrentVelocity()
1578 if (pastTime[N] == 0) { in computeCurrentVelocity()
1585 final int dur = (int)(pastTime[i] - oldestTime); in computeCurrentVelocity()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java212 long pastTime = currentTime - 60000; in testLoadsLocationWithHeadlessSystemUser() local
214 + "\"accuracy\":12.3, \"captureTime\": " + pastTime + "}"); in testLoadsLocationWithHeadlessSystemUser()