/third_party/skia/gm/ |
D | gradients_2pt_conical.cpp | 55 SkPoint center0, center1; 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() 66 SkPoint center0, center1; in Make2ConicalOutsideStrip() local 69 center1.set(pts[1].fX, pts[1].fY); in Make2ConicalOutsideStrip() 70 return SkGradientShader::MakeTwoPointConical(center0, radius, center1, radius, data.fColors, in Make2ConicalOutsideStrip() 76 SkPoint center0, center1; 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() 87 SkPoint center0, center1; in Make2ConicalInside() local [all …]
|
D | gradients_no_texture.cpp | 63 SkPoint center0, center1; in Make2Radial() local 66 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 69 center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial() 75 SkPoint center0, center1; 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 | blurroundrect.cpp | 44 SkPoint center0, center1; in MakeRadial() local 47 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial() 49 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in MakeRadial()
|
D | gradients.cpp | 127 SkPoint center0, center1; in Make2Radial() local 130 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 132 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial() 140 SkPoint center0, center1; in Make2Radial4f() local 143 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3) / 5), in Make2Radial4f() 146 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial4f() 154 SkPoint center0, center1; 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() 166 SkPoint center0, center1; in Make2Conical4f() local [all …]
|
D | blurrect.cpp | 96 SkPoint center0, center1; in make_radial() local 99 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in make_radial() 101 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in make_radial()
|
/third_party/flutter/skia/gm/ |
D | gradients_2pt_conical.cpp | 55 SkPoint center0, center1; 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() 66 SkPoint center0, center1; in Make2ConicalOutsideStrip() local 69 center1.set(pts[1].fX, pts[1].fY); in Make2ConicalOutsideStrip() 70 return SkGradientShader::MakeTwoPointConical(center0, radius, center1, radius, data.fColors, in Make2ConicalOutsideStrip() 76 SkPoint center0, center1; 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() 87 SkPoint center0, center1; in Make2ConicalInside() local [all …]
|
D | blurroundrect.cpp | 44 SkPoint center0, center1; in MakeRadial() local 47 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial() 49 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in MakeRadial()
|
D | gradients_no_texture.cpp | 63 SkPoint center0, center1; in Make2Radial() local 66 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 69 center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial() 75 SkPoint center0, center1; 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 | 127 SkPoint center0, center1; in Make2Radial() local 130 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial() 132 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial() 140 SkPoint center0, center1; in Make2Radial4f() local 143 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3) / 5), in Make2Radial4f() 146 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial4f() 154 SkPoint center0, center1; 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() 166 SkPoint center0, center1; in Make2Conical4f() local [all …]
|
D | blurrect.cpp | 87 SkPoint center0, center1; in make_radial() local 90 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in make_radial() 92 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in make_radial()
|
/third_party/flutter/skia/bench/ |
D | GradientBench.cpp | 78 SkPoint center0, center1; in MakeConical() local 81 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConical() 83 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in MakeConical() 91 SkPoint center0, center1; in MakeConicalZeroRad() local 94 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConicalZeroRad() 96 return SkGradientShader::MakeTwoPointConical(center1, 0.0, in MakeConicalZeroRad() 104 SkPoint center0, center1; in MakeConicalOutside() local 108 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in MakeConicalOutside() 110 center1, radius1, in MakeConicalOutside() 118 SkPoint center0, center1; in MakeConicalOutsideZeroRad() local [all …]
|
/third_party/skia/bench/ |
D | GradientBench.cpp | 78 SkPoint center0, center1; in MakeConical() local 81 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConical() 83 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in MakeConical() 91 SkPoint center0, center1; in MakeConicalZeroRad() local 94 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConicalZeroRad() 96 return SkGradientShader::MakeTwoPointConical(center1, 0.0, in MakeConicalZeroRad() 104 SkPoint center0, center1; in MakeConicalOutside() local 108 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in MakeConicalOutside() 110 center1, radius1, in MakeConicalOutside() 118 SkPoint center0, center1; in MakeConicalOutsideZeroRad() local [all …]
|
/third_party/flutter/skia/src/gpu/gradients/generated/ |
D | GrTwoPointConicalGradientLayout.cpp | 156 SkPoint center1 = {d->fRandom->nextRangeScalar(0.0f, scale), in TestCreate() local 172 center2 = center1; in TestCreate() 181 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate() 186 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate() 194 radius2 = radius1 + SkPoint::Distance(center1, center2); in TestCreate() 208 SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { in TestCreate() 215 center1, radius1, center2, radius2, params.fColors4f, in TestCreate() 219 center1, radius1, center2, radius2, params.fColors, in TestCreate()
|
/third_party/flutter/skia/src/gpu/gradients/ |
D | GrTwoPointConicalGradientLayout.fp | 231 SkPoint center1 = {d->fRandom->nextRangeScalar(0.0f, scale), 249 center2 = center1; 258 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { 263 if (SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { 271 radius2 = radius1 + SkPoint::Distance(center1, center2); 285 SkScalarNearlyZero(SkPoint::Distance(center1, center2))) { 291 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2, 294 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
|
/third_party/skia/samplecode/ |
D | SampleGradients.cpp | 83 SkPoint center0, center1; in Make2Conical() local 86 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 89 center1, (pts[1].fX - pts[0].fX) / 7, in Make2Conical()
|
D | SampleSlides.cpp | 197 SkPoint center0, center1; in Make2Conical() local 200 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 202 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Conical()
|
/third_party/flutter/skia/samplecode/ |
D | SampleGradients.cpp | 84 SkPoint center0, center1; in Make2Conical() local 87 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 90 center1, (pts[1].fX - pts[0].fX) / 7, in Make2Conical()
|
D | SampleSlides.cpp | 198 SkPoint center0, center1; in Make2Conical() local 201 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical() 203 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Conical()
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | listener_deprecated_test.dart | 316 final Offset center1 = tester.getCenter(find.byKey(key1)); 318 await gesture.moveTo(center1); 321 expect(move1.last.position, equals(center1)); 323 expect(enter1.last.position, equals(center1));
|
D | mouse_region_test.dart | 311 final Offset center1 = tester.getCenter(find.byKey(key1)); 313 await gesture.moveTo(center1); 316 expect(move1.last.position, equals(center1)); 318 expect(enter1.last.position, equals(center1));
|
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/ |
D | afcjk.c | 1972 FT_Pos target, center1, center2; in af_cjk_hint_edges() 1994 center1 = left->pos + ( right->pos - left->pos ) / 2; in af_cjk_hint_edges() 1996 if ( center1 >= target ) in af_cjk_hint_edges() 2010 d1 = center1 - target; in af_cjk_hint_edges()
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
D | afcjk.c | 1954 FT_Pos target, center1, center2; in af_cjk_hint_edges() 1976 center1 = left->pos + ( right->pos - left->pos ) / 2; in af_cjk_hint_edges() 1978 if ( center1 >= target ) in af_cjk_hint_edges() 1992 d1 = center1 - target; in af_cjk_hint_edges()
|
/third_party/freetype/src/autofit/ |
D | afcjk.c | 1971 FT_Pos target, center1, center2; in af_cjk_hint_edges() 1993 center1 = left->pos + ( right->pos - left->pos ) / 2; in af_cjk_hint_edges() 1995 if ( center1 >= target ) in af_cjk_hint_edges() 2009 d1 = center1 - target; in af_cjk_hint_edges()
|