Lines Matching refs:points
31 * consists of a sequence of timed points. One or multiple strokes form a gesture.
39 public final float[] points;
45 * A constructor that constructs a gesture stroke from a list of gesture points.
47 * @param points
49 public GestureStroke(ArrayList<GesturePoint> points) {
50 final int count = points.size();
59 final GesturePoint p = points.get(i);
80 this.points = tmpPoints;
91 points = pts.clone();
97 return new GestureStroke(boundingBox, length, points, timestamps);
122 final float[] localPoints = points;
153 * Converts the stroke to a Path of a given number of points.
157 * @param numSample the number of points needed
202 final float[] pts = points;
204 final int count = points.length;
206 // Write number of points
220 // Number of points
223 final ArrayList<GesturePoint> points = new ArrayList<GesturePoint>(count);
225 points.add(GesturePoint.deserialize(in));
228 return new GestureStroke(points);
244 return GestureUtils.computeOrientedBoundingBox(points);