/external/skqp/src/utils/ |
D | SkMatrix22.cpp | 27 SkScalar u = SkScalarCopySign(SkScalarSqrt(SK_Scalar1 + t*t), b); in SkComputeGivensRotation() 33 SkScalar u = SkScalarCopySign(SkScalarSqrt(SK_Scalar1 + t*t), a); in SkComputeGivensRotation()
|
/external/skia/src/utils/ |
D | SkMatrix22.cpp | 27 SkScalar u = SkScalarCopySign(SkScalarSqrt(SK_Scalar1 + t*t), b); in SkComputeGivensRotation() 33 SkScalar u = SkScalarCopySign(SkScalarSqrt(SK_Scalar1 + t*t), a); in SkComputeGivensRotation()
|
/external/skqp/gm/ |
D | conicpaths.cpp | 26 const SkScalar w = SkScalarSqrt(2)/2; in onOnceBeforeDraw() 77 const SkScalar w = SkScalarSqrt(2)/2; in onOnceBeforeDraw()
|
D | animatedimageblurs.cpp | 90 fDir.fY = SkScalarSqrt(1.0f - fDir.fX * fDir.fX); in init()
|
/external/skia/src/core/ |
D | SkPointPriv.h | 37 return SkScalarSqrt(DistanceToLineBetweenSqd(pt, a, b, side)); 45 return SkScalarSqrt(DistanceToLineSegmentBetweenSqd(pt, a, b)); in DistanceToLineSegmentBetween()
|
D | SkDistanceFieldGen.cpp | 142 distance = 0.5f*(dx + dy) - SkScalarSqrt(2.0f*dx*dy*alpha); in edge_distance() 149 distance = -0.5f*(dx + dy) + SkScalarSqrt(2.0f*dx*dy*(1.0f - alpha)); in edge_distance() 453 dist = -SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image() 455 dist = SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image()
|
D | SkGeometry.cpp | 975 SkScalar theta = SkScalarACos(SkTPin(R / SkScalarSqrt(Q3), -1.0f, 1.0f)); in solve_cubic_poly() 976 SkScalar neg2RootQ = -2 * SkScalarSqrt(Q); in solve_cubic_poly() 987 SkScalar A = SkScalarAbs(R) + SkScalarSqrt(R2MinusQ3); in solve_cubic_poly() 1269 SkScalar root = SkScalarSqrt(tmp2[1].fZ); in chopAt() 1347 return SkScalarSqrt(SK_ScalarHalf + w * SK_ScalarHalf); in subdivide_w_value() 1408 SkScalar error = SkScalarSqrt(x * x + y * y); in computeQuadPOW2() 1418 SkScalar err = SkScalarSqrt(x * x + y * y); in computeQuadPOW2() 1707 const SkScalar cosThetaOver2 = SkScalarSqrt((1 + dot) / 2); in BuildUnitArc()
|
D | SkImageFilterTypes.cpp | 49 scale = SkScalarSqrt(scale); in DecomposeCTM()
|
D | SkPathBuilder.cpp | 427 SkScalar weight = SkScalarSqrt(SkDoubleToScalar(SK_ScalarHalf + cosh * 0.5)); in arcTo() 473 radiiScale = SkScalarSqrt(radiiScale); in arcTo() 488 SkScalar scaleFactor = SkScalarSqrt(scaleFactorSquared); in arcTo() 526 SkScalar w = SkScalarSqrt(SK_ScalarHalf + SkScalarCos(thetaWidth) * SK_ScalarHalf); in arcTo()
|
/external/skqp/src/core/ |
D | SkPointPriv.h | 41 return SkScalarSqrt(DistanceToLineBetweenSqd(pt, a, b, side)); 49 return SkScalarSqrt(DistanceToLineSegmentBetweenSqd(pt, a, b)); in DistanceToLineSegmentBetween()
|
D | SkDistanceFieldGen.cpp | 141 distance = 0.5f*(dx + dy) - SkScalarSqrt(2.0f*dx*dy*alpha); in edge_distance() 148 distance = -0.5f*(dx + dy) + SkScalarSqrt(2.0f*dx*dy*(1.0f - alpha)); in edge_distance() 452 dist = -SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image() 454 dist = SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image()
|
D | SkRTree.cpp | 78 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / aspectRatio)); in CountNodes() 126 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / fAspectRatio)); in bulkLoad()
|
D | SkGeometry.cpp | 772 SkScalar theta = SkScalarACos(SkScalarPin(R / SkScalarSqrt(Q3), -1, 1)); in solve_cubic_poly() 773 SkScalar neg2RootQ = -2 * SkScalarSqrt(Q); in solve_cubic_poly() 784 SkScalar A = SkScalarAbs(R) + SkScalarSqrt(R2MinusQ3); in solve_cubic_poly() 1066 SkScalar root = SkScalarSqrt(tmp2[1].fZ); in chopAt() 1144 return SkScalarSqrt(SK_ScalarHalf + w * SK_ScalarHalf); in subdivide_w_value() 1205 SkScalar error = SkScalarSqrt(x * x + y * y); in computeQuadPOW2() 1215 SkScalar err = SkScalarSqrt(x * x + y * y); in computeQuadPOW2() 1467 const SkScalar cosThetaOver2 = SkScalarSqrt((1 + dot) / 2); in BuildUnitArc()
|
D | SkPathMeasure.cpp | 212 SkScalar Sabc = 2 * SkScalarSqrt(A + B + C); in compute_quad_len() 213 SkScalar A_2 = SkScalarSqrt(A); in compute_quad_len() 215 SkScalar C_2 = 2 * SkScalarSqrt(C); in compute_quad_len()
|
/external/skia/gm/ |
D | conicpaths.cpp | 41 const SkScalar w = SkScalarSqrt(2)/2; in onOnceBeforeDraw() 92 const SkScalar w = SkScalarSqrt(2)/2; in onOnceBeforeDraw()
|
D | animatedimageblurs.cpp | 99 fDir.fY = SkScalarSqrt(1.0f - fDir.fX * fDir.fX); in init()
|
/external/skqp/src/shaders/ |
D | SkPictureShader.cpp | 181 scale.set(SkScalarSqrt(m.getScaleX() * m.getScaleX() + m.getSkewX() * m.getSkewX()), in refBitmapShader() 182 SkScalarSqrt(m.getScaleY() * m.getScaleY() + m.getSkewY() * m.getSkewY())); in refBitmapShader() 191 SkScalar clampScale = SkScalarSqrt(kMaxTileArea / tileArea); in refBitmapShader()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCStrokeGeometry.cpp | 21 return SkScalarSqrt(nn[0] + nn[1]); in length() 81 fMiterMaxCapHeightOverWidth = .5f * SkScalarSqrt(m*m - 1); in beginPath() 134 float f = SkScalarSqrt(k * length(p2 - p1*2 + p0)); in wangs_formula_quadratic() 248 float f = SkScalarSqrt(k * length(Sk2f::Max((p2 - p1*2 + p0).abs(), in wangs_formula_cubic()
|
/external/skqp/src/gpu/ |
D | GrPathUtils.cpp | 62 SkScalar divSqrt = SkScalarSqrt(d / tol); in quadraticPointCount() 112 d = SkScalarSqrt(d); in cubicPointCount() 118 SkScalar divSqrt = SkScalarSqrt(d / tol); in cubicPointCount() 122 int temp = SkScalarCeilToInt(SkScalarSqrt(d / tol)); in cubicPointCount() 572 SkScalar d0d1 = SkScalarSqrt(d0Sqd * d1Sqd); in convert_noninflect_cubic_to_quads_with_constraint()
|
/external/skia/src/effects/ |
D | SkEmbossMaskFilter.cpp | 20 SkScalar scale = SkScalarInvert(SkScalarSqrt(mag)); in normalize3()
|
/external/skia/tests/ |
D | PathCoverageTest.cpp | 63 int temp = SkScalarCeilToInt(SkScalarSqrt(d / tol)); in compute_pointCount()
|
/external/skqp/tests/ |
D | PathCoverageTest.cpp | 63 int temp = SkScalarCeilToInt(SkScalarSqrt(d / tol)); in compute_pointCount()
|
/external/skqp/src/effects/ |
D | SkEmbossMaskFilter.cpp | 19 SkScalar scale = SkScalarInvert(SkScalarSqrt(mag)); in normalize3()
|
/external/skia/include/core/ |
D | SkScalar.h | 41 #define SkScalarSqrt(x) sk_float_sqrt(x) macro
|
/external/skqp/include/core/ |
D | SkScalar.h | 41 #define SkScalarSqrt(x) sk_float_sqrt(x) macro
|