Home
last modified time | relevance | path

Searched refs:SkScalarSquare (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/effects/
DSkEmbossMaskFilter.cpp60 SkScalar mag = SkScalarSquare(v[0]) + SkScalarSquare(v[1]) + SkScalarSquare(v[2]); in normalize()
DSkMagnifierImageFilter.cpp341 SkScalar dist = SkScalarSqrt(SkScalarSquare(x_dist) + in onFilterImageDeprecated()
342 SkScalarSquare(y_dist)); in onFilterImageDeprecated()
344 weight = SkMinScalar(SkScalarSquare(dist), SK_Scalar1); in onFilterImageDeprecated()
346 SkScalar sqDist = SkMinScalar(SkScalarSquare(x_dist), in onFilterImageDeprecated()
347 SkScalarSquare(y_dist)); in onFilterImageDeprecated()
DSkPerlinNoiseShader.cpp52 return SkScalarMul(SkScalarSquare(t), SK_Scalar3 - 2 * t); in smoothCurve()
/external/skia/src/core/
DSkRRect.cpp249 SkScalar dist = SkScalarMul(SkScalarSquare(canonicalPt.fX), SkScalarSquare(fRadii[index].fY)) + in checkCornerContainment()
250 SkScalarMul(SkScalarSquare(canonicalPt.fY), SkScalarSquare(fRadii[index].fX)); in checkCornerContainment()
251 return dist <= SkScalarSquare(SkScalarMul(fRadii[index].fX, fRadii[index].fY)); in checkCornerContainment()
DSkMatrix.cpp256 return SkScalarNearlyZero(vec[0].dot(vec[1]), SkScalarSquare(tol)); in preservesRightAngles()
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp200 float sigmaXDenom = 1.0f / (2.0f * SkScalarToFloat(SkScalarSquare(sigmaX))); in CreateGaussian()
201 float sigmaYDenom = 1.0f / (2.0f * SkScalarToFloat(SkScalarSquare(sigmaY))); in CreateGaussian()
/external/skia/src/gpu/
DGrPathUtils.cpp443 detABSqd = SkScalarSquare(detABSqd); in convert_noninflect_cubic_to_quads()
445 detDCSqd = SkScalarSquare(detDCSqd); in convert_noninflect_cubic_to_quads()
552 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuads()
569 const SkScalar tolSqd = SkScalarSquare(tolScale); in convertCubicToQuadsConstrainToTangents()
/external/skia/include/core/
DSkScalar.h183 static inline SkScalar SkScalarSquare(SkScalar x) { return x * x; } in SkScalarSquare() function
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp84 return SkScalarMul(SkScalarSquare(t), SK_Scalar3 - 2 * t); in smoothCurve()