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

1 2

  /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/chromium_org/third_party/WebKit/Source/core/svg/
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);
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...]
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();
SVGPathSegListBuilder.cpp 99 void SVGPathSegListBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
104 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathSegRole));
106 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathSegRole));
109 void SVGPathSegListBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
114 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicSmoothAbs(targetPoint.x(), targetPoint.y(), point2.x(), point2.y(), m_pathSegRole));
116 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicSmoothRel(targetPoint.x(), targetPoint.y(), point2.x(), point2.y(), m_pathSegRole))
    [all...]
SVGPathStringBuilder.cpp 70 void SVGPathStringBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
74 + ' ' + String::number(point2.x()) + ' ' + String::number(point2.y())
80 + ' ' + String::number(point2.x()) + ' ' + String::number(point2.y())
84 void SVGPathStringBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
87 m_stringBuilder.append("S " + String::number(point2.x()) + ' ' + String::number(point2.y())
92 m_stringBuilder.append("s " + String::number(point2.x()) + ' ' + String::number(point2.y()
    [all...]
SVGPathByteStreamBuilder.cpp 62 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
67 writeFloatPoint(point2);
71 void SVGPathByteStreamBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode)
75 writeFloatPoint(point2);
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);
SVGPathSegListSource.cpp 97 bool SVGPathSegListSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint)
103 point2 = FloatPoint(cubic->x2(), cubic->y2());
108 bool SVGPathSegListSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint)
113 point2 = FloatPoint(cubicSmooth->x2(), cubicSmooth->y2());
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);
SVGParserUtilities.cpp 520 inline bool parseFloatPoint2(const CharType*& current, const CharType* end, FloatPoint& point1, FloatPoint& point2)
532 point2 = FloatPoint(x2, y2);
536 template bool parseFloatPoint2(const LChar*& current, const LChar* end, FloatPoint& point1, FloatPoint& point2);
537 template bool parseFloatPoint2(const UChar*& current, const UChar* end, FloatPoint& point1, FloatPoint& point2);
540 bool parseFloatPoint3(const CharType*& current, const CharType* end, FloatPoint& point1, FloatPoint& point2, FloatPoint& point3)
556 point2 = FloatPoint(x2, y2);
561 template bool parseFloatPoint3(const LChar*& current, const LChar* end, FloatPoint& point1, FloatPoint& point2, FloatPoint& point3);
562 template bool parseFloatPoint3(const UChar*& current, const UChar* end, FloatPoint& point1, FloatPoint& point2, FloatPoint& point3);
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
SimplexCollisionShape.java 27 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3, Vector3f point4) {
29 vector2 = point2;
35 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3) {
37 vector2 = point2;
42 public SimplexCollisionShape(Vector3f point1, Vector3f point2) {
44 vector2 = point2;
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
SimplexCollisionShape.java 27 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3, Vector3f point4) {
29 vector2 = point2;
35 public SimplexCollisionShape(Vector3f point1, Vector3f point2, Vector3f point3) {
37 vector2 = point2;
42 public SimplexCollisionShape(Vector3f point1, Vector3f point2) {
44 vector2 = point2;
  /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);
  /packages/apps/Camera2/src/com/android/camera/crop/
GeometryMathUtils.java 118 public static float[] getVectorFromPoints(float[] point1, float[] point2) {
120 point2[0] - point1[0], point2[1] - point1[1]
125 public static float[] getUnitVectorFromPoints(float[] point1, float[] point2) {
127 point2[0] - point1[0], point2[1] - point1[1]
  /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/clang/test/CodeGen/
struct.c 18 } point2; variable in typeref:struct:__anon19250
21 point2.p1.a = 42;
  /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...]
cvepilines.cpp 77 CvPoint3D64d point2,
87 icvGetPieceLength3D(pointCorner,point2,&len2);
211 CvPoint2D64d point2; local
225 point2.x = (1.0 - alpha) * quad1[1][0] + alpha * quad1[2][0];
226 point2.y = (1.0 - alpha) * quad1[1][1] + alpha * quad1[2][1];
236 point2,
340 CvPoint2D64d point2,
369 icvGetDirectionForPoint( point2,
667 int icvGetAngleLine( CvPoint2D64d startPoint, CvSize imageSize,CvPoint2D64d *point1,CvPoint2D64d *point2)
695 *point2 = pc
2051 CvPoint2D64d point1,point2; local
    [all...]
  /external/chromium_org/ash/wm/
window_manager_unittest.cc 501 gfx::Point point2(kWindowLeft + 1, kWindowTop + 1);
502 aura::Window::ConvertPointToTarget(window->parent(), root_window, &point2);
519 ui::MouseEvent move2(ui::ET_MOUSE_MOVED, point2, point2, 0x0);
535 ui::MouseEvent move2(ui::ET_MOUSE_MOVED, point2, point2, 0x0);
549 ui::MouseEvent move2(ui::ET_MOUSE_MOVED, point2, point2, 0x0);
564 ui::MouseEvent move2(ui::ET_MOUSE_MOVED, point2, point2, 0x0)
    [all...]
  /external/opencv/cvaux/include/
cvaux.h 560 CvPoint3D64f point2,
563 CVAPI(void) icvGetPieceLength3D(CvPoint3D64f point1,CvPoint3D64f point2,double* dist);
586 CVAPI(float) icvDefinePointPosition(CvPoint2D32f point1,CvPoint2D32f point2,CvPoint2D32f point);
602 CvPoint2D64f point2,
638 CVAPI(int) icvGetAngleLine( CvPoint2D64f startPoint, CvSize imageSize,CvPoint2D64f *point1,CvPoint2D64f *point2);
655 CvPoint2D32f *point2);
661 CvPoint2D32f point2);
675 CVAPI(void) icvGetPieceLength(CvPoint2D64f point1,CvPoint2D64f point2,double* dist);
713 CvPoint2D64f point1,CvPoint2D64f point2,
718 CVAPI(double) icvGetVect(CvPoint2D64f basePoint,CvPoint2D64f point1,CvPoint2D64f point2);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
GeometryMathUtils.java 167 public static float[] getVectorFromPoints(float[] point1, float[] point2) {
169 point2[0] - point1[0], point2[1] - point1[1]
174 public static float[] getUnitVectorFromPoints(float[] point1, float[] point2) {
176 point2[0] - point1[0], point2[1] - point1[1]
  /external/chromium_org/ui/gfx/
box_unittest.cc 87 Point3F point2(-0.5f, -0.5f, -0.5f);
100 box1.ExpandTo(point2);
105 box2.ExpandTo(point2);
110 box3.ExpandTo(point2);

Completed in 1341 milliseconds

1 2