Home
last modified time | relevance | path

Searched refs:center1 (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/gm/
Dgradients_2pt_conical.cpp55 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 …]
Dgradients_no_texture.cpp63 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()
Dblurroundrect.cpp44 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()
Dgradients.cpp127 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 …]
Dblurrect.cpp96 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/
Dgradients_2pt_conical.cpp55 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 …]
Dblurroundrect.cpp44 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()
Dgradients_no_texture.cpp63 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()
Dgradients.cpp127 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 …]
Dblurrect.cpp87 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/
DGradientBench.cpp78 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/
DGradientBench.cpp78 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/
DGrTwoPointConicalGradientLayout.cpp156 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/
DGrTwoPointConicalGradientLayout.fp231 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/
DSampleGradients.cpp83 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()
DSampleSlides.cpp197 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/
DSampleGradients.cpp84 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()
DSampleSlides.cpp198 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/
Dlistener_deprecated_test.dart316 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));
Dmouse_region_test.dart311 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/
Dafcjk.c1972 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/
Dafcjk.c1954 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/
Dafcjk.c1971 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()