/third_party/skia/gm/ |
D | gradients_2pt_conical.cpp | 57 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutside() local 59 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutside() 60 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside() 78 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutsideFlip() local 80 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutsideFlip() 81 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip() 176 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadOutside() local 178 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadOutside() 179 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside() 189 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadFlipOutside() local [all …]
|
D | gradients_no_texture.cpp | 77 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2Conical() local 79 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical() 80 return SkGradientShader::MakeTwoPointConical(center1, radius1, in Make2Conical()
|
D | gradients.cpp | 156 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2Conical() local 158 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical() 159 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical() 168 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2Conical4f() local 170 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical4f() 172 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical4f()
|
/third_party/flutter/skia/gm/ |
D | gradients_2pt_conical.cpp | 57 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutside() local 59 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutside() 60 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside() 78 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutsideFlip() local 80 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutsideFlip() 81 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip() 176 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadOutside() local 178 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadOutside() 179 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside() 189 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadFlipOutside() local [all …]
|
D | gradients_no_texture.cpp | 77 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2Conical() local 79 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical() 80 return SkGradientShader::MakeTwoPointConical(center1, radius1, in Make2Conical()
|
D | gradients.cpp | 156 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2Conical() local 158 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical() 159 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical() 168 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2Conical4f() local 170 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical4f() 172 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical4f()
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | border_radius_test.dart | 29 const Radius radius1 = Radius.elliptical(89.0, 87.0); 32 borderRadius = const BorderRadius.vertical(top: radius1, bottom: radius2); 34 expect(borderRadius.topLeft, radius1); 35 expect(borderRadius.topRight, radius1); 40 topLeft: radius1, 41 topRight: radius1, 46 borderRadius = const BorderRadius.horizontal(left: radius1, right: radius2); 48 expect(borderRadius.topLeft, radius1); 50 expect(borderRadius.bottomLeft, radius1); 54 topLeft: radius1, [all …]
|
/third_party/flutter/skia/src/gpu/gradients/generated/ |
D | GrTwoPointConicalGradientLayout.cpp | 160 SkScalar radius1 = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate() local 174 if (SkScalarNearlyZero(radius1 - radius2)) { in TestCreate() 178 radius1 = SkTMax(radius1, .1f); // Make sure that the radius is non-zero in TestCreate() 179 radius2 = radius1; in TestCreate() 191 radius1 = 0; in TestCreate() 194 radius2 = radius1 + SkPoint::Distance(center1, center2); in TestCreate() 197 std::swap(radius1, radius2); in TestCreate() 202 if (SkScalarNearlyZero(radius1 - radius2)) { in TestCreate() 207 if (SkScalarNearlyZero(radius1 - radius2) && in TestCreate() 215 center1, radius1, center2, radius2, params.fColors4f, in TestCreate() [all …]
|
/third_party/pixman/demos/ |
D | radial-test.c | 96 double x0, x1, radius0, radius1, left, right, center; in create_radial() local 101 radius1 = radiuses[NUM_GRADIENTS - index - 1]; in create_radial() 104 left = MIN (x0 - radius0, x1 - radius1); in create_radial() 105 right = MAX (x0 + radius0, x1 + radius1); in create_radial() 114 radius1 *= 0.25; in create_radial() 123 r1 = pixman_double_to_fixed (radius1); in create_radial()
|
/third_party/flutter/skia/tests/ |
D | ScaleToSidesTest.cpp | 50 float radius1 = (float)interestingValues[i]; in DEF_TEST() local 53 double scale = sk_ieee_double_divide(width, (double)radius1 + (double)radius2); in DEF_TEST() 59 SkScaleToSides::AdjustRadii(width, scale, &radius1, &radius2); in DEF_TEST()
|
/third_party/skia/tests/ |
D | ScaleToSidesTest.cpp | 59 float radius1 = (float)interestingValues[i]; in DEF_TEST() local 62 double scale = sk_ieee_double_divide(width, (double)radius1 + (double)radius2); in DEF_TEST() 68 SkScaleToSides::AdjustRadii(width, scale, &radius1, &radius2); in DEF_TEST()
|
/third_party/flutter/skia/src/gpu/gradients/ |
D | GrTwoPointConicalGradientLayout.fp | 235 SkScalar radius1 = d->fRandom->nextRangeScalar(0.0f, scale); 251 if (SkScalarNearlyZero(radius1 - radius2)) { 255 radius1 = SkTMax(radius1, .1f); // Make sure that the radius is non-zero 256 radius2 = radius1; 268 radius1 = 0; 271 radius2 = radius1 + SkPoint::Distance(center1, center2); 274 std::swap(radius1, radius2); 279 if (SkScalarNearlyZero(radius1 - radius2)) { 284 if (SkScalarNearlyZero(radius1 - radius2) && 291 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, [all …]
|
/third_party/flutter/skia/bench/ |
D | GradientBench.cpp | 106 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in MakeConicalOutside() local 108 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in MakeConicalOutside() 110 center1, radius1, in MakeConicalOutside() 120 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in MakeConicalOutsideZeroRad() local 122 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in MakeConicalOutsideZeroRad() 124 center1, radius1, in MakeConicalOutsideZeroRad()
|
/third_party/skia/bench/ |
D | GradientBench.cpp | 106 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in MakeConicalOutside() local 108 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in MakeConicalOutside() 110 center1, radius1, in MakeConicalOutside() 120 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in MakeConicalOutsideZeroRad() local 122 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in MakeConicalOutsideZeroRad() 124 center1, radius1, in MakeConicalOutsideZeroRad()
|
/third_party/skia/experimental/graphite/src/ |
D | ContextUtils.cpp | 118 float radius1, in make_conical_gradient_uniform_data() argument 128 &radius1, in make_conical_gradient_uniform_data()
|
/third_party/harfbuzz/src/ |
D | hb-ot-color-colr-table.hh | 319 Var<UFWORD> radius1; member
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/ |
D | geometry.dart | 1440 // Returns the minimum between min and scale to which radius1 and radius2 1442 double _getMin(double min, double radius1, double radius2, double limit) { 1443 final double sum = radius1 + radius2;
|
/third_party/flutter/engine/flutter/lib/ui/ |
D | geometry.dart | 1410 // Returns the minimum between min and scale to which radius1 and radius2 1412 double _getMin(double min, double radius1, double radius2, double limit) { 1413 final double sum = radius1 + radius2;
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-color-colr-table.hh | 489 UFWORD radius1; member
|