Home | History | Annotate | Download | only in gesture

Lines Matching defs: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);
79 this.points = tmpPoints;
90 points = pts.clone();
96 return new GestureStroke(boundingBox, length, points, timestamps);
121 final float[] localPoints = points;
152 * Converts the stroke to a Path of a given number of points.
156 * @param numSample the number of points needed
201 final float[] pts = points;
203 final int count = points.length;
205 // Write number of points
219 // Number of points
222 final ArrayList<GesturePoint> points = new ArrayList<GesturePoint>(count);
224 points.add(GesturePoint.deserialize(in));
227 return new GestureStroke(points);
243 return GestureUtils.computeOrientedBoundingBox(points);