/external/skia/src/core/ |
D | SkPoint.cpp | 104 SkScalar uLengthSqd = LengthSqd(u); in DistanceToLineBetweenSqd() 117 return LengthSqd(v); in DistanceToLineBetweenSqd() 143 SkScalar uLengthSqd = LengthSqd(u); in DistanceToLineSegmentBetweenSqd() 148 return LengthSqd(v); in DistanceToLineSegmentBetweenSqd() 160 return LengthSqd(v); in DistanceToLineSegmentBetweenSqd()
|
D | SkPointPriv.h | 63 static SkScalar LengthSqd(const SkPoint& pt) { in LengthSqd() function
|
D | SkStroke.cpp | 978 SkScalar smallerLen = SkPointPriv::LengthSqd(smaller); in sharp_angle() 979 SkScalar largerLen = SkPointPriv::LengthSqd(larger); in sharp_angle()
|
D | SkPath.cpp | 2368 SkScalar lengthSqd = SkPointPriv::LengthSqd(vec); in addPt() 2430 if (!SkScalarNearlyZero(SkPointPriv::LengthSqd(fLastVec), in directionChange() 2432 !SkScalarNearlyZero(SkPointPriv::LengthSqd(curVec), in directionChange() 3657 if (SkScalarNearlyZero(SkPointPriv::LengthSqd(tangent))) { in contains()
|
D | SkGeometry.cpp | 928 SkScalar dPtMagnitude = SkPointPriv::LengthSqd(dPt); in SkFindCubicCusp()
|
/external/skqp/src/core/ |
D | SkPoint.cpp | 160 SkScalar uLengthSqd = LengthSqd(u); in DistanceToLineBetweenSqd() 173 return LengthSqd(v); in DistanceToLineBetweenSqd() 199 SkScalar uLengthSqd = LengthSqd(u); in DistanceToLineSegmentBetweenSqd() 204 return LengthSqd(v); in DistanceToLineSegmentBetweenSqd() 216 return LengthSqd(v); in DistanceToLineSegmentBetweenSqd()
|
D | SkPointPriv.h | 67 static SkScalar LengthSqd(const SkPoint& pt) { in LengthSqd() function
|
D | SkStroke.cpp | 982 SkScalar smallerLen = SkPointPriv::LengthSqd(smaller); in sharp_angle() 983 SkScalar largerLen = SkPointPriv::LengthSqd(larger); in sharp_angle()
|
D | SkPath.cpp | 2368 SkScalar lengthSqd = SkPointPriv::LengthSqd(vec); in addPt() 2430 if (!SkScalarNearlyZero(SkPointPriv::LengthSqd(fLastVec), in directionChange() 2432 !SkScalarNearlyZero(SkPointPriv::LengthSqd(curVec), in directionChange() 3657 if (SkScalarNearlyZero(SkPointPriv::LengthSqd(tangent))) { in contains()
|
D | SkGeometry.cpp | 928 SkScalar dPtMagnitude = SkPointPriv::LengthSqd(dPt); in SkFindCubicCusp()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 409 if (SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 410 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 419 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 474 if (SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint() 475 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint() 484 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint() 496 bool doQuads = SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero || in convert_noninflect_cubic_to_quads_with_constraint() 497 SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero; in convert_noninflect_cubic_to_quads_with_constraint() 499 SkScalar invDALengthSqd = SkPointPriv::LengthSqd(da); in convert_noninflect_cubic_to_quads_with_constraint()
|
D | GrRenderTargetContext.cpp | 1405 maxOffset = SkScalarSqrt(SkTMax(SkPointPriv::LengthSqd(upperLeftOffset), in drawFastShadow() 1406 SkPointPriv::LengthSqd(lowerRightOffset))) + dr; in drawFastShadow()
|
/external/skqp/src/gpu/ |
D | GrPathUtils.cpp | 409 if (SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 410 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 419 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 474 if (SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint() 475 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint() 484 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint() 496 bool doQuads = SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero || in convert_noninflect_cubic_to_quads_with_constraint() 497 SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero; in convert_noninflect_cubic_to_quads_with_constraint() 499 SkScalar invDALengthSqd = SkPointPriv::LengthSqd(da); in convert_noninflect_cubic_to_quads_with_constraint()
|
D | GrRenderTargetContext.cpp | 1312 maxOffset = SkScalarSqrt(SkTMax(SkPointPriv::LengthSqd(upperLeftOffset), in drawFastShadow() 1313 SkPointPriv::LengthSqd(lowerRightOffset))) + dr; in drawFastShadow()
|
/external/skqp/src/gpu/ops/ |
D | GrAAHairLinePathRenderer.cpp | 559 if (toDevice && SkPointPriv::LengthSqd(ab) <= SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in bloat_quad() 562 if (toDevice && SkPointPriv::LengthSqd(cb) <= SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in bloat_quad() 586 if (toDevice && SkPointPriv::LengthSqd(ac) <= SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in bloat_quad() 659 SkScalar lengthSqd = SkPointPriv::LengthSqd(vec); in add_line()
|
/external/skia/src/gpu/ops/ |
D | GrAAHairLinePathRenderer.cpp | 558 if (toDevice && SkPointPriv::LengthSqd(ab) <= SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in bloat_quad() 561 if (toDevice && SkPointPriv::LengthSqd(cb) <= SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in bloat_quad() 585 if (toDevice && SkPointPriv::LengthSqd(ac) <= SK_ScalarNearlyZero*SK_ScalarNearlyZero) { in bloat_quad() 658 SkScalar lengthSqd = SkPointPriv::LengthSqd(vec); in add_line()
|
/external/skia/samplecode/ |
D | SampleHT.cpp | 38 return SkPointPriv::LengthSqd(pt) <= 1; in oval_contains()
|
D | SampleAAGeometry.cpp | 1296 SkScalar lenSq = SkPointPriv::LengthSqd(adjOpp); in pt_to_line()
|
/external/skqp/samplecode/ |
D | SampleHT.cpp | 38 return SkPointPriv::LengthSqd(pt) <= 1; in oval_contains()
|
D | SampleAAGeometry.cpp | 1296 SkScalar lenSq = SkPointPriv::LengthSqd(adjOpp); in pt_to_line()
|
/external/skqp/tools/fonts/ |
D | SkTestSVGTypeface.cpp | 921 if (SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 922 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 931 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()
|
/external/skia/tools/fonts/ |
D | SkTestSVGTypeface.cpp | 919 if (SkPointPriv::LengthSqd(ab) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 920 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads() 929 if (SkPointPriv::LengthSqd(dc) < SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads()
|