/external/skqp/tests/ |
D | StrokerTest.cpp | 243 } while (SkPointPriv::DistanceToSqd(quad[0], quad[1]) < halfSquared); in DEF_TEST() 247 } while (SkPointPriv::DistanceToSqd(quad[0], quad[2]) < halfSquared in DEF_TEST() 248 || SkPointPriv::DistanceToSqd(quad[1], quad[2]) < halfSquared); in DEF_TEST() 295 } while (SkPointPriv::DistanceToSqd(cubic[0], cubic[1]) < halfSquared); in DEF_TEST() 299 } while ( SkPointPriv::DistanceToSqd(cubic[0], cubic[2]) < halfSquared in DEF_TEST() 300 || SkPointPriv::DistanceToSqd(cubic[1], cubic[2]) < halfSquared); in DEF_TEST() 304 } while ( SkPointPriv::DistanceToSqd(cubic[0], cubic[3]) < halfSquared in DEF_TEST() 305 || SkPointPriv::DistanceToSqd(cubic[1], cubic[3]) < halfSquared in DEF_TEST() 306 || SkPointPriv::DistanceToSqd(cubic[2], cubic[3]) < halfSquared); in DEF_TEST()
|
/external/skia/tests/ |
D | StrokerTest.cpp | 243 } while (SkPointPriv::DistanceToSqd(quad[0], quad[1]) < halfSquared); in DEF_TEST() 247 } while (SkPointPriv::DistanceToSqd(quad[0], quad[2]) < halfSquared in DEF_TEST() 248 || SkPointPriv::DistanceToSqd(quad[1], quad[2]) < halfSquared); in DEF_TEST() 295 } while (SkPointPriv::DistanceToSqd(cubic[0], cubic[1]) < halfSquared); in DEF_TEST() 299 } while ( SkPointPriv::DistanceToSqd(cubic[0], cubic[2]) < halfSquared in DEF_TEST() 300 || SkPointPriv::DistanceToSqd(cubic[1], cubic[2]) < halfSquared); in DEF_TEST() 304 } while ( SkPointPriv::DistanceToSqd(cubic[0], cubic[3]) < halfSquared in DEF_TEST() 305 || SkPointPriv::DistanceToSqd(cubic[1], cubic[3]) < halfSquared in DEF_TEST() 306 || SkPointPriv::DistanceToSqd(cubic[2], cubic[3]) < halfSquared); in DEF_TEST()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 237 SkScalar maxD = SkPointPriv::DistanceToSqd(qPts[0], qPts[1]); in set() 239 SkScalar d = SkPointPriv::DistanceToSqd(qPts[1], qPts[2]); in set() 244 d = SkPointPriv::DistanceToSqd(qPts[2], qPts[0]); in set() 433 SkScalar dSqd = sublevel > kMaxSubdivs ? 0 : SkPointPriv::DistanceToSqd(c0, c1); in convert_noninflect_cubic_to_quads() 548 SkScalar dSqd = sublevel > kMaxSubdivs ? 0 : SkPointPriv::DistanceToSqd(c0, c1); in convert_noninflect_cubic_to_quads_with_constraint() 566 SkScalar d0Sqd = SkPointPriv::DistanceToSqd(c0, cAvg); in convert_noninflect_cubic_to_quads_with_constraint() 567 SkScalar d1Sqd = SkPointPriv::DistanceToSqd(c1, cAvg); in convert_noninflect_cubic_to_quads_with_constraint()
|
D | GrDistanceFieldGenFromVector.cpp | 374 if (SkPointPriv::DistanceToSqd(pts[0], pts[1]) < kCloseSqd || in add_quad_segment() 375 SkPointPriv::DistanceToSqd(pts[1], pts[2]) < kCloseSqd || in add_quad_segment()
|
/external/skqp/src/gpu/ |
D | GrPathUtils.cpp | 237 SkScalar maxD = SkPointPriv::DistanceToSqd(qPts[0], qPts[1]); in set() 239 SkScalar d = SkPointPriv::DistanceToSqd(qPts[1], qPts[2]); in set() 244 d = SkPointPriv::DistanceToSqd(qPts[2], qPts[0]); in set() 433 SkScalar dSqd = sublevel > kMaxSubdivs ? 0 : SkPointPriv::DistanceToSqd(c0, c1); in convert_noninflect_cubic_to_quads() 548 SkScalar dSqd = sublevel > kMaxSubdivs ? 0 : SkPointPriv::DistanceToSqd(c0, c1); in convert_noninflect_cubic_to_quads_with_constraint() 566 SkScalar d0Sqd = SkPointPriv::DistanceToSqd(c0, cAvg); in convert_noninflect_cubic_to_quads_with_constraint() 567 SkScalar d1Sqd = SkPointPriv::DistanceToSqd(c1, cAvg); in convert_noninflect_cubic_to_quads_with_constraint()
|
D | GrDistanceFieldGenFromVector.cpp | 374 if (SkPointPriv::DistanceToSqd(pts[0], pts[1]) < kCloseSqd || in add_quad_segment() 375 SkPointPriv::DistanceToSqd(pts[1], pts[2]) < kCloseSqd || in add_quad_segment()
|
/external/skqp/src/utils/ |
D | SkShadowTessellator.cpp | 148 SkScalar distSq = SkPointPriv::DistanceToSqd(p0, p1); in duplicate_pt() 525 SkScalar minDistance = SkPointPriv::DistanceToSqd(p, umbraPolygon[fCurrUmbraIndex]); in getClosestUmbraIndex() 531 SkScalar distance = SkPointPriv::DistanceToSqd(p, umbraPolygon[next]); in getClosestUmbraIndex() 541 distance = SkPointPriv::DistanceToSqd(p, umbraPolygon[next]); in getClosestUmbraIndex() 546 distance = SkPointPriv::DistanceToSqd(p, umbraPolygon[next]); in getClosestUmbraIndex()
|
/external/skia/src/utils/ |
D | SkShadowTessellator.cpp | 148 SkScalar distSq = SkPointPriv::DistanceToSqd(p0, p1); in duplicate_pt() 525 SkScalar minDistance = SkPointPriv::DistanceToSqd(p, umbraPolygon[fCurrUmbraIndex]); in getClosestUmbraIndex() 531 SkScalar distance = SkPointPriv::DistanceToSqd(p, umbraPolygon[next]); in getClosestUmbraIndex() 541 distance = SkPointPriv::DistanceToSqd(p, umbraPolygon[next]); in getClosestUmbraIndex() 546 distance = SkPointPriv::DistanceToSqd(p, umbraPolygon[next]); in getClosestUmbraIndex()
|
/external/skia/src/core/ |
D | SkPoint.cpp | 151 return DistanceToSqd(b, pt); in DistanceToLineSegmentBetweenSqd()
|
D | SkPointPriv.h | 48 static SkScalar DistanceToSqd(const SkPoint& pt, const SkPoint& a) { in DistanceToSqd() function
|
D | SkGeometry.cpp | 879 return (SkPointPriv::DistanceToSqd(src[1], src[0]) + SkPointPriv::DistanceToSqd(src[2], src[1]) in calc_cubic_precision() 880 + SkPointPriv::DistanceToSqd(src[3], src[2])) * 1e-8f; in calc_cubic_precision()
|
D | SkStroke.cpp | 510 return SkPointPriv::DistanceToSqd(hit, pt); in pt_to_line() 512 return SkPointPriv::DistanceToSqd(pt, lineStart); in pt_to_line() 972 return SkPointPriv::DistanceToSqd(nearPt, farPt) <= limit * limit; in points_within_dist()
|
/external/skqp/src/core/ |
D | SkPoint.cpp | 207 return DistanceToSqd(b, pt); in DistanceToLineSegmentBetweenSqd()
|
D | SkPointPriv.h | 52 static SkScalar DistanceToSqd(const SkPoint& pt, const SkPoint& a) { in DistanceToSqd() function
|
D | SkGeometry.cpp | 879 return (SkPointPriv::DistanceToSqd(src[1], src[0]) + SkPointPriv::DistanceToSqd(src[2], src[1]) in calc_cubic_precision() 880 + SkPointPriv::DistanceToSqd(src[3], src[2])) * 1e-8f; in calc_cubic_precision()
|
D | SkStroke.cpp | 503 return SkPointPriv::DistanceToSqd(pt, lineStart); in pt_to_line() 512 return SkPointPriv::DistanceToSqd(hit, pt); in pt_to_line() 976 return SkPointPriv::DistanceToSqd(nearPt, farPt) <= limit * limit; in points_within_dist()
|
/external/skqp/src/gpu/ops/ |
D | GrAAConvexPathRenderer.cpp | 203 if (SkPointPriv::DistanceToSqd(pt, data->fFirstPoint) > kCloseSqd) { in update_degenerate_test() 246 if (SkPointPriv::DistanceToSqd(pts[0], pts[1]) < kCloseSqd || in add_quad_segment() 247 SkPointPriv::DistanceToSqd(pts[1], pts[2]) < kCloseSqd) { in add_quad_segment()
|
D | GrAAHairLinePathRenderer.cpp | 184 if (SkPointPriv::DistanceToSqd(p[0], p[1]) < gDegenerateToLineTolSqd || in is_degen_quad_or_conic() 185 SkPointPriv::DistanceToSqd(p[1], p[2]) < gDegenerateToLineTolSqd) { in is_degen_quad_or_conic()
|
D | GrAAConvexTessellator.cpp | 58 SkScalar distSq = SkPointPriv::DistanceToSqd(p0, p1); in duplicate_pt()
|
/external/skia/src/gpu/ops/ |
D | GrAAConvexPathRenderer.cpp | 202 if (SkPointPriv::DistanceToSqd(pt, data->fFirstPoint) > kCloseSqd) { in update_degenerate_test() 245 if (SkPointPriv::DistanceToSqd(pts[0], pts[1]) < kCloseSqd || in add_quad_segment() 246 SkPointPriv::DistanceToSqd(pts[1], pts[2]) < kCloseSqd) { in add_quad_segment()
|
D | GrAAHairLinePathRenderer.cpp | 183 if (SkPointPriv::DistanceToSqd(p[0], p[1]) < gDegenerateToLineTolSqd || in is_degen_quad_or_conic() 184 SkPointPriv::DistanceToSqd(p[1], p[2]) < gDegenerateToLineTolSqd) { in is_degen_quad_or_conic()
|
D | GrAAConvexTessellator.cpp | 58 SkScalar distSq = SkPointPriv::DistanceToSqd(p0, p1); in duplicate_pt()
|
/external/skqp/src/pathops/ |
D | SkOpSegment.cpp | 1413 SkScalar distSq = SkPointPriv::DistanceToSqd(ref->fPt, check->fPt); in spansNearby() 1510 double seDistSq = SkTMax(SkPointPriv::DistanceToSqd(pt1, pt2) * 2, FLT_EPSILON * 2); in ptsDisjoint() 1511 return SkPointPriv::DistanceToSqd(midPt, pt1) > seDistSq || in ptsDisjoint() 1512 SkPointPriv::DistanceToSqd(midPt, pt2) > seDistSq; in ptsDisjoint()
|
/external/skia/src/pathops/ |
D | SkOpSegment.cpp | 1413 SkScalar distSq = SkPointPriv::DistanceToSqd(ref->fPt, check->fPt); in spansNearby() 1510 double seDistSq = SkTMax(SkPointPriv::DistanceToSqd(pt1, pt2) * 2, FLT_EPSILON * 2); in ptsDisjoint() 1511 return SkPointPriv::DistanceToSqd(midPt, pt1) > seDistSq || in ptsDisjoint() 1512 SkPointPriv::DistanceToSqd(midPt, pt2) > seDistSq; in ptsDisjoint()
|
/external/skqp/tools/fonts/ |
D | SkTestSVGTypeface.cpp | 947 SkScalar dSqd = sublevel > kMaxSubdivs ? 0 : SkPointPriv::DistanceToSqd(c0, c1); in convert_noninflect_cubic_to_quads()
|