Home
last modified time | relevance | path

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

12345678910>>...35

/external/chromium_org/chrome/browser/chromeos/ui/
Daccessibility_focus_ring_controller_unittest.cc94 const gfx::Point* points = rings[0].points; in TEST_F() local
95 EXPECT_EQ(gfx::Point(0, 90), points[0]); in TEST_F()
96 EXPECT_EQ(gfx::Point(0, 10), points[1]); in TEST_F()
97 EXPECT_EQ(gfx::Point(0, 0), points[2]); in TEST_F()
98 EXPECT_EQ(gfx::Point(10, 0), points[3]); in TEST_F()
99 EXPECT_EQ(gfx::Point(190, 0), points[4]); in TEST_F()
100 EXPECT_EQ(gfx::Point(200, 0), points[5]); in TEST_F()
101 EXPECT_EQ(gfx::Point(200, 10), points[6]); in TEST_F()
102 EXPECT_EQ(gfx::Point(200, 90), points[7]); in TEST_F()
103 EXPECT_EQ(gfx::Point(200, 100), points[8]); in TEST_F()
[all …]
Daccessibility_focus_ring.cc34 dst.points[i] = gfx::Point( in Interpolate()
35 r1.points[i].x() * (1 - fraction) + r2.points[i].x() * fraction, in Interpolate()
36 r1.points[i].y() * (1 - fraction) + r2.points[i].y() * fraction); in Interpolate()
71 ring.points[0] = gfx::Point(top.x(), top.bottom() - margin); in CreateWithParagraphShape()
72 ring.points[1] = gfx::Point(top.x(), top.y() + margin); in CreateWithParagraphShape()
73 ring.points[2] = gfx::Point(top.x(), top.y()); in CreateWithParagraphShape()
74 ring.points[3] = gfx::Point(top.x() + margin, top.y()); in CreateWithParagraphShape()
75 ring.points[4] = gfx::Point(top.right() - margin, top.y()); in CreateWithParagraphShape()
76 ring.points[5] = gfx::Point(top.right(), top.y()); in CreateWithParagraphShape()
77 ring.points[6] = gfx::Point(top.right(), top.y() + margin); in CreateWithParagraphShape()
[all …]
/external/fonttools/Lib/fontTools/pens/
DbasePen.py58 def curveTo(self, *points): argument
79 def qCurveTo(self, *points): argument
128 def curveTo(self, *points): argument
131 def qCurveTo(self, *points): argument
226 def curveTo(self, *points): argument
227 n = len(points) - 1 # 'n' is the number of control points
234 self._curveToOne(*points)
235 self.__currentPoint = points[-1]
245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points):
249 self.qCurveTo(*points)
[all …]
DtransformPen.py34 def curveTo(self, *points): argument
35 self._outPen.curveTo(*self._transformPoints(points))
37 def qCurveTo(self, *points): argument
38 if points[-1] is None:
39 points = self._transformPoints(points[:-1]) + [None]
41 points = self._transformPoints(points)
42 self._outPen.qCurveTo(*points)
44 def _transformPoints(self, points): argument
47 for pt in points:
/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/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/skia/bench/
DHairlinePathBench.cpp30 static const int points[] = { variable
93 int size = SK_ARRAY_COUNT(points); in makePath()
104 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath()
105 SkIntToScalar(points[base1+1] + yTrans)); in makePath()
106 path->lineTo(SkIntToScalar(points[base2] + xTrans), in makePath()
107 SkIntToScalar(points[base2+1] + yTrans)); in makePath()
108 path->lineTo(SkIntToScalar(points[base3] + xTrans), in makePath()
109 SkIntToScalar(points[base3+1] + yTrans)); in makePath()
125 int size = SK_ARRAY_COUNT(points); in makePath()
136 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath()
[all …]
/external/chromium_org/third_party/skia/bench/
DHairlinePathBench.cpp30 static const int points[] = { variable
93 int size = SK_ARRAY_COUNT(points); in makePath()
104 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath()
105 SkIntToScalar(points[base1+1] + yTrans)); in makePath()
106 path->lineTo(SkIntToScalar(points[base2] + xTrans), in makePath()
107 SkIntToScalar(points[base2+1] + yTrans)); in makePath()
108 path->lineTo(SkIntToScalar(points[base3] + xTrans), in makePath()
109 SkIntToScalar(points[base3+1] + yTrans)); in makePath()
125 int size = SK_ARRAY_COUNT(points); in makePath()
136 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath()
[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/chromium_org/third_party/icu/source/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/third_party/skia/tests/
DPathCoverageTest.cpp39 static inline int estimate_distance(const SkPoint points[]) { in estimate_distance() argument
40 return cheap_distance(points[1].fX * 2 - points[2].fX - points[0].fX, in estimate_distance()
41 points[1].fY * 2 - points[2].fY - points[0].fY); in estimate_distance()
44 static inline SkScalar compute_distance(const SkPoint points[]) { in compute_distance() argument
45 return points[1].distanceToLineSegmentBetween(points[0], points[2]); in compute_distance()
69 static uint32_t quadraticPointCount_EE(const SkPoint points[]) { in quadraticPointCount_EE() argument
70 int distance = estimate_distance(points); in quadraticPointCount_EE()
74 static uint32_t quadraticPointCount_EC(const SkPoint points[], SkScalar tol) { in quadraticPointCount_EC() argument
75 int distance = estimate_distance(points); in quadraticPointCount_EC()
79 static uint32_t quadraticPointCount_CE(const SkPoint points[]) { in quadraticPointCount_CE() argument
[all …]
/external/skia/tests/
DPathCoverageTest.cpp39 static inline int estimate_distance(const SkPoint points[]) { in estimate_distance() argument
40 return cheap_distance(points[1].fX * 2 - points[2].fX - points[0].fX, in estimate_distance()
41 points[1].fY * 2 - points[2].fY - points[0].fY); in estimate_distance()
44 static inline SkScalar compute_distance(const SkPoint points[]) { in compute_distance() argument
45 return points[1].distanceToLineSegmentBetween(points[0], points[2]); in compute_distance()
69 static uint32_t quadraticPointCount_EE(const SkPoint points[]) { in quadraticPointCount_EE() argument
70 int distance = estimate_distance(points); in quadraticPointCount_EE()
74 static uint32_t quadraticPointCount_EC(const SkPoint points[], SkScalar tol) { in quadraticPointCount_EC() argument
75 int distance = estimate_distance(points); in quadraticPointCount_EC()
79 static uint32_t quadraticPointCount_CE(const SkPoint points[]) { in quadraticPointCount_CE() argument
[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/icu/icu4c/source/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/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/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()
/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/skia/experimental/Intersection/
DLogoPlay.cpp212 SkPoint points[3]; in parsePath() local
239 data = find_points(data, points, 1, relative, &c); in parsePath()
240 fPath.moveTo(points[0]); in parsePath()
242 c = points[0]; in parsePath()
245 data = find_points(data, points, 1, relative, &c); in parsePath()
246 fPath.lineTo(points[0]); in parsePath()
247 c = points[0]; in parsePath()
264 data = find_points(data, points, 3, relative, &c); in parsePath()
267 data = find_points(data, &points[1], 2, relative, &c); in parsePath()
268 points[0] = c; in parsePath()
[all …]
/external/chromium_org/third_party/skia/experimental/Intersection/
DLogoPlay.cpp212 SkPoint points[3]; in parsePath() local
239 data = find_points(data, points, 1, relative, &c); in parsePath()
240 fPath.moveTo(points[0]); in parsePath()
242 c = points[0]; in parsePath()
245 data = find_points(data, points, 1, relative, &c); in parsePath()
246 fPath.lineTo(points[0]); in parsePath()
247 c = points[0]; in parsePath()
264 data = find_points(data, points, 3, relative, &c); in parsePath()
267 data = find_points(data, &points[1], 2, relative, &c); in parsePath()
268 points[0] = c; in parsePath()
[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()

12345678910>>...35