Home
last modified time | relevance | path

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

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java1430 final long[] pastTime = mPastTime; in addPoint() local
1432 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() local
1472 final long oldestTime = pastTime[0]; in computeCurrentVelocity()
1477 if (pastTime[N] == 0) { in computeCurrentVelocity()
1484 final int dur = (int)(pastTime[i] - oldestTime); in computeCurrentVelocity()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java1530 final long[] pastTime = mPastTime; in addPoint() local
1532 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() local
1572 final long oldestTime = pastTime[0]; in computeCurrentVelocity()
1577 if (pastTime[N] == 0) { in computeCurrentVelocity()
1584 final int dur = (int)(pastTime[i] - oldestTime); in computeCurrentVelocity()