Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java238 final int msecs = time - mEventTimes.get(lastIndex); in detectFastMove() local
239 if (msecs > 0) { in detectFastMove()
243 final float speed = (float)pixelsPerSec / msecs / mKeyWidth; in detectFastMove()
247 if (!hasDetectedFastMove() && pixelsPerSec > mDetectFastMoveSpeedThreshold * msecs) { in detectFastMove()
249 final float speed = (float)pixelsPerSec / msecs / mKeyWidth; in detectFastMove()
293 final int msecs = (int)(time - mLastMajorEventTime); in updateIncrementalRecognitionSize() local
294 if (msecs <= 0) { in updateIncrementalRecognitionSize()
300 if (pixelsPerSec < mGestureRecognitionSpeedThreshold * msecs) { in updateIncrementalRecognitionSize()