HomeSort by relevance Sort by last modified time
    Searched refs:points (Results 1 - 25 of 308) 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...]
  /sdk/chimpchat/test/com/android/chimpchat/adb/
LinearInterpolatorTest.java 31 private final List<LinearInterpolator.Point> points = Lists.newArrayList(); field in class:LinearInterpolatorTest.Collector
34 return points;
38 points.add(input);
42 points.add(input);
46 points.add(input);
62 List<LinearInterpolator.Point> points = collector.getPoints(); local
63 assertEquals(11, points.size());
64 for (int x = 0; x < points.size(); x++) {
65 assertEquals(new Point(STEP_POINTS.get(x), 100), points.get(x));
76 List<LinearInterpolator.Point> points = collector.getPoints() local
90 List<LinearInterpolator.Point> points = collector.getPoints(); local
104 List<LinearInterpolator.Point> points = collector.getPoints(); local
118 List<LinearInterpolator.Point> points = collector.getPoints(); local
132 List<LinearInterpolator.Point> points = collector.getPoints(); local
    [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/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/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/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/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/skia/src/gpu/
GrPathUtils.h 32 uint32_t quadraticPointCount(const GrPoint points[], GrScalar tol);
37 GrPoint** points,
41 uint32_t cubicPointCount(const GrPoint points[], GrScalar tol);
47 GrPoint** points,
55 // result is sets of 3 points in quads (TODO: share endpoints in returned
  /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/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...]
cvlinefit.cpp 46 icvFitLine2D_wods( CvPoint2D32f * points, int _count, float *weights, float *line )
60 x += points[i].x;
61 y += points[i].y;
62 x2 += points[i].x * points[i].x;
63 y2 += points[i].y * points[i].y;
64 xy += points[i].x * points[i].y;
72 x += weights[i] * points[i].x
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
InvertedChartAxis.java 61 final float[] points = mWrapped.getTickPoints(); local
62 for (int i = 0; i < points.length; i++) {
63 points[i] = mSize - points[i];
65 return points;
  /external/jmonkeyengine/engine/src/core/com/jme3/shadow/
ShadowCamera.java 47 private Vector3f[] points = new Vector3f[8]; field in class:ShadowCamera
52 for (int i = 0; i < points.length; i++) {
53 points[i] = new Vector3f();
  /external/webkit/Source/WebCore/platform/qt/
PlatformTouchEventQt.cpp 38 const QList<QTouchEvent::TouchPoint>& points = event->touchPoints(); local
39 for (int i = 0; i < points.count(); ++i)
40 m_touchPoints.append(PlatformTouchPoint(points.at(i)));

Completed in 666 milliseconds

1 2 3 4 5 6 7 8 91011>>