/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGPathSegListBuilder.cpp | 59 void SVGPathSegListBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode) in moveTo() argument 64 …m_pathSegList->append(m_pathElement->createSVGPathSegMovetoAbs(targetPoint.x(), targetPoint.y(), m… in moveTo() 66 …m_pathSegList->append(m_pathElement->createSVGPathSegMovetoRel(targetPoint.x(), targetPoint.y(), m… in moveTo() 69 void SVGPathSegListBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) in lineTo() argument 74 …m_pathSegList->append(m_pathElement->createSVGPathSegLinetoAbs(targetPoint.x(), targetPoint.y(), m… in lineTo() 76 …m_pathSegList->append(m_pathElement->createSVGPathSegLinetoRel(targetPoint.x(), targetPoint.y(), m… in lineTo() 99 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument 104 …egList->append(m_pathElement->createSVGPathSegCurvetoCubicAbs(targetPoint.x(), targetPoint.y(), po… in curveToCubic() 106 …egList->append(m_pathElement->createSVGPathSegCurvetoCubicRel(targetPoint.x(), targetPoint.y(), po… in curveToCubic() 109 …uilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubicSmooth() argument [all …]
|
D | SVGPathStringBuilder.cpp | 38 void SVGPathStringBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode) in moveTo() argument 41 …m_stringBuilder.append("M " + String::number(targetPoint.x()) + ' ' + String::number(targetPoint.y… in moveTo() 43 …m_stringBuilder.append("m " + String::number(targetPoint.x()) + ' ' + String::number(targetPoint.y… in moveTo() 46 void SVGPathStringBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) in lineTo() argument 49 …m_stringBuilder.append("L " + String::number(targetPoint.x()) + ' ' + String::number(targetPoint.y… in lineTo() 51 …m_stringBuilder.append("l " + String::number(targetPoint.x()) + ' ' + String::number(targetPoint.y… in lineTo() 70 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument 75 … + ' ' + String::number(targetPoint.x()) + ' ' + String::number(targetPoint.y()) + ' '); in curveToCubic() 81 … + ' ' + String::number(targetPoint.x()) + ' ' + String::number(targetPoint.y()) + ' '); in curveToCubic() 84 …uilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubicSmooth() argument [all …]
|
D | SVGPathParser.cpp | 51 FloatPoint targetPoint; in parseMoveToSegment() local 52 if (!m_source->parseMoveToSegment(targetPoint)) in parseMoveToSegment() 57 m_currentPoint += targetPoint; in parseMoveToSegment() 59 m_currentPoint = targetPoint; in parseMoveToSegment() 63 m_consumer->moveTo(targetPoint, m_closePath, m_mode); in parseMoveToSegment() 70 FloatPoint targetPoint; in parseLineToSegment() local 71 if (!m_source->parseLineToSegment(targetPoint)) in parseLineToSegment() 76 m_currentPoint += targetPoint; in parseLineToSegment() 78 m_currentPoint = targetPoint; in parseLineToSegment() 81 m_consumer->lineTo(targetPoint, m_mode); in parseLineToSegment() [all …]
|
D | SVGPathByteStreamSource.cpp | 49 bool SVGPathByteStreamSource::parseMoveToSegment(FloatPoint& targetPoint) in parseMoveToSegment() argument 51 targetPoint = readFloatPoint(); in parseMoveToSegment() 55 bool SVGPathByteStreamSource::parseLineToSegment(FloatPoint& targetPoint) in parseLineToSegment() argument 57 targetPoint = readFloatPoint(); in parseLineToSegment() 73 …amSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSegment() argument 77 targetPoint = readFloatPoint(); in parseCurveToCubicSegment() 81 …VGPathByteStreamSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSmoothSegment() argument 84 targetPoint = readFloatPoint(); in parseCurveToCubicSmoothSegment() 88 … SVGPathByteStreamSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPoint) in parseCurveToQuadraticSegment() argument 91 targetPoint = readFloatPoint(); in parseCurveToQuadraticSegment() [all …]
|
D | SVGPathStringSource.cpp | 170 bool SVGPathStringSource::parseMoveToSegment(FloatPoint& targetPoint) in parseMoveToSegment() argument 173 return parseFloatPoint(m_current.m_character8, m_end.m_character8, targetPoint); in parseMoveToSegment() 174 return parseFloatPoint(m_current.m_character16, m_end.m_character16, targetPoint); in parseMoveToSegment() 177 bool SVGPathStringSource::parseLineToSegment(FloatPoint& targetPoint) in parseLineToSegment() argument 180 return parseFloatPoint(m_current.m_character8, m_end.m_character8, targetPoint); in parseLineToSegment() 181 return parseFloatPoint(m_current.m_character16, m_end.m_character16, targetPoint); in parseLineToSegment() 198 …ngSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSegment() argument 201 … return parseFloatPoint3(m_current.m_character8, m_end.m_character8, point1, point2, targetPoint); in parseCurveToCubicSegment() 202 …return parseFloatPoint3(m_current.m_character16, m_end.m_character16, point1, point2, targetPoint); in parseCurveToCubicSegment() 205 …ol SVGPathStringSource::parseCurveToCubicSmoothSegment(FloatPoint& point1, FloatPoint& targetPoint) in parseCurveToCubicSmoothSegment() argument [all …]
|
D | SVGPathByteStreamBuilder.cpp | 34 void SVGPathByteStreamBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode mode) in moveTo() argument 38 writeFloatPoint(targetPoint); in moveTo() 41 void SVGPathByteStreamBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) in lineTo() argument 45 writeFloatPoint(targetPoint); in lineTo() 62 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument 68 writeFloatPoint(targetPoint); in curveToCubic() 71 …uilder::curveToCubicSmooth(const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubicSmooth() argument 76 writeFloatPoint(targetPoint); in curveToCubicSmooth() 79 …mBuilder::curveToQuadratic(const FloatPoint& point1, const FloatPoint& targetPoint, PathCoordinate… in curveToQuadratic() argument 84 writeFloatPoint(targetPoint); in curveToQuadratic() [all …]
|
D | SVGPathBuilder.cpp | 36 void SVGPathBuilder::moveTo(const FloatPoint& targetPoint, bool closed, PathCoordinateMode mode) in moveTo() argument 39 m_current = mode == AbsoluteCoordinates ? targetPoint : m_current + targetPoint; in moveTo() 45 void SVGPathBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode mode) in lineTo() argument 48 m_current = mode == AbsoluteCoordinates ? targetPoint : m_current + targetPoint; in lineTo() 52 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument 56 m_path->addBezierCurveTo(m_current + point1, m_current + point2, m_current + targetPoint); in curveToCubic() 57 m_current += targetPoint; in curveToCubic() 59 m_current = targetPoint; in curveToCubic()
|
D | SVGPathSegListSource.cpp | 61 bool SVGPathSegListSource::parseMoveToSegment(FloatPoint& targetPoint) in parseMoveToSegment() argument 66 targetPoint = FloatPoint(moveTo->x(), moveTo->y()); in parseMoveToSegment() 70 bool SVGPathSegListSource::parseLineToSegment(FloatPoint& targetPoint) in parseLineToSegment() argument 75 targetPoint = FloatPoint(lineTo->x(), lineTo->y()); in parseLineToSegment() 97 …stSource::parseCurveToCubicSegment(FloatPoint& point1, FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSegment() argument 104 targetPoint = FloatPoint(cubic->x(), cubic->y()); in parseCurveToCubicSegment() 108 …l SVGPathSegListSource::parseCurveToCubicSmoothSegment(FloatPoint& point2, FloatPoint& targetPoint) in parseCurveToCubicSmoothSegment() argument 114 targetPoint = FloatPoint(cubicSmooth->x(), cubicSmooth->y()); in parseCurveToCubicSmoothSegment() 118 bool SVGPathSegListSource::parseCurveToQuadraticSegment(FloatPoint& point1, FloatPoint& targetPoint) in parseCurveToQuadraticSegment() argument 124 targetPoint = FloatPoint(quadratic->x(), quadratic->y()); in parseCurveToQuadraticSegment() [all …]
|
D | SVGPathTraversalStateBuilder.cpp | 35 void SVGPathTraversalStateBuilder::moveTo(const FloatPoint& targetPoint, bool, PathCoordinateMode) in moveTo() argument 38 m_traversalState->m_totalLength += m_traversalState->moveTo(targetPoint); in moveTo() 41 void SVGPathTraversalStateBuilder::lineTo(const FloatPoint& targetPoint, PathCoordinateMode) in lineTo() argument 44 m_traversalState->m_totalLength += m_traversalState->lineTo(targetPoint); in lineTo() 47 …(const FloatPoint& point1, const FloatPoint& point2, const FloatPoint& targetPoint, PathCoordinate… in curveToCubic() argument 50 m_traversalState->m_totalLength += m_traversalState->cubicBezierTo(point1, point2, targetPoint); in curveToCubic()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | TouchAdjustment.h | 32 bool findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHots… 33 bool findBestContextMenuCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHo…
|
D | TouchAdjustment.cpp | 435 bool findNodeWithLowestDistanceMetric(Node*& targetNode, IntPoint& targetPoint, IntRect& targetArea… in findNodeWithLowestDistanceMetric() argument 448 targetPoint = adjustedPoint; in findNodeWithLowestDistanceMetric() 457 targetPoint = adjustedPoint; in findNodeWithLowestDistanceMetric() 472 bool findBestClickableCandidate(Node*& targetNode, IntPoint &targetPoint, const IntPoint &touchHots… in findBestClickableCandidate() argument 477 …return TouchAdjustment::findNodeWithLowestDistanceMetric(targetNode, targetPoint, targetArea, touc… in findBestClickableCandidate() 480 bool findBestContextMenuCandidate(Node*& targetNode, IntPoint &targetPoint, const IntPoint &touchHo… in findBestContextMenuCandidate() argument 485 …return TouchAdjustment::findNodeWithLowestDistanceMetric(targetNode, targetPoint, targetArea, touc… in findBestContextMenuCandidate() 490 IntPoint targetPoint; in findBestZoomableArea() local 493 …return TouchAdjustment::findNodeWithLowestDistanceMetric(targetNode, targetPoint, targetArea, touc… in findBestZoomableArea()
|
D | EventHandler.h | 147 …int(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetN… 148 …int(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetN…
|
D | EventHandler.cpp | 2695 …int(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetN… in bestClickableNodeForTouchPoint() argument 2717 …bool success = findBestClickableCandidate(targetNode, targetPoint, touchCenter, touchRect, Vector<… in bestClickableNodeForTouchPoint() 2723 …int(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetN… in bestContextMenuNodeForTouchPoint() argument 2734 …return findBestContextMenuCandidate(targetNode, targetPoint, touchCenter, touchRect, Vector<RefPtr… in bestContextMenuNodeForTouchPoint()
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_bar_controller_unittest.mm | 1906 NSPoint targetPoint = [targetButton center]; 1910 [dragInfo setDropLocation:targetPoint]; 1989 NSPoint targetPoint = [targetButton left]; 1992 const CGFloat baseOffset = targetPoint.x; 1994 CGFloat actual = [bar_ indicatorPosForDragToPoint:targetPoint]; 2002 targetPoint = [targetButton right]; 2003 targetPoint.x += 100; // Somewhere off to the right. 2006 actual = [bar_ indicatorPosForDragToPoint:targetPoint];
|
D | bookmark_bar_folder_controller_unittest.mm | 1536 NSPoint targetPoint = [targetButton top]; 1537 CGFloat pos = [folder indicatorPosForDragToPoint:targetPoint]; 1538 EXPECT_CGFLOAT_EQ(targetPoint.y + yOffset, pos);
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_bar_controller_unittest.mm | 2012 NSPoint targetPoint = [targetButton center]; 2016 [dragInfo setDropLocation:targetPoint]; 2090 NSPoint targetPoint = [targetButton left]; 2092 const CGFloat baseOffset = targetPoint.x; 2094 CGFloat actual = [bar_ indicatorPosForDragToPoint:targetPoint]; 2102 targetPoint = [targetButton right]; 2103 targetPoint.x += 100; // Somewhere off to the right. 2105 actual = [bar_ indicatorPosForDragToPoint:targetPoint];
|
D | bookmark_bar_folder_controller_unittest.mm | 1491 NSPoint targetPoint = [targetButton top]; 1492 CGFloat pos = [folder indicatorPosForDragToPoint:targetPoint]; 1493 EXPECT_CGFLOAT_EQ(targetPoint.y + yOffset, pos);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderLayer.cpp | 2716 FloatPoint targetPoint = transformState.mappedPoint(); in computeZOffset() local 2719 …oint3D backmappedPoint = transformState.m_accumulatedTransform.mapPoint(FloatPoint3D(targetPoint)); in computeZOffset()
|