/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrRectBlurEffect.h | 32 if (SkScalarAbs(rect.fLeft) > 16000.f || SkScalarAbs(rect.fTop) > 16000.f || in Make() 33 SkScalarAbs(rect.fRight) > 16000.f || SkScalarAbs(rect.fBottom) > 16000.f) { in Make()
|
/third_party/flutter/skia/docs/examples/ |
D | ImageInfo_makeColorType.cpp | 12 int red = SkScalarRoundToInt(255 * SkScalarAbs(SkScalarSin((x * 4 + y) * 0.03f))); in draw() 13 int blue = SkScalarRoundToInt(255 * SkScalarAbs(SkScalarCos((x * 3 + y) * 0.04f))); in draw() 14 int green = SkScalarRoundToInt(255 * SkScalarAbs(SkScalarSin((x * 2 + y) * 0.05f))); in draw() 15 int alpha = SkScalarRoundToInt(255 * SkScalarAbs(SkScalarCos((x * 1 + y) * 0.006f))); in draw()
|
D | ImageInfo_makeAlphaType.cpp | 12 int red = SkScalarRoundToInt(255 * SkScalarAbs(SkScalarSin((x * 4 + y) * 0.03f))); in draw() 13 int blue = SkScalarRoundToInt(255 * SkScalarAbs(SkScalarCos((x * 3 + y) * 0.04f))); in draw() 14 int green = SkScalarRoundToInt(255 * SkScalarAbs(SkScalarSin((x * 2 + y) * 0.05f))); in draw() 15 int alpha = SkScalarRoundToInt(255 * SkScalarAbs(SkScalarCos((x * 1 + y) * 0.006f))); in draw()
|
/third_party/flutter/skia/src/gpu/ |
D | GrClip.h | 127 return SkScalarAbs(SkScalarRoundToScalar(rect.fLeft) - rect.fLeft) <= kBoundsTolerance && in IsPixelAligned() 128 SkScalarAbs(SkScalarRoundToScalar(rect.fTop) - rect.fTop) <= kBoundsTolerance && in IsPixelAligned() 129 SkScalarAbs(SkScalarRoundToScalar(rect.fRight) - rect.fRight) <= kBoundsTolerance && in IsPixelAligned() 130 SkScalarAbs(SkScalarRoundToScalar(rect.fBottom) - rect.fBottom) <= kBoundsTolerance; in IsPixelAligned()
|
/third_party/skia/src/gpu/ |
D | GrClip.h | 192 return SkScalarAbs(SkScalarRoundToScalar(rect.fLeft) - rect.fLeft) <= kBoundsTolerance && in IsPixelAligned() 193 SkScalarAbs(SkScalarRoundToScalar(rect.fTop) - rect.fTop) <= kBoundsTolerance && in IsPixelAligned() 194 SkScalarAbs(SkScalarRoundToScalar(rect.fRight) - rect.fRight) <= kBoundsTolerance && in IsPixelAligned() 195 SkScalarAbs(SkScalarRoundToScalar(rect.fBottom) - rect.fBottom) <= kBoundsTolerance; in IsPixelAligned()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkDropShadowImageFilter.cpp | 135 sigma.fX = SkScalarAbs(sigma.fX); in onFilterImage() 136 sigma.fY = SkScalarAbs(sigma.fY); in onFilterImage() 183 SkScalarCeilToInt(SkScalarAbs(sigma.x() * 3)), in onFilterNodeBounds() 184 SkScalarCeilToInt(SkScalarAbs(sigma.y() * 3))); in onFilterNodeBounds()
|
D | SkDisplacementMapImageFilter.cpp | 374 bounds.outset(SkScalarAbs(fScale) * SK_ScalarHalf, SkScalarAbs(fScale) * SK_ScalarHalf); in computeFastBounds() 382 return src.makeOutset(SkScalarCeilToInt(SkScalarAbs(scale.fX) * SK_ScalarHalf), in onFilterNodeBounds() 383 SkScalarCeilToInt(SkScalarAbs(scale.fY) * SK_ScalarHalf)); in onFilterNodeBounds()
|
/third_party/flutter/skia/src/utils/ |
D | SkMatrix22.cpp | 25 } else if (SkScalarAbs(b) > SkScalarAbs(a)) { in SkComputeGivensRotation()
|
/third_party/skia/src/utils/ |
D | SkMatrix22.cpp | 25 } else if (SkScalarAbs(b) > SkScalarAbs(a)) { in SkComputeGivensRotation()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrRectBlurEffect.fp | 34 if (SkScalarAbs(rect.fLeft) > 16000.f || SkScalarAbs(rect.fTop) > 16000.f || 35 SkScalarAbs(rect.fRight) > 16000.f || SkScalarAbs(rect.fBottom) > 16000.f) {
|
/third_party/flutter/skia/src/shaders/gradients/ |
D | SkTwoPointConicalGradient.cpp | 38 fR1 = r1 / SkScalarAbs(1 - fFocalX); // focalMatrix has a scale of 1/(1-f) in set() 45 matrix->postScale(fR1 / (fR1 * fR1 - 1), 1 / sqrt(SkScalarAbs(fR1 * fR1 - 1))); in set() 47 matrix->postScale(SkScalarAbs(1 - fFocalX), SkScalarAbs(1 - fFocalX)); // scale |1 - f| in set()
|
/third_party/skia/include/core/ |
D | SkScalar.h | 38 #define SkScalarAbs(x) sk_float_abs(x) macro 139 return SkScalarAbs(x) <= tolerance; 145 return SkScalarAbs(x-y) <= tolerance;
|
/third_party/flutter/skia/include/core/ |
D | SkScalar.h | 38 #define SkScalarAbs(x) sk_float_abs(x) macro 152 return SkScalarAbs(x) <= tolerance; 158 return SkScalarAbs(x-y) <= tolerance;
|
/third_party/flutter/skia/gm/ |
D | drawatlas.cpp | 143 const SkScalar max = SkTMax(SkTMax(SkScalarAbs(fontb.fLeft), SkScalarAbs(fontb.fRight)), 144 SkTMax(SkScalarAbs(fontb.fTop), SkScalarAbs(fontb.fBottom)));
|
/third_party/skia/src/shaders/gradients/ |
D | SkTwoPointConicalGradient.cpp | 38 fR1 = r1 / SkScalarAbs(1 - fFocalX); // focalMatrix has a scale of 1/(1-f) in set() 45 matrix->postScale(fR1 / (fR1 * fR1 - 1), 1 / sqrt(SkScalarAbs(fR1 * fR1 - 1))); in set() 47 matrix->postScale(SkScalarAbs(1 - fFocalX), SkScalarAbs(1 - fFocalX)); // scale |1 - f| in set()
|
/third_party/skia/src/core/ |
D | SkPathRef.cpp | 517 dxdy.set(SkScalarAbs(v1_0.fX), SkScalarAbs(v2_1.fY)); in getRRect() 520 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v2_1.fY)); in getRRect() 523 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v1_0.fY)); in getRRect()
|
D | SkContourMeasure.cpp | 145 SkScalar dist = std::max(SkScalarAbs(dx), SkScalarAbs(dy)); in quad_too_curvy() 154 SkScalar dist = std::max(SkScalarAbs(dxy.fX), SkScalarAbs(dxy.fY)); in conic_too_curvy() 160 SkScalar dist = std::max(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY)); in cheap_dist_exceeds_limit()
|
D | SkPathBuilder.cpp | 289 SkScalar sw = SkScalarAbs(sweepAngle); in angles_to_unit_vectors() 439 SkScalar dist = SkScalarAbs(SkDoubleToScalar(radius * (1 - cosh) / sinh)); in arcTo() 471 SkScalar rx = SkScalarAbs(rad.fX); in arcTo() 472 SkScalar ry = SkScalarAbs(rad.fY); in arcTo() 528 if (SkScalarAbs(thetaArc) < (SK_ScalarPI / (1000 * 1000))) { in arcTo() 536 int segments = SkScalarCeilToInt(SkScalarAbs(thetaArc / (2 * SK_ScalarPI / 3))); in arcTo() 547 bool expectIntegers = SkScalarNearlyZero(SK_ScalarPI/2 - SkScalarAbs(thetaWidth)) && in arcTo()
|
D | SkCubicClipper.cpp | 54 converged = SkScalarAbs(t1 - t0) <= tol; // NaN-safe in ChopMonoAtY() 101 } while (!(SkScalarAbs(tPos - tNeg) <= tol)); // Nan-safe in ChopMonoAtY()
|
/third_party/skia/gm/ |
D | drawatlas.cpp | 145 const SkScalar max = std::max(std::max(SkScalarAbs(fontb.fLeft), SkScalarAbs(fontb.fRight)), 146 std::max(SkScalarAbs(fontb.fTop), SkScalarAbs(fontb.fBottom)));
|
/third_party/flutter/skia/src/core/ |
D | SkContourMeasure.cpp | 140 SkScalar dist = SkMaxScalar(SkScalarAbs(dx), SkScalarAbs(dy)); in quad_too_curvy() 149 SkScalar dist = SkMaxScalar(SkScalarAbs(dxy.fX), SkScalarAbs(dxy.fY)); in conic_too_curvy() 155 SkScalar dist = SkMaxScalar(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY)); in cheap_dist_exceeds_limit()
|
D | SkCubicClipper.cpp | 54 converged = SkScalarAbs(t1 - t0) <= tol; // NaN-safe in ChopMonoAtY() 101 } while (!(SkScalarAbs(tPos - tNeg) <= tol)); // Nan-safe in ChopMonoAtY()
|
D | SkPathRef.cpp | 758 dxdy.set(SkScalarAbs(v1_0.fX), SkScalarAbs(v2_1.fY)); in getRRect() 761 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v2_1.fY)); in getRRect() 764 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v1_0.fY)); in getRRect()
|
/third_party/skia/src/gpu/ops/ |
D | SmallPathRenderer.cpp | 237 maxScale = SkScalarAbs(std::max(xformedBounds.width() / bounds.width(), in onPrepareDraws() 240 maxScale = SkScalarAbs(args.fViewMatrix.getMaxScale()); in onPrepareDraws() 258 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws() 699 SkScalar minSize = minDim * SkScalarAbs(scaleFactors[0]); in onCanDrawPath() 700 SkScalar maxSize = maxDim * SkScalarAbs(scaleFactors[1]); in onCanDrawPath()
|
/third_party/flutter/skia/tests/ |
D | GrQuadCropTest.cpp | 169 static const float kInsideEdge = SkScalarAbs(kDrawRect.fLeft) - 1.f; in test_axis_aligned_all_clips() 170 static const float kOutsideEdge = SkScalarAbs(kDrawRect.fBottom) + 1.f; in test_axis_aligned_all_clips() 171 static const float kIntersectEdge = SkScalarAbs(kDrawRect.fTop) + 1.f; in test_axis_aligned_all_clips()
|