Searched defs:points (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/awt/java/awt/geom/
H A DEllipse2D.java252 * in (a, 0) and finished in (0, b) points. Control points for cubic
259 * The coefficient to calculate control points of Bezier curves.
264 * The points coordinates calculation table.
266 final double points[][] = { field in class:Ellipse2D.Iterator
353 double p[] = points[3];
359 double p[] = points[index - 1];
385 double p[] = points[3];
392 double p[] = points[index - 1];
H A DRoundRectangle2D.java330 * The coefficient to calculate control points of Bezier curves.
335 * The points coordinates calculation table.
337 double points[][] = { field in class:RoundRectangle2D.Iterator
369 * The segment types correspond to points array.
434 index = points.length;
443 return index > points.length;
455 if (index == points.length) {
459 double p[] = points[index];
475 if (index == points.length) {
479 double p[] = points[inde
[all...]
H A DCubicCurve2D.java33 * (Bezier) curve. The curved segment is determined by four points: a start
34 * point, an end point, and two control points. The control points give
632 * if any of the points is null.
660 * Sets the data of the curve by reading the data from an array of points.
664 * @param points
665 * the array of points containing the new coordinates.
669 * if {@code points.length} < offset + .
673 public void setCurve(Point2D[] points, int offset) { argument
674 setCurve(points[offse
[all...]
H A DGeneralPath.java65 * The points buffer.
67 float[] points; field in class:GeneralPath
75 * The points buffer size.
85 * The space amount in points buffer for different segmenet's types.
110 * The current cursor position in points buffer.
168 coords[i] = p.points[pointIndex + i];
184 System.arraycopy(p.points, pointIndex, coords, 0, count);
228 points = new float[initialCapacity * 2];
282 * whether to check for existing points.
296 if (pointSize + pointCount > points
[all...]
H A DQuadCurve2D.java33 * (Bezier) curve. The curved segment is determined by three points: a start
536 * if any of the three points is null.
563 * Sets the data of the curve by reading the data from an array of points.
567 * @param points
568 * the array of points containing the new coordinates.
572 * if points.length < offset + 3.
576 public void setCurve(Point2D[] points, int offset) { argument
577 setCurve(points[offset + 0].getX(), points[offset + 0].getY(), points[offse
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureStroke.java31 * consists of a sequence of timed points. One or multiple strokes form a gesture.
39 public final float[] points; field in class:GestureStroke
45 * A constructor that constructs a gesture stroke from a list of gesture points.
47 * @param points
49 public GestureStroke(ArrayList<GesturePoint> points) { argument
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, timestamp
[all...]
H A DGestureUtils.java141 float[] strokepoints = stroke.points;
262 * points.
265 * @param numPoints the number of points
266 * @return the sampled points in the form of [x1, y1, x2, y2, ..., xn, yn]
273 float[] pts = stroke.points;
325 * Calculates the centroid of a set of points.
327 * @param points the points in the form of [x1, y1, x2, y2, ..., xn, yn]
330 static float[] computeCentroid(float[] points) { argument
333 int count = points
352 computeCoVariance(float[] points) argument
376 computeTotalLength(float[] points) argument
387 computeStraightness(float[] points) argument
394 computeStraightness(float[] points, float totalLen) argument
499 computeOrientedBoundingBox(float[] points, float[] centroid) argument
563 rotate(float[] points, float angle) argument
576 translate(float[] points, float dx, float dy) argument
585 scale(float[] points, float sx, float sy) argument
[all...]
/frameworks/base/awt/org/apache/harmony/awt/gl/render/
H A DJavaShapeRasterizer.java42 boolean[] edgesExt; // Extremal points
63 void add(MultiRectArea.LineCash rect, int[] points, int[] orient, int length, int y) { argument
67 dst[0] = points[0];
73 dst[dstLength++] = points[i];
77 dst[dstLength++] = points[i];
99 void add(MultiRectArea.LineCash rect, int[] points, int[] orient, int length, int y) { argument
104 if (points[i] != points[i + 1]) {
105 buf[j++] = points[i];
110 points[
126 add(MultiRectArea.LineCash rect, int[] points, int[] orient, int length, int y) argument
128 excludeEmpty(int[] points, int length) argument
141 union(int[] points, int length) argument
[all...]
/frameworks/base/awt/org/apache/harmony/awt/gl/
H A DMultiRectArea.java82 public void addLine(int[] points, int pointCount) { argument
108 pointX1 = points[pointIndex];
109 pointX2 = points[pointIndex + 1];
/frameworks/base/awt/java/awt/
H A DBasicStroke.java2144 * The points.
2146 float[] points; field in class:BasicStroke.BufferedPath
2183 points = new float[bufCapacity * 2];
2200 if (pointSize + pointCount > points.length) {
2202 System.arraycopy(points, 0, tmp, 0, pointSize);
2203 points = tmp;
2235 points[pointSize++] = xMove = (float)x;
2236 points[pointSize++] = yMove = (float)y;
2250 points[pointSize++] = xLast = (float)x;
2251 points[pointSiz
[all...]

Completed in 108 milliseconds