Searched refs:mEventTimes (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureTrailDrawingPoints.java | 47 private final ResizableIntArray mEventTimes = new ResizableIntArray(DEFAULT_CAPACITY); field in GestureTrailDrawingPoints 73 synchronized (mEventTimes) { in addStroke() 79 final int trailSize = mEventTimes.getLength(); in addStrokeLocked() 80 stroke.appendPreviewStroke(mEventTimes, mXCoordinates, mYCoordinates, mPointTypes); in addStrokeLocked() 81 if (mEventTimes.getLength() == trailSize) { in addStrokeLocked() 84 final int[] eventTimes = mEventTimes.getPrimitiveArray(); in addStrokeLocked() 97 lastInterpolatedIndex, mEventTimes, mXCoordinates, mYCoordinates, mPointTypes); in addStrokeLocked() 159 synchronized (mEventTimes) { in drawGestureTrail() 168 final int trailSize = mEventTimes.getLength(); in drawGestureTrailLocked() 173 final int[] eventTimes = mEventTimes.getPrimitiveArray(); in drawGestureTrailLocked() [all …]
|
D | GestureStrokeRecognitionPoints.java | 39 private final ResizableIntArray mEventTimes = new ResizableIntArray( field in GestureStrokeRecognitionPoints 108 return mEventTimes.getLength(); in getLength() 158 final int deltaTime = mEventTimes.get(lastIndex) - mDetectFastMoveTime; in isStartOfAGesture() 198 mEventTimes.setLength(0); in reset() 211 if (lastIndex >= 0 && mEventTimes.get(lastIndex) > time) { in appendPoint() 214 mEventTimes.get(lastIndex))); in appendPoint() 217 mEventTimes.add(time); in appendPoint() 238 final int msecs = time - mEventTimes.get(lastIndex); in detectFastMove() 326 out.append(mPointerId, mEventTimes, mXCoordinates, mYCoordinates, in appendBatchPoints()
|