HomeSort by relevance Sort by last modified time
    Searched full:point2 (Results 1 - 25 of 51) sorted by null

1 2 3

  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
struct.rs 3 typedef struct Point2 {
7 Point_2 *point2;
12 rsDebug("Point: ", point2[0].x, point2[0].y);
13 _RS_ASSERT(point2[0].x == expected);
14 _RS_ASSERT(point2[0].y == expected);
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
struct.rs 3 typedef struct Point2 {
7 Point_2 *point2;
12 rsDebug("Point: ", point2[0].x, point2[0].y);
13 _RS_ASSERT(point2[0].x == expected);
14 _RS_ASSERT(point2[0].y == expected);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutPointTest.java 28 LayoutPoint point2 = LayoutPoint.create(mCanvas, 1, 2); local
32 assertFalse(point2.equals(null));
34 assertEquals(point2, point2);
35 assertEquals(point2, point2b);
36 assertEquals(point2.hashCode(), point2b.hashCode());
37 assertNotSame(point2, point2b);
39 assertFalse(point1.equals(point2));
41 assertFalse(point2.equals(point3));
42 assertFalse(point1.equals(point2));
    [all...]
ControlPointTest.java 57 ControlPoint point2 = ControlPoint.create(mCanvas, 1, 2); local
61 assertFalse(point2.equals(null));
63 assertEquals(point2, point2);
64 assertEquals(point2, point2b);
65 assertEquals(point2.hashCode(), point2b.hashCode());
66 assertNotSame(point2, point2b);
68 assertFalse(point1.equals(point2));
70 assertFalse(point2.equals(point3));
71 assertFalse(point1.equals(point2));
    [all...]
  /external/clang/test/PCH/
struct.h 7 struct Point2 {
  /external/chromium_org/third_party/skia/experimental/Intersection/
NearestPoint.cpp 21 Point2 NearestPointOnCurve();
23 static Point2 *ConvertToBezierForm();
27 static Point2 Bezier();
46 static Point2 bezCurve[4] = { /* A cubic Bezier curve */
52 static Point2 arbPoint = { 3.5, 2.0 }; /*Some arbitrary point*/
53 Point2 pointOnCurve; /* Nearest point on the curve */
70 Point2 NearestPointOnCurve(P, V)
71 Point2 P; /* The user-supplied point */
72 Point2 *V; /* Control points of cubic Bezier */
74 Point2 *w; /* Ctl pts for 5th-degree eqn *
    [all...]
  /external/skia/experimental/Intersection/
NearestPoint.cpp 21 Point2 NearestPointOnCurve();
23 static Point2 *ConvertToBezierForm();
27 static Point2 Bezier();
46 static Point2 bezCurve[4] = { /* A cubic Bezier curve */
52 static Point2 arbPoint = { 3.5, 2.0 }; /*Some arbitrary point*/
53 Point2 pointOnCurve; /* Nearest point on the curve */
70 Point2 NearestPointOnCurve(P, V)
71 Point2 P; /* The user-supplied point */
72 Point2 *V; /* Control points of cubic Bezier */
74 Point2 *w; /* Ctl pts for 5th-degree eqn *
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGPathParser.cpp 122 FloatPoint point2; local
124 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint))
130 point2 += m_currentPoint;
133 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
135 m_controlPoint = point2;
138 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode);
144 FloatPoint point2; local
146 if (!m_source->parseCurveToCubicSmoothSegment(point2, targetPoint))
160 point2 += m_currentPoint;
164 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates)
    [all...]
SVGPathSegListBuilder.cpp 98 void SVGPathSegListBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
103 m_pathSegList->appendWithoutByteStreamSync(SVGPathSegCurvetoCubicAbs::create(m_pathElement, targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y()));
105 m_pathSegList->appendWithoutByteStreamSync(SVGPathSegCurvetoCubicRel::create(m_pathElement, targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y()));
108 void SVGPathSegListBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
113 m_pathSegList->appendWithoutByteStreamSync(SVGPathSegCurvetoCubicSmoothAbs::create(m_pathElement, targetPoint.x(), targetPoint.y(), point2.x(), point2.y()));
115 m_pathSegList->appendWithoutByteStreamSync(SVGPathSegCurvetoCubicSmoothRel::create(m_pathElement, targetPoint.x(), targetPoint.y(), point2.x(), point2.y()))
    [all...]
SVGPathByteStreamSource.cpp 73 bool SVGPathByteStreamSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint)
76 point2 = readFloatPoint();
81 bool SVGPathByteStreamSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint)
83 point2 = readFloatPoint();
SVGPathBuilder.cpp 52 void SVGPathBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
56 m_path->addBezierCurveTo(m_current + point1, m_current + point2, m_current + targetPoint);
60 m_path->addBezierCurveTo(point1, point2, m_current);
SVGPathStringBuilder.cpp 98 void SVGPathStringBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
102 appendPoint(m_stringBuilder, point2);
107 void SVGPathStringBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
109 emitCommand2Arg(m_stringBuilder, (mode == AbsoluteCoordinates) ? 'S' : 's', point2, targetPoint);
SVGPathStringSource.cpp 198 bool SVGPathStringSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint)
201 return parseFloatPoint3(m_current.m_character8, m_end.m_character8, point1, point2, targetPoint);
202 return parseFloatPoint3(m_current.m_character16, m_end.m_character16, point1, point2, targetPoint);
212 bool SVGPathStringSource::parseCurveToQuadraticSegment(FloatPoint& point2, FloatPoint& targetPoint)
215 return parseFloatPoint2(m_current.m_character8, m_end.m_character8, point2, targetPoint);
216 return parseFloatPoint2(m_current.m_character16, m_end.m_character16, point2, targetPoint);
SVGPathTraversalStateBuilder.cpp 47 void SVGPathTraversalStateBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode)
50 m_traversalState->m_totalLength += m_traversalState->cubicBezierTo(point1, point2, targetPoint);
SVGPathByteStreamBuilder.cpp 105 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
110 buffer.writeFloatPoint(point2);
114 void SVGPathByteStreamBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
118 buffer.writeFloatPoint(point2);
SVGPathSegListSource.cpp 96 bool SVGPathSegListSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint)
102 point2 = FloatPoint(cubic->x2(), cubic->y2());
107 bool SVGPathSegListSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint)
112 point2 = FloatPoint(cubicSmooth->x2(), cubicSmooth->y2());
SVGParserUtilities.cpp 464 inline bool parseFloatPoint2(const CharType*& current, const CharType* end, FloatPoint& point1, FloatPoint& point2)
476 point2 = FloatPoint(x2, y2);
480 template bool parseFloatPoint2(const LChar*& current, const LChar* end, FloatPoint& point1, FloatPoint& point2);
481 template bool parseFloatPoint2(const UChar*& current, const UChar* end, FloatPoint& point1, FloatPoint& point2);
484 bool parseFloatPoint3(const CharType*& current, const CharType* end, FloatPoint& point1, FloatPoint& point2, FloatPoint& point3)
500 point2 = FloatPoint(x2, y2);
505 template bool parseFloatPoint3(const LChar*& current, const LChar* end, FloatPoint& point1, FloatPoint& point2, FloatPoint& point3);
506 template bool parseFloatPoint3(const UChar*& current, const UChar* end, FloatPoint& point1, FloatPoint& point2, FloatPoint& point3);
  /external/chromium_org/third_party/skia/src/utils/win/
SkDWriteGeometrySink.cpp 120 { beziers->point2.x, beziers->point2.y },
128 beziers->point2.x, beziers->point2.y,
  /external/skia/src/utils/win/
SkDWriteGeometrySink.cpp 120 { beziers->point2.x, beziers->point2.y },
128 beziers->point2.x, beziers->point2.y,
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WebPluginContainerTest.cpp 118 WebPoint point2 = pluginContainerOne->windowToLocalPoint(WebPoint(100, 100)); local
119 ASSERT_EQ(90, point2.x);
120 ASSERT_EQ(90, point2.y);
148 WebPoint point2 = pluginContainerOne->localToWindowPoint(WebPoint(90, 90)); local
149 ASSERT_EQ(100, point2.x);
150 ASSERT_EQ(100, point2.y);
  /external/clang/test/CodeGen/
struct.c 18 } point2; variable in typeref:struct:__anon2406
21 point2.p1.a = 42;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_pep3118.py 85 class Point2(Structure):
87 Point2._fields_ = [("x", c_long), ("y", c_long)]
155 (Point2, "T{<l:x:<l:y:}", None, Point2),
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_pep3118.py 85 class Point2(Structure):
87 Point2._fields_ = [("x", c_long), ("y", c_long)]
155 (Point2, "T{<l:x:<l:y:}", None, Point2),
  /external/opencv/cvaux/src/
cvmorphcontours.cpp 554 CvPoint* point2; // array of second contour point local
571 point2 = (CvPoint* )malloc( Nj*sizeof(CvPoint) );
575 cvCvtSeqToArray( contour2, point2, CV_WHOLE_SEQ );
579 point2[Nj-1] = point2[0];
596 point_output.x = cvRound(point1[i].x + param*( point2[corr_point].x - point1[i].x ));
597 point_output.y = cvRound(point1[i].y + param*( point2[corr_point].y - point1[i].y ));
634 CvPoint* point2; // array of second contour point local
659 point2 = (CvPoint* )malloc( Nj*sizeof(CvPoint) );
665 cvCvtSeqToArray( contour2, point2, CV_WHOLE_SEQ )
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
d2d1helper.h 31 template<typename T> D2D1FORCEINLINE typename TypeTraits<T>::Point Point2(T x, T y) {
37 return Point2<FLOAT>(x, y);
41 return Point2<UINT32>(x, y);
80 D2D1FORCEINLINE D2D1_BEZIER_SEGMENT BezierSegment(const D2D1_POINT_2F &point1, const D2D1_POINT_2F &point2, const D2D1_POINT_2F &point3) {
81 D2D1_BEZIER_SEGMENT r = {point1, point2, point3};
107 D2D1FORCEINLINE D2D1_QUADRATIC_BEZIER_SEGMENT QuadraticBezierSegment(const D2D1_POINT_2F &point1, const D2D1_POINT_2F &point2) {
108 D2D1_QUADRATIC_BEZIER_SEGMENT r = {point1, point2};

Completed in 527 milliseconds

1 2 3