HomeSort by relevance Sort by last modified time
    Searched refs:points (Results 1 - 25 of 367) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/src/svg/
SkSVGLinearGradient.cpp 31 SkString points; local
32 points.appendUnichar('[');
33 points.append(f_x1);
34 points.appendUnichar(',');
35 points.append(f_y1);
36 points.appendUnichar(',');
37 points.append(f_x2);
38 points.appendUnichar(',');
39 points.append(f_y2);
40 points.appendUnichar(']')
    [all...]
  /external/webkit/Source/WebCore/svg/
SVGPolygonElement.cpp 44 SVGPointList& points = pointList(); local
45 if (points.isEmpty())
48 path.moveTo(points.first());
50 unsigned size = points.size();
52 path.addLineTo(points.at(i));
SVGPolylineElement.cpp 44 SVGPointList& points = pointList(); local
45 if (points.isEmpty())
48 path.moveTo(points.first());
50 unsigned size = points.size();
52 path.addLineTo(points.at(i));
SVGPolygonElement.idl 34 readonly attribute SVGPointList points;
SVGPolylineElement.idl 34 readonly attribute SVGPointList points;
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
HullCollisionShape.java 18 private float[] points; field in class:HullCollisionShape
24 this.points = getPoints(mesh);
25 createShape(this.points);
28 public HullCollisionShape(float[] points) {
29 this.points = points;
30 createShape(this.points);
38 capsule.write(points, "points", null);
49 this.points = getPoints(mesh)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
SkeletonDebugger.java 43 private SkeletonPoints points; field in class:SkeletonDebugger
51 points = new SkeletonPoints(skeleton);
54 attachChild(new Geometry(name+"_points", points));
68 points.updateGeometry();
72 return points;
WireFrustum.java 44 public WireFrustum(Vector3f[] points){
45 if (points != null)
46 setBuffer(Type.Position, 3, BufferUtils.createFloatBuffer(points));
69 public void update(Vector3f[] points){
72 setBuffer(Type.Position, 3, BufferUtils.createFloatBuffer(points));
76 FloatBuffer b = BufferUtils.createFloatBuffer(points);
  /external/webkit/Source/WebCore/rendering/svg/
SVGMarkerData.h 91 FloatPoint* points = element->points; local
96 m_origin = points[1];
99 m_inslopePoints[0] = points[1];
100 m_inslopePoints[1] = points[2];
101 m_origin = points[2];
104 m_subpathStart = points[0];
106 updateInslope(points[0]);
107 m_origin = points[0];
110 updateInslope(points[0])
    [all...]
  /external/skia/legacy/src/animator/
SkParseSVGPath.cpp 31 //define our points
119 SkPoint points[3]; local
144 data = find_points(data, points, 1, relative, &c);
145 fPath.moveTo(points[0]);
147 c = points[0];
150 data = find_points(data, points, 1, relative, &c);
151 fPath.lineTo(points[0]);
152 c = points[0];
169 data = find_points(data, points, 3, relative, &c);
172 data = find_points(data, &points[1], 2, relative, &c)
    [all...]
  /external/skia/src/animator/
SkParseSVGPath.cpp 31 //define our points
119 SkPoint points[3]; local
144 data = find_points(data, points, 1, relative, &c);
145 fPath.moveTo(points[0]);
147 c = points[0];
150 data = find_points(data, points, 1, relative, &c);
151 fPath.lineTo(points[0]);
152 c = points[0];
169 data = find_points(data, points, 3, relative, &c);
172 data = find_points(data, &points[1], 2, relative, &c)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
SplineMath.java 19 double[][] points = new double[mPoints.length][2]; local
22 points[i][0] = mPoints[i][0];
23 points[i][1] = mPoints[i][1];
26 double[] derivatives = solveSystem(points);
27 float start = (float) points[0][0];
28 float end = (float) (points[points.length - 1][0]);
30 curve[0][0] = (float) (points[0][0]);
31 curve[0][1] = (float) (points[0][1]);
33 curve[last][0] = (float) (points[points.length - 1][0])
    [all...]
  /external/skia/tests/
PathCoverageTest.cpp 26 // For determining the maximum possible number of points to use in
39 static inline int estimate_distance(const SkPoint points[]) {
40 return cheap_distance(points[1].fX * 2 - points[2].fX - points[0].fX,
41 points[1].fY * 2 - points[2].fY - points[0].fY);
44 static inline SkScalar compute_distance(const SkPoint points[]) {
45 return points[1].distanceToLineSegmentBetween(points[0], points[2])
    [all...]
  /packages/apps/Camera/tests/src/com/android/camera/unittest/
CameraUnitTest.java 74 float[] points; local
78 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
80 matrix.mapPoints(points);
81 assertEquals(expected, points);
84 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
86 matrix.mapPoints(points);
87 assertEquals(expected, points);
90 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
92 matrix.mapPoints(points);
93 assertEquals(expected, points);
    [all...]
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/unittest/
CameraUnitTest.java 74 float[] points; local
78 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
80 matrix.mapPoints(points);
81 assertEquals(expected, points);
84 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
86 matrix.mapPoints(points);
87 assertEquals(expected, points);
90 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
92 matrix.mapPoints(points);
93 assertEquals(expected, points);
    [all...]
  /packages/apps/Gallery2/tests_camera/src/com/android/camera/unittest/
CameraUnitTest.java 74 float[] points; local
78 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
80 matrix.mapPoints(points);
81 assertEquals(expected, points);
84 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
86 matrix.mapPoints(points);
87 assertEquals(expected, points);
90 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
92 matrix.mapPoints(points);
93 assertEquals(expected, points);
    [all...]
  /packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/
CameraTest.java 78 float[] points; local
82 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
84 matrix.mapPoints(points);
85 assertEquals(expected, points);
88 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
90 matrix.mapPoints(points);
91 assertEquals(expected, points);
94 points = new float[] {-1000, -1000, 0, 0, 1000, 1000, 0, 1000, -750, 250};
96 matrix.mapPoints(points);
97 assertEquals(expected, points);
    [all...]
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
HullCollisionShape.java 18 private float[] points; field in class:HullCollisionShape
25 this.points = getPoints(mesh);
29 public HullCollisionShape(float[] points) {
30 this.points = points;
39 capsule.write(points, "points", null);
50 this.points = getPoints(mesh);
52 this.points = capsule.readFloatArray("points", null);
    [all...]
  /external/skia/legacy/src/utils/
SkParsePath.cpp 75 SkPoint points[3]; local
101 data = find_points(data, points, 1, relative, &c);
102 path.moveTo(points[0]);
104 c = points[0];
107 data = find_points(data, points, 1, relative, &c);
108 path.lineTo(points[0]);
109 c = points[0];
124 data = find_points(data, points, 3, relative, &c);
127 data = find_points(data, &points[1], 2, relative, &c);
128 points[0] = c
    [all...]
  /external/skia/src/utils/
SkParsePath.cpp 75 SkPoint points[3]; local
101 data = find_points(data, points, 1, relative, &c);
102 path.moveTo(points[0]);
104 c = points[0];
107 data = find_points(data, points, 1, relative, &c);
108 path.lineTo(points[0]);
109 c = points[0];
124 data = find_points(data, points, 3, relative, &c);
127 data = find_points(data, &points[1], 2, relative, &c);
128 points[0] = c
    [all...]
  /frameworks/base/core/java/android/gesture/
GestureUtils.java 141 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) {
333 int count = points.length
472 float[] points = new float[count * 2]; local
491 float[] points = new float[size]; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
PathCG.cpp 94 CGPoint* points = element->points; local
100 CGPathMoveToPoint(path, 0, points[0].x, points[0].y);
103 CGPathAddLineToPoint(path, 0, points[0].x, points[0].y);
106 CGPathAddQuadCurveToPoint(path, 0, points[0].x, points[0].y, points[1].x, points[1].y)
268 FloatPoint points[3]; local
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
rounded_window.cc 56 // Returns a list of points that either form the outline of the status bubble
66 std::vector<GdkPoint> points; local
69 // If we have a stroke, we have to offset some of our points by 1 pixel.
79 // Build up points starting with the bottom left corner and continuing
87 // We are careful to only add points that are horizontal or vertically
89 // differences when two points are connected.
94 points.push_back(MakeBidiGdkPoint(
98 points.push_back(MakeBidiGdkPoint(
103 points.push_back(MakeBidiGdkPoint(
105 points.push_back(MakeBidiGdkPoint
229 std::vector<GdkPoint> points = MakeFramePolygonPoints( local
    [all...]
  /external/eigen/Eigen/src/Eigen2Support/
LeastSquares.h 19 * For a set of points, this function tries to express
23 * generality, for points in a space of arbitrary dimension, and also over
27 * So let us work with the following set of 5 points given by their
30 Vector3d points[5];
31 points[0] = Vector3d( 3.02, 6.89, -4.32 );
32 points[1] = Vector3d( 2.01, 5.39, -3.79 );
33 points[2] = Vector3d( 2.41, 6.01, -4.01 );
34 points[3] = Vector3d( 2.09, 5.55, -3.86 );
35 points[4] = Vector3d( 2.58, 6.32, -4.10 );
42 * best the five above points. To do that, call this function as follows
    [all...]
  /external/opencv/cv/src/
cvrotcalipers.cpp 65 // points - convex hull vertices ( any orientation )
70 // left, bottom, right, top - indexes of extremal points
72 // In case CV_CALIPERS_MAXDIST it points to float value -
93 icvRotatingCalipers( CvPoint2D32f* points, int n, int mode, float* out )
113 CvPoint2D32f pt0 = points[0];
134 CvPoint2D32f pt = points[(i+1) & (i+1 < n ? -1 : 0)];
250 float dx = points[seq[opposite_el]].x - points[seq[main_element]].x;
251 float dy = points[seq[opposite_el]].y - points[seq[main_element]].y
352 CvPoint2D32f* points = 0; local
    [all...]

Completed in 528 milliseconds

1 2 3 4 5 6 7 8 91011>>