/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/webkit/Source/WebCore/svg/ |
SVGPathParser.cpp | 123 FloatPoint point2; local 125 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint)) 131 point2 += m_currentPoint; 134 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates); 136 m_controlPoint = point2; 139 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode); 145 FloatPoint point2; local 147 if (!m_source->parseCurveToCubicSmoothSegment(point2, targetPoint)) 161 point2 += m_currentPoint; 165 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates) [all...] |
SVGPathByteStreamSource.cpp | 75 bool SVGPathByteStreamSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) 78 point2 = readFloatPoint(); 83 bool SVGPathByteStreamSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint) 85 point2 = readFloatPoint();
|
SVGPathStringBuilder.cpp | 70 void SVGPathStringBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 73 m_stringBuilder.append(String::format("C %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPoint.x(), targetPoint.y())); 75 m_stringBuilder.append(String::format("c %.6lg %.6lg %.6lg %.6lg %.6lg %.6lg ", point1.x(), point1.y(), point2.x(), point2.y(), targetPoint.x(), targetPoint.y())); 78 void SVGPathStringBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 81 m_stringBuilder.append(String::format("S %.6lg %.6lg %.6lg %.6lg ", point2.x(), point2.y(), targetPoint.x(), targetPoint.y())); 83 m_stringBuilder.append(String::format("s %.6lg %.6lg %.6lg %.6lg ", point2.x(), point2.y(), targetPoint.x(), targetPoint.y())) [all...] |
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);
|
SVGPathSegListBuilder.cpp | 92 void SVGPathSegListBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 97 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicAbs(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathSegRole)); 99 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicRel(targetPoint.x(), targetPoint.y(), point1.x(), point1.y(), point2.x(), point2.y(), m_pathSegRole)); 102 void SVGPathSegListBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 107 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicSmoothAbs(targetPoint.x(), targetPoint.y(), point2.x(), point2.y(), m_pathSegRole)); 109 m_pathSegList->append(m_pathElement->createSVGPathSegCurvetoCubicSmoothRel(targetPoint.x(), targetPoint.y(), point2.x(), point2.y(), m_pathSegRole)) [all...] |
SVGPathByteStreamBuilder.cpp | 65 void SVGPathByteStreamBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 70 writeFloatPoint(point2); 74 void SVGPathByteStreamBuilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode mode) 78 writeFloatPoint(point2);
|
SVGPathTraversalStateBuilder.cpp | 48 void SVGPathTraversalStateBuilder::curveToCubic(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinateMode) 51 m_traversalState->m_totalLength += m_traversalState->cubicBezierTo(point1, point2, targetPoint);
|
SVGPathSegListSource.cpp | 98 bool SVGPathSegListSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) 104 point2 = FloatPoint(cubic->x2(), cubic->y2()); 109 bool SVGPathSegListSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint) 114 point2 = FloatPoint(cubicSmooth->x2(), cubicSmooth->y2());
|
SVGPathStringSource.cpp | 160 bool SVGPathStringSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) 176 point2 = FloatPoint(x2, y2); 197 bool SVGPathStringSource::parseCurveToQuadraticSegment(FloatPoint& point2, FloatPoint& targetPoint) 208 point2 = FloatPoint(x2, y2);
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
PathWx.cpp | 172 void Path::addArcTo(const FloatPoint& point1, const FloatPoint& point2, float radius) 176 m_path->AddArcToPoint(point1.x(), point1.y(), point2.x(), point2.y(), radius);
|
GraphicsContextWx.cpp | 206 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 212 FloatPoint p2 = point2; 215 m_data->context->DrawLine(point1.x(), point1.y(), point2.x(), point2.y());
|
/external/clang/test/CodeGen/ |
struct.c | 18 } point2; variable in typeref:struct:__anon4633 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/webkit/Source/WebKit/mac/WebView/ |
WebWindowAnimation.m | 47 static CGFloat squaredDistance(NSPoint point1, NSPoint point2) 49 CGFloat deltaX = point1.x - point2.x; 50 CGFloat deltaY = point1.y - point2.y;
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
PlatformPathWinCE.cpp | 338 const PathPoint& point2 = *i; local 340 if (point2.x() == point.x()) { 343 } else if (point2.x() < point.x() != point1->x() < point.x()) { 344 float y = (point2.y() - point1->y()) / (point2.x() - point1->x()) * (point.x() - point1->x()) + point1->y(); 356 if (point2.x() == point.x()) { 358 if (point2.y() <= point.y()) 386 if (wasNegative ? point2.x() > point.x() : point2.x() < point.x()) 389 } else if (point2.x() == point.x() && point2.y() >= point.y() [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...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
LoopBlinnLocalTriangulator.cpp | 77 FloatPoint3D point2(m_vertices[2]->xyCoordinates()); 78 FloatPoint3D crossProduct = (point1 - point0).cross(point2 - point0);
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
PathOpenVG.cpp | 229 void Path::addArcTo(const FloatPoint& point1, const FloatPoint& point2, float radius) 234 if (!radius || point0 == point1 || point1 == point2) { 240 FloatSize v21 = point2 - point1;
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
GraphicsContextHaiku.cpp | 102 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 110 m_data->m_view->StrokeLine(point1, point2, getHaikuStrokeStyle());
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
GraphicsContextAndroid.cpp | 549 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 560 const int idx = SkAbs32(point2.x() - point1.x()); 561 const int idy = SkAbs32(point2.y() - point1.y()); 567 SkScalar x = SkIntToScalar(SkMin32(point1.x(), point2.x())); 568 SkScalar y = SkIntToScalar(SkMin32(point1.y(), point2.y())); 620 SkPoint pts[2] = { point1, point2 }; [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
GraphicsContextCairo.cpp | 281 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 298 FloatPoint p2 = point2; 335 int distance = (isVerticalLine ? (point2.y() - point1.y()) : (point2.x() - point1.x())) - 2*static_cast<int>(width); [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GraphicsContextCG.cpp | 185 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 196 FloatPoint p2 = point2; 260 int distance = (isVerticalLine ? (point2.y() - point1.y()) : (point2.x() - point1.x())) - 2*(int)width; [all...] |