Home
last modified time | relevance | path

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

/external/skia/gm/
Dgradients_2pt_conical.cpp42 SkPoint center0, center1; in Make2ConicalOutside() local
45 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside()
47 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalOutside()
55 SkPoint center0, center1; in Make2ConicalOutsideFlip() local
58 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip()
61 center0, radius0, in Make2ConicalOutsideFlip()
68 SkPoint center0, center1; in Make2ConicalInside() local
69 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2ConicalInside()
74 center0, (pts[1].fX - pts[0].fX) / 2, in Make2ConicalInside()
81 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.cpp106 SkPoint center0, center1; in MakeRadial() local
107 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial()
112 center0, (pts[1].fX - pts[0].fX) / 2, in MakeRadial()
Dshadertext.cpp69 SkPoint center0, center1; in Make2Conical() local
70 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Conical()
76 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()
Dgradients.cpp69 SkPoint center0, center1; in Make2Radial() local
70 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Radial()
76 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Radial()
83 SkPoint center0, center1; in Make2Conical() local
86 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical()
89 center0, radius0, in Make2Conical()
/external/skia/bench/
DGradientBench.cpp80 SkPoint center0, center1; in MakeConical() local
81 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeConical()
86 center0, (pts[1].fX - pts[0].fX) / 2, in MakeConical()
93 SkPoint center0, center1; in MakeConicalZeroRad() local
94 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeConicalZeroRad()
99 center0, (pts[1].fX - pts[0].fX) / 2, in MakeConicalZeroRad()
106 SkPoint center0, center1; in MakeConicalOutside() local
109 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutside()
111 return SkGradientShader::CreateTwoPointConical(center0, radius0, in MakeConicalOutside()
120 SkPoint center0, center1; in MakeConicalOutsideZeroRad() local
[all …]
/external/skia/samplecode/
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()
DSampleGradients.cpp86 SkPoint center0, center1; in Make2Conical() local
87 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Conical()
93 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Conical()
DSampleSlides.cpp201 SkPoint center0, center1; in Make2Conical() local
202 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Conical()
208 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Conical()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient.cpp80 void TwoPtRadial::init(const SkPoint& center0, SkScalar rad0, in init() argument
83 fCenterX = SkScalarToFloat(center0.fX); in init()
84 fCenterY = SkScalarToFloat(center0.fY); in init()
DSkTwoPointConicalGradient.h31 void init(const SkPoint& center0, SkScalar rad0,
/external/opencv3/modules/imgproc/src/
Dsamplers.cpp221 float* dst, size_t dst_step, Size win_size, Point2f center0, int cn ) in getRectSubPix_8u32f() argument
223 Point2f center = center0; in getRectSubPix_8u32f()
266 (src, src_step, src_size, dst, dst_step, win_size, center0, cn ); in getRectSubPix_8u32f()