Home
last modified time | relevance | path

Searched refs:sk_float_sqrt (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/core/
DSkPoint.cpp117 mag = sk_float_sqrt(mag2); in Normalize()
140 return sk_float_sqrt(mag2); in Length()
164 scale = length / sk_float_sqrt(mag2); in setLength()
DSkFloat.cpp369 c.assertEquals(sk_float_sqrt(fa), 2); in UnitTest()
/external/chromium_org/third_party/skia/src/core/
DSkPoint.cpp117 mag = sk_float_sqrt(mag2); in Normalize()
140 return sk_float_sqrt(mag2); in Length()
164 scale = length / sk_float_sqrt(mag2); in setLength()
DSkFloat.cpp369 c.assertEquals(sk_float_sqrt(fa), 2); in UnitTest()
/external/skia/include/core/
DSkFloatingPoint.h54 #define sk_float_sqrt(x) (float)::sqrt(x) macro
68 #define sk_float_sqrt(x) sqrtf(x) macro
DSkScalar.h146 #define SkScalarSqrt(x) sk_float_sqrt(x)
/external/chromium_org/third_party/skia/include/core/
DSkFloatingPoint.h54 #define sk_float_sqrt(x) (float)::sqrt(x) macro
68 #define sk_float_sqrt(x) sqrtf(x) macro
DSkScalar.h146 #define SkScalarSqrt(x) sk_float_sqrt(x)
/external/chromium_org/third_party/skia/src/effects/gradients/
DSkRadialGradient.cpp122 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy)); in shadeSpan16_radial()
382 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy)); in shadeSpan_radial()
DSkTwoPointConicalGradient.cpp45 R = sk_float_sqrt(R); in find_quad_roots()
/external/skia/src/effects/gradients/
DSkRadialGradient.cpp122 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy)); in shadeSpan16_radial()
382 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy)); in shadeSpan_radial()
DSkTwoPointConicalGradient.cpp45 R = sk_float_sqrt(R); in find_quad_roots()
/external/skia/experimental/AndroidPathRenderer/
DAndroidPathRenderer.cpp55 float scaleX = sk_float_sqrt(m00 * m00 + m01 * m01); in computeInverseScales()
56 float scaleY = sk_float_sqrt(m10 * m10 + m11 * m11); in computeInverseScales()
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
DAndroidPathRenderer.cpp55 float scaleX = sk_float_sqrt(m00 * m00 + m01 * m01); in computeInverseScales()
56 float scaleY = sk_float_sqrt(m10 * m10 + m11 * m11); in computeInverseScales()
/external/skia/bench/
DMathBench.cpp121 dst[i] = 1.0f / sk_float_sqrt(src[i]); in performTest()
/external/chromium_org/third_party/skia/bench/
DMathBench.cpp121 dst[i] = 1.0f / sk_float_sqrt(src[i]); in performTest()
/external/skia/tests/
DMathTest.cpp194 float len = sk_float_sqrt(x*x + y*y); in check_length()
/external/chromium_org/third_party/skia/tests/
DMathTest.cpp194 float len = sk_float_sqrt(x*x + y*y); in check_length()