Home
last modified time | relevance | path

Searched refs:points (Results 1 – 25 of 796) sorted by relevance

12345678910>>...32

/external/mesa3d/src/glx/
Deval.c41 const GLfloat * points, GLubyte * pc) in __glFillMap1f() argument
45 __GLX_PUT_FLOAT_ARRAY(0, points, order * k); in __glFillMap1f()
51 __GLX_PUT_FLOAT_ARRAY(0, points, k); in __glFillMap1f()
52 points += stride; in __glFillMap1f()
60 const GLdouble * points, GLubyte * pc) in __glFillMap1d() argument
64 __GLX_PUT_DOUBLE_ARRAY(0, points, order * k); in __glFillMap1d()
69 __GLX_PUT_DOUBLE_ARRAY(0, points, k); in __glFillMap1d()
70 points += stride; in __glFillMap1d()
79 const GLfloat * points, GLfloat * data) in __glFillMap2f() argument
85 __GLX_MEM_COPY(data, points, majorOrder * majorStride * in __glFillMap2f()
[all …]
/external/chromium_org/third_party/mesa/src/src/glx/
Deval.c41 const GLfloat * points, GLubyte * pc) in __glFillMap1f() argument
45 __GLX_PUT_FLOAT_ARRAY(0, points, order * k); in __glFillMap1f()
51 __GLX_PUT_FLOAT_ARRAY(0, points, k); in __glFillMap1f()
52 points += stride; in __glFillMap1f()
60 const GLdouble * points, GLubyte * pc) in __glFillMap1d() argument
64 __GLX_PUT_DOUBLE_ARRAY(0, points, order * k); in __glFillMap1d()
69 __GLX_PUT_DOUBLE_ARRAY(0, points, k); in __glFillMap1d()
70 points += stride; in __glFillMap1d()
79 const GLfloat * points, GLfloat * data) in __glFillMap2f() argument
85 __GLX_MEM_COPY(data, points, majorOrder * majorStride * in __glFillMap2f()
[all …]
/external/skia/bench/
DHairlinePathBench.cpp24 static const int points[] = { variable
87 int size = SK_ARRAY_COUNT(points); in makePath()
98 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath()
99 SkIntToScalar(points[base1+1] + yTrans)); in makePath()
100 path->lineTo(SkIntToScalar(points[base2] + xTrans), in makePath()
101 SkIntToScalar(points[base2+1] + yTrans)); in makePath()
102 path->lineTo(SkIntToScalar(points[base3] + xTrans), in makePath()
103 SkIntToScalar(points[base3+1] + yTrans)); in makePath()
119 int size = SK_ARRAY_COUNT(points); in makePath()
130 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath()
[all …]
/external/chromium_org/third_party/skia/src/animator/
DSkParseSVGPath.cpp119 SkPoint points[3]; in parseSVG() local
144 data = find_points(data, points, 1, relative, &c); in parseSVG()
145 fPath.moveTo(points[0]); in parseSVG()
147 c = points[0]; in parseSVG()
150 data = find_points(data, points, 1, relative, &c); in parseSVG()
151 fPath.lineTo(points[0]); in parseSVG()
152 c = points[0]; in parseSVG()
169 data = find_points(data, points, 3, relative, &c); in parseSVG()
172 data = find_points(data, &points[1], 2, relative, &c); in parseSVG()
173 points[0] = c; in parseSVG()
[all …]
/external/skia/src/animator/
DSkParseSVGPath.cpp119 SkPoint points[3]; in parseSVG() local
144 data = find_points(data, points, 1, relative, &c); in parseSVG()
145 fPath.moveTo(points[0]); in parseSVG()
147 c = points[0]; in parseSVG()
150 data = find_points(data, points, 1, relative, &c); in parseSVG()
151 fPath.lineTo(points[0]); in parseSVG()
152 c = points[0]; in parseSVG()
169 data = find_points(data, points, 3, relative, &c); in parseSVG()
172 data = find_points(data, &points[1], 2, relative, &c); in parseSVG()
173 points[0] = c; in parseSVG()
[all …]
/external/chromium_org/third_party/skia/src/utils/
DSkParsePath.cpp75 SkPoint points[3]; in FromSVGString() local
101 data = find_points(data, points, 1, relative, &c); in FromSVGString()
102 path.moveTo(points[0]); in FromSVGString()
104 c = points[0]; in FromSVGString()
107 data = find_points(data, points, 1, relative, &c); in FromSVGString()
108 path.lineTo(points[0]); in FromSVGString()
109 c = points[0]; in FromSVGString()
124 data = find_points(data, points, 3, relative, &c); in FromSVGString()
127 data = find_points(data, &points[1], 2, relative, &c); in FromSVGString()
128 points[0] = c; in FromSVGString()
[all …]
/external/skia/src/utils/
DSkParsePath.cpp75 SkPoint points[3]; in FromSVGString() local
101 data = find_points(data, points, 1, relative, &c); in FromSVGString()
102 path.moveTo(points[0]); in FromSVGString()
104 c = points[0]; in FromSVGString()
107 data = find_points(data, points, 1, relative, &c); in FromSVGString()
108 path.lineTo(points[0]); in FromSVGString()
109 c = points[0]; in FromSVGString()
124 data = find_points(data, points, 3, relative, &c); in FromSVGString()
127 data = find_points(data, &points[1], 2, relative, &c); in FromSVGString()
128 points[0] = c; in FromSVGString()
[all …]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DHullCollisionShape.java18 private float[] points; field in HullCollisionShape
24 this.points = getPoints(mesh); in HullCollisionShape()
25 createShape(this.points); in HullCollisionShape()
28 public HullCollisionShape(float[] points) { in HullCollisionShape() argument
29 this.points = points; in HullCollisionShape()
30 createShape(this.points); in HullCollisionShape()
38 capsule.write(points, "points", null); in write()
49 this.points = getPoints(mesh); in read()
51 this.points = capsule.readFloatArray("points", null); in read()
54 createShape(this.points); in read()
[all …]
/external/skia/tests/
DPathCoverageTest.cpp40 static inline int estimate_distance(const SkPoint points[]) { in estimate_distance() argument
41 return cheap_distance(points[1].fX * 2 - points[2].fX - points[0].fX, in estimate_distance()
42 points[1].fY * 2 - points[2].fY - points[0].fY); in estimate_distance()
45 static inline SkScalar compute_distance(const SkPoint points[]) { in compute_distance() argument
46 return points[1].distanceToLineSegmentBetween(points[0], points[2]); in compute_distance()
70 static uint32_t quadraticPointCount_EE(const SkPoint points[]) { in quadraticPointCount_EE() argument
71 int distance = estimate_distance(points); in quadraticPointCount_EE()
75 static uint32_t quadraticPointCount_EC(const SkPoint points[], SkScalar tol) { in quadraticPointCount_EC() argument
76 int distance = estimate_distance(points); in quadraticPointCount_EC()
80 static uint32_t quadraticPointCount_CE(const SkPoint points[]) { in quadraticPointCount_CE() argument
[all …]
/external/icu4c/data/unidata/
DconfusablesWholeScript.txt21 # Total code points: 2
33 # Total code points: 8
39 # Total code points: 1
48 # Total code points: 5
54 # Total code points: 1
60 # Total code points: 1
66 # Total code points: 1
72 # Total code points: 1
78 # Total code points: 1
91 # Total code points: 10
[all …]
/external/chromium_org/skia/ext/
Dplatform_device_mac.cc45 SkPoint points[4] = { {0, 0}, {0, 0}, {0, 0}, {0, 0} }; in LoadPathToCGContext() local
47 for (SkPath::Verb verb = iter.next(points); verb != SkPath::kDone_Verb; in LoadPathToCGContext()
48 verb = iter.next(points)) { in LoadPathToCGContext()
51 CGContextMoveToPoint(context, points[0].fX, points[0].fY); in LoadPathToCGContext()
55 CGContextAddLineToPoint(context, points[1].fX, points[1].fY); in LoadPathToCGContext()
59 CGContextAddQuadCurveToPoint(context, points[1].fX, points[1].fY, in LoadPathToCGContext()
60 points[2].fX, points[2].fY); in LoadPathToCGContext()
64 CGContextAddCurveToPoint(context, points[1].fX, points[1].fY, in LoadPathToCGContext()
65 points[2].fX, points[2].fY, in LoadPathToCGContext()
66 points[3].fX, points[3].fY); in LoadPathToCGContext()
/external/skia/src/svg/
DSkSVGLinearGradient.cpp31 SkString points; in DEFINE_SVG_INFO() local
32 points.appendUnichar('['); in DEFINE_SVG_INFO()
33 points.append(f_x1); in DEFINE_SVG_INFO()
34 points.appendUnichar(','); in DEFINE_SVG_INFO()
35 points.append(f_y1); in DEFINE_SVG_INFO()
36 points.appendUnichar(','); in DEFINE_SVG_INFO()
37 points.append(f_x2); in DEFINE_SVG_INFO()
38 points.appendUnichar(','); in DEFINE_SVG_INFO()
39 points.append(f_y2); in DEFINE_SVG_INFO()
40 points.appendUnichar(']'); in DEFINE_SVG_INFO()
[all …]
/external/chromium_org/third_party/skia/src/svg/
DSkSVGLinearGradient.cpp31 SkString points; in DEFINE_SVG_INFO() local
32 points.appendUnichar('['); in DEFINE_SVG_INFO()
33 points.append(f_x1); in DEFINE_SVG_INFO()
34 points.appendUnichar(','); in DEFINE_SVG_INFO()
35 points.append(f_y1); in DEFINE_SVG_INFO()
36 points.appendUnichar(','); in DEFINE_SVG_INFO()
37 points.append(f_x2); in DEFINE_SVG_INFO()
38 points.appendUnichar(','); in DEFINE_SVG_INFO()
39 points.append(f_y2); in DEFINE_SVG_INFO()
40 points.appendUnichar(']'); in DEFINE_SVG_INFO()
[all …]
/external/chromium_org/third_party/icu/source/data/unidata/
DconfusablesWholeScript.txt21 # Total code points: 2
34 # Total code points: 9
40 # Total code points: 1
49 # Total code points: 5
55 # Total code points: 1
61 # Total code points: 1
67 # Total code points: 1
73 # Total code points: 1
79 # Total code points: 1
93 # Total code points: 11
[all …]
DDerivedJoiningGroup.txt13 # All code points not explicitly listed for Joining_Group
25 # Total code points: 7
31 # Total code points: 1
42 # Total code points: 10
52 # Total code points: 19
59 # Total code points: 2
68 # Total code points: 14
76 # Total code points: 4
82 # Total code points: 1
90 # Total code points: 9
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGSubpathData.h46 subpathFinder->m_lastPoint = subpathFinder->m_movePoint = element->points[0]; in updateFromPathElement()
51 if (subpathFinder->m_lastPoint != element->points[0]) { in updateFromPathElement()
53 subpathFinder->m_lastPoint = element->points[0]; in updateFromPathElement()
58 …if (subpathFinder->m_lastPoint != element->points[0] || element->points[0] != element->points[1]) { in updateFromPathElement()
60 subpathFinder->m_lastPoint = element->points[1]; in updateFromPathElement()
65 …der->m_lastPoint != element->points[0] || element->points[0] != element->points[1] || element->poi… in updateFromPathElement()
67 subpathFinder->m_lastPoint = element->points[2]; in updateFromPathElement()
DSVGMarkerData.h63 markerData->updateOutslope(element->points[0]); in updateFromPathElement()
115 FloatPoint* points = element->points; in updateMarkerDataForPathElement() local
120 m_origin = points[1]; in updateMarkerDataForPathElement()
123 m_inslopePoints[0] = points[1]; in updateMarkerDataForPathElement()
124 m_inslopePoints[1] = points[2]; in updateMarkerDataForPathElement()
125 m_origin = points[2]; in updateMarkerDataForPathElement()
128 m_subpathStart = points[0]; in updateMarkerDataForPathElement()
130 updateInslope(points[0]); in updateMarkerDataForPathElement()
131 m_origin = points[0]; in updateMarkerDataForPathElement()
134 updateInslope(points[0]); in updateMarkerDataForPathElement()
/external/opencv/cv/src/
Dcvrotcalipers.cpp93 icvRotatingCalipers( CvPoint2D32f* points, int n, int mode, float* out ) in icvRotatingCalipers() argument
113 CvPoint2D32f pt0 = points[0]; in icvRotatingCalipers()
134 CvPoint2D32f pt = points[(i+1) & (i+1 < n ? -1 : 0)]; in icvRotatingCalipers()
250 float dx = points[seq[opposite_el]].x - points[seq[main_element]].x; in icvRotatingCalipers()
251 float dy = points[seq[opposite_el]].y - points[seq[main_element]].y; in icvRotatingCalipers()
271 float dx = points[seq[1]].x - points[seq[3]].x; in icvRotatingCalipers()
272 float dy = points[seq[1]].y - points[seq[3]].y; in icvRotatingCalipers()
278 dx = points[seq[2]].x - points[seq[0]].x; in icvRotatingCalipers()
279 dy = points[seq[2]].y - points[seq[0]].y; in icvRotatingCalipers()
317 float C1 = A1 * points[((int *) buf)[0]].x + points[((int *) buf)[0]].y * B1; in icvRotatingCalipers()
[all …]
Dcvlinefit.cpp46 icvFitLine2D_wods( CvPoint2D32f * points, int _count, float *weights, float *line ) in icvFitLine2D_wods() argument
60 x += points[i].x; in icvFitLine2D_wods()
61 y += points[i].y; in icvFitLine2D_wods()
62 x2 += points[i].x * points[i].x; in icvFitLine2D_wods()
63 y2 += points[i].y * points[i].y; in icvFitLine2D_wods()
64 xy += points[i].x * points[i].y; in icvFitLine2D_wods()
72 x += weights[i] * points[i].x; in icvFitLine2D_wods()
73 y += weights[i] * points[i].y; in icvFitLine2D_wods()
74 x2 += weights[i] * points[i].x * points[i].x; in icvFitLine2D_wods()
75 y2 += weights[i] * points[i].y * points[i].y; in icvFitLine2D_wods()
[all …]
/external/chromium_org/chrome/browser/ui/gtk/
Drounded_window.cc67 std::vector<GdkPoint> points; in MakeFramePolygonPoints() local
95 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
99 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
104 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
106 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
110 points.push_back(MakeBidiGdkPoint(x_off_r, height + y_off, width, ltr)); in MakeFramePolygonPoints()
122 points.push_back(MakeBidiGdkPoint(corner_size - x + x_off_r, in MakeFramePolygonPoints()
125 points.push_back(MakeBidiGdkPoint(corner_size - x + 1 + x_off_r, in MakeFramePolygonPoints()
130 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
132 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
[all …]
/external/chromium/chrome/browser/ui/gtk/
Drounded_window.cc66 std::vector<GdkPoint> points; in MakeFramePolygonPoints() local
94 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
98 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
103 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
105 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
109 points.push_back(MakeBidiGdkPoint(x_off_r, height + y_off, width, ltr)); in MakeFramePolygonPoints()
121 points.push_back(MakeBidiGdkPoint(corner_size - x + x_off_r, in MakeFramePolygonPoints()
124 points.push_back(MakeBidiGdkPoint(corner_size - x + 1 + x_off_r, in MakeFramePolygonPoints()
129 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
131 points.push_back(MakeBidiGdkPoint( in MakeFramePolygonPoints()
[all …]
/external/chromium_org/ui/gfx/
Dpath.cc15 Path::Path(const Point* points, size_t count) { in Path() argument
17 moveTo(SkIntToScalar(points[0].x), SkIntToScalar(points[0].y)); in Path()
19 lineTo(SkIntToScalar(points[i].x), SkIntToScalar(points[i].y)); in Path()
22 Path::Path(const PointF* points, size_t count) { in Path() argument
24 moveTo(SkFloatToScalar(points[0].x), SkFloatToScalar(points[0].y)); in Path()
26 lineTo(SkFloatToScalar(points[i].x), SkFloatToScalar(points[i].y)); in Path()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DHullCollisionShape.java18 private float[] points; field in HullCollisionShape
25 this.points = getPoints(mesh); in HullCollisionShape()
29 public HullCollisionShape(float[] points) { in HullCollisionShape() argument
30 this.points = points; in HullCollisionShape()
39 capsule.write(points, "points", null); in write()
50 this.points = getPoints(mesh); in read()
52 this.points = capsule.readFloatArray("points", null); in read()
69 ByteBuffer bbuf=BufferUtils.createByteBuffer(points.length * 4); in createShape()
73 for (int i = 0; i < points.length; i++) { in createShape()
74 float f = points[i]; in createShape()
[all …]
/external/chromium_org/ash/wm/
Dsystem_gesture_event_filter_unittest.cc302 gfx::Point points[kTouchPoints] = { in TEST_P() local
313 generator.GestureMultiFingerScroll(kTouchPoints, points, 15, kSteps, 0, 150); in TEST_P()
322 generator.GestureMultiFingerScroll(kTouchPoints, points, 15, kSteps, 0, -150); in TEST_P()
329 generator.GestureMultiFingerScroll(kTouchPoints, points, 15, kSteps, 150, 0); in TEST_P()
336 left_points[i] = points[i]; in TEST_P()
346 generator.GestureMultiFingerScroll(kTouchPoints, points, 15, kSteps, 150, 0); in TEST_P()
361 gfx::Point points[kTouchPoints] = { in TEST_P() local
372 generator.GestureMultiFingerScroll(kTouchPoints, points, 15, kSteps, 0, 150); in TEST_P()
379 generator.GestureMultiFingerScroll(kTouchPoints, points, 15, kSteps, 0, -150); in TEST_P()
387 generator.GestureMultiFingerScroll(kTouchPoints, points, 15, kSteps, 150, 0); in TEST_P()
[all …]
/external/skia/gm/
Dmixedxfermodes.cpp51 SkPoint points[4]; in drawShape() local
52 kRect.toQuad(points); in drawShape()
53 fConvexPath.moveTo(points[0]); in drawShape()
54 fConvexPath.quadTo(points[1], points[2]); in drawShape()
55 fConvexPath.quadTo(points[3], points[0]); in drawShape()
62 SkPoint points[5] = {{0, SkIntToScalar(-50)} }; in drawShape() local
66 rot.mapPoints(points + i, points + i - 1, 1); in drawShape()
68 fConcavePath.moveTo(points[0]); in drawShape()
70 fConcavePath.lineTo(points[(2 * i) % 5]); in drawShape()

12345678910>>...32