/external/skia/gm/ |
D | gradients_2pt_conical.cpp | 43 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 …]
|
D | gradients_no_texture.cpp | 49 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()
|
D | blurroundrect.cpp | 104 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()
|
D | gradients.cpp | 109 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 …]
|
D | shadertext.cpp | 70 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()
|
D | blurrect.cpp | 72 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/ |
D | GradientBench.cpp | 76 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/ |
D | SampleGradients.cpp | 85 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()
|
D | SampleShaderText.cpp | 77 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()
|
D | SampleSlides.cpp | 200 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()
|