Home
last modified time | relevance | path

Searched refs:center0 (Results 1 – 10 of 10) sorted by relevance

/external/skia/gm/
Dgradients_2pt_conical.cpp43 SkPoint center0, center1; in Make2ConicalOutside() local
46 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside()
48 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside()
54 SkPoint center0, center1; in Make2ConicalOutsideFlip() local
57 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip()
59 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip()
65 SkPoint center0, center1; in Make2ConicalInside() local
66 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInside()
71 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInside()
78 SkPoint center0, center1; in Make2ConicalInsideFlip() local
[all …]
Dgradients_no_texture.cpp49 SkPoint center0, center1; in Make2Radial() local
50 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Radial()
56 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Radial()
61 SkPoint center0, center1; in Make2Conical() local
64 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical()
67 center0, radius0, in Make2Conical()
Dblurroundrect.cpp104 SkPoint center0, center1; in MakeRadial() local
105 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial()
110 center0, (pts[1].fX - pts[0].fX) / 2, in MakeRadial()
Dgradients.cpp109 SkPoint center0, center1; in Make2Radial() local
110 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Radial()
115 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Radial()
122 SkPoint center0, center1; in Make2Radial4f() local
123 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Radial4f()
129 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Radial4f()
136 SkPoint center0, center1; in Make2Conical() local
139 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical()
141 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical()
148 SkPoint center0, center1; in Make2Conical4f() local
[all …]
Dshadertext.cpp70 SkPoint center0, center1; in Make2Conical() local
71 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Conical()
77 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Conical()
Dblurrect.cpp72 SkPoint center0, center1; in MakeRadial() local
73 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial()
78 center0, (pts[1].fX - pts[0].fX) / 2, in MakeRadial()
/external/skia/bench/
DGradientBench.cpp76 SkPoint center0, center1; in MakeConical() local
77 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeConical()
82 center0, (pts[1].fX - pts[0].fX) / 2, in MakeConical()
89 SkPoint center0, center1; in MakeConicalZeroRad() local
90 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeConicalZeroRad()
95 center0, (pts[1].fX - pts[0].fX) / 2, in MakeConicalZeroRad()
102 SkPoint center0, center1; in MakeConicalOutside() local
105 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutside()
107 return SkGradientShader::MakeTwoPointConical(center0, radius0, in MakeConicalOutside()
116 SkPoint center0, center1; in MakeConicalOutsideZeroRad() local
[all …]
/external/skia/samplecode/
DSampleGradients.cpp85 SkPoint center0, center1; in Make2Conical() local
86 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Conical()
92 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Conical()
DSampleShaderText.cpp77 SkPoint center0, center1; in Make2Conical() local
78 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Conical()
84 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Conical()
DSampleSlides.cpp200 SkPoint center0, center1; in Make2Conical() local
201 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Conical()
206 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Conical()