Home
last modified time | relevance | path

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

/external/skia/gm/
Dgradients_no_texture.cpp55 SkPoint center0, center1; in Make2Radial() local
56 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Radial()
62 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Radial()
68 SkPoint center0, center1; in Make2Conical() local
71 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical()
74 center0, radius0, in Make2Conical()
Dgradients.cpp68 SkPoint center0, center1; in Make2Radial() local
69 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Radial()
75 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Radial()
81 SkPoint center0, center1; in Make2Conical() local
84 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical()
87 center0, radius0, in Make2Conical()
Dshadertext.cpp91 SkPoint center0, center1; in Make2Radial() local
92 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Radial()
98 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Radial()
/external/skia/bench/
DGradientBench.cpp80 SkPoint center0, center1; in Make2Radial() local
81 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in Make2Radial()
87 center0, (pts[1].fX - pts[0].fX) / 2, in Make2Radial()
95 SkPoint center0, center1; in MakeConical() local
96 center0.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeConical()
101 center0, (pts[1].fX - pts[0].fX) / 2, in MakeConical()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient.h27 void init(const SkPoint& center0, SkScalar rad0,
DSkTwoPointConicalGradient.cpp64 void TwoPtRadial::init(const SkPoint& center0, SkScalar rad0, in init() argument
66 fCenterX = SkScalarToFloat(center0.fX); in init()
67 fCenterY = SkScalarToFloat(center0.fY); in init()
/external/chromium_org/third_party/skia/src/effects/gradients/
DSkTwoPointConicalGradient.h27 void init(const SkPoint& center0, SkScalar rad0,
DSkTwoPointConicalGradient.cpp64 void TwoPtRadial::init(const SkPoint& center0, SkScalar rad0, in init() argument
66 fCenterX = SkScalarToFloat(center0.fX); in init()
67 fCenterY = SkScalarToFloat(center0.fY); in init()