Lines Matching refs:stroke
34 * stroke. This class holds drawing points of those gesture strokes to draw as a gesture trail.
72 public void addStroke(final GestureStrokeDrawingPoints stroke, final long downTime) {
74 addStrokeLocked(stroke, downTime);
78 private void addStrokeLocked(final GestureStrokeDrawingPoints stroke, final long downTime) {
80 stroke.appendPreviewStroke(mEventTimes, mXCoordinates, mYCoordinates, mPointTypes);
85 final int strokeId = stroke.getGestureStrokeId();
87 // the interpolated points in the last segment of gesture stroke, it may need recalculation
88 // of interpolation when new segments are added to the stroke.
96 mLastInterpolatedDrawIndex = stroke.interpolateStrokeAndReturnStartIndexOfLastSegment(
247 // The start index of the last segment of the stroke
260 // {@link Paint} that is zero width stroke and anti alias off draws exactly 1 pixel.