Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java241 final int pixelsPerSec = pixels * MSEC_PER_SEC; in detectFastMove() local
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()
298 final int pixelsPerSec = pixels * MSEC_PER_SEC; in updateIncrementalRecognitionSize() local
300 if (pixelsPerSec < mGestureRecognitionSpeedThreshold * msecs) { in updateIncrementalRecognitionSize()