Home
last modified time | relevance | path

Searched refs:sk_ieee_float_divide (Results 1 – 25 of 50) sorted by relevance

12

/external/skia/modules/skottie/src/effects/
DVenetianBlindsEffect.cpp116 const auto g01 = std::max(0.0f, 0.5f * (1 + sk_ieee_float_divide(0 - t, df))), in onMakeMask()
117 g23 = std::min(1.0f, 0.5f * (1 + sk_ieee_float_divide(1 - t, df))); in onMakeMask()
DGlowStyles.cpp99 std::min(sk_ieee_float_divide(1, 1 - std::pow(choke, kChokeGamma)), kMaxAlphaScale); in onSync()
/external/skia/src/core/
DSkPoint.cpp112 SkScalar temp = sk_ieee_float_divide(det, uLengthSqd); in DistanceToLineBetweenSqd()
155 SkScalar temp = sk_ieee_float_divide(det, uLengthSqd); in DistanceToLineSegmentBetweenSqd()
DSkDrawShadowInfo.h39 float result = SkTPin(sk_ieee_float_divide(numer, denom), min, max); in divide_and_pin()
DSkMatrix.cpp1356 float denom = sk_ieee_float_divide(x1 * y2, x2) - y1; in Poly4Proc()
1362 float denom = x1 - sk_ieee_float_divide(y1 * x2, y2); in Poly4Proc()
1366 a1 = (x0 - x1 - sk_ieee_float_divide((y0 - y1) * x2, y2)) / denom; in Poly4Proc()
1371 float denom = y2 - sk_ieee_float_divide(x2 * y1, x1); in Poly4Proc()
1375 a2 = (y0 - y2 - sk_ieee_float_divide((x0 - x2) * y1, x1)) / denom; in Poly4Proc()
1377 float denom = sk_ieee_float_divide(y2 * x1, y1) - x2; in Poly4Proc()
1381 a2 = (sk_ieee_float_divide((y0 - y2) * x1, y1) - x0 + x2) / denom; in Poly4Proc()
DSkScan_AntiPath.cpp628 SkScalar intersections = sk_ieee_float_divide(sqr(n) * sqr(avgLength), diagonalSqr); in compute_complexity()
631 complexity = sk_ieee_float_divide(intersections, path.getBounds().height()); in compute_complexity()
DSkGeometry.cpp178 float cosTheta = sk_ieee_float_divide(a.dot(b), sqrtf(a.dot(a) * b.dot(b))); in SkMeasureAngleBetweenVectors()
232 float T = sk_ieee_float_divide(tan0.dot(bisector), (tan0 - tan1).dot(bisector)); in SkFindQuadMidTangent()
557 t = SkTPin(sk_ieee_float_divide(t - lastT, 1 - lastT), 0.f, 1.f); in SkChopCubicAt()
597 float T = fabsf(q*q + _5qa) < fabsf(a*c + _5qa) ? sk_ieee_float_divide(q,a) in solve_quadratic_equation_for_midtangent()
598 : sk_ieee_float_divide(c,q); in solve_quadratic_equation_for_midtangent()
/external/skqp/include/private/
DSkFloatingPoint.h202 static inline float sk_ieee_float_divide(float numer, float denom) { in sk_ieee_float_divide() function
215 return sk_ieee_float_divide(n,d); in sk_ieee_float_divide_TODO_IS_DIVIDE_BY_ZERO_SAFE_HERE()
/external/skqp/src/core/
DSkPoint.cpp168 SkScalar temp = sk_ieee_float_divide(det, uLengthSqd); in DistanceToLineBetweenSqd()
211 SkScalar temp = sk_ieee_float_divide(det, uLengthSqd); in DistanceToLineSegmentBetweenSqd()
DSkDrawShadowInfo.h38 float result = SkTPin(sk_ieee_float_divide(numer, denom), min, max); in divide_and_pin()
DSkStrike.cpp287 SkScalar t = yAxis ? sk_ieee_float_divide(axis - pts[0].fX, pts[1].fX - pts[0].fX) in AddLine()
288 : sk_ieee_float_divide(axis - pts[0].fY, pts[1].fY - pts[0].fY); in AddLine()
DSkMatrix.cpp1333 float denom = sk_ieee_float_divide(x1 * y2, x2) - y1; in Poly4Proc()
1339 float denom = x1 - sk_ieee_float_divide(y1 * x2, y2); in Poly4Proc()
1343 a1 = (x0 - x1 - sk_ieee_float_divide((y0 - y1) * x2, y2)) / denom; in Poly4Proc()
1348 float denom = y2 - sk_ieee_float_divide(x2 * y1, x1); in Poly4Proc()
1352 a2 = (y0 - y2 - sk_ieee_float_divide((x0 - x2) * y1, x1)) / denom; in Poly4Proc()
1354 float denom = sk_ieee_float_divide(y2 * x1, y1) - x2; in Poly4Proc()
1358 a2 = (sk_ieee_float_divide((y0 - y2) * x1, y1) - x0 + x2) / denom; in Poly4Proc()
DSkRRect.cpp30 SkScalar scale = SkMinScalar(sk_ieee_float_divide(fRect. width(), xRad + xRad), in setRectXY()
31 sk_ieee_float_divide(fRect.height(), yRad + yRad)); in setRectXY()
/external/skia/include/private/
DSkFloatingPoint.h255 static inline float sk_ieee_float_divide(float numer, float denom) { in sk_ieee_float_divide() function
266 return sk_ieee_float_divide(n,d); in sk_ieee_float_divide_TODO_IS_DIVIDE_BY_ZERO_SAFE_HERE()
/external/skia/modules/skottie/src/layers/shapelayer/
DGradient.cpp156 t_c = SkTPin(sk_ieee_float_divide(o_pos_rel, c_pos_rel), 0.0f, 1.0f), in onSync()
157 t_o = SkTPin(sk_ieee_float_divide(c_pos_rel, o_pos_rel), 0.0f, 1.0f); in onSync()
DPolystar.cpp45 const auto arc = sk_ieee_float_divide(SK_ScalarPI * 2, count); in onSync()
/external/skqp/modules/skottie/src/
DSkottiePrecompLayer.cpp69 t_scale = sk_ieee_float_divide(1, stretch_time); in attachPrecompLayer()
/external/skqp/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp20 fFocalX = sk_ieee_float_divide(r0, (r0 - r1)); in set()
64 const SkScalar scale = sk_ieee_float_divide(1, SkTMax(r0, r1)); in Create()
DSkSweepGradient.cpp34 return std::make_tuple(-tBias * 360, (sk_ieee_float_divide(1, tScale) - tBias) * 360); in angles_from_t_coeff()
/external/skqp/src/utils/
DSk3D.cpp44 float denomInv = sk_ieee_float_divide(1, far - near); in Sk3Perspective()
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp20 fFocalX = sk_ieee_float_divide(r0, (r0 - r1)); in set()
64 const SkScalar scale = sk_ieee_float_divide(1, std::max(r0, r1)); in Create()
DSkSweepGradient.cpp33 return std::make_tuple(-tBias * 360, (sk_ieee_float_divide(1, tScale) - tBias) * 360); in angles_from_t_coeff()
/external/skia/modules/skottie/src/
DCamera.cpp41 view_angle = std::atan(sk_ieee_float_divide(view_size * 0.5f, view_distance)); in ComputeCameraMatrix()
/external/skia/src/gpu/geometry/
DGrQuad.h97 float iw(int i) const { return sk_ieee_float_divide(1.f, fW[i]); } in iw()
/external/skia/modules/skottie/src/layers/
DPrecompLayer.cpp198 t_scale = sk_ieee_float_divide(1, stretch_time); in attachPrecompLayer()

12