/external/skia/samplecode/ |
SampleEffects.cpp | 41 paint->setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
SimpleGradientAnimation.cpp | 59 paint.setShader(SkGradientShader::MakeLinear(pts, colors + (i % 2), pos, 2,
|
SimpleColorMatrixAnimation.cpp | 74 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2,
|
/external/skia/gm/ |
coloremoji.cpp | 23 static sk_sp<SkShader> MakeLinear() { 27 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), 98 for (int makeLinear = 0; makeLinear < 2; makeLinear++) { 105 if (SkToBool(makeLinear)) { 106 shaderPaint.setShader(MakeLinear());
|
composeshader.cpp | 26 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); 32 auto shaderB = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); 148 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode);
|
gradients_no_texture.cpp | 30 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 31 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); 76 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical, 258 paint.setShader(SkGradientShader::MakeLinear(pts, rec.fColors, rec.fPos, rec.fCount,
|
hardstop_gradients.cpp | 146 auto shader = SkGradientShader::MakeLinear(
|
shallowgradient.cpp | 16 return SkGradientShader::MakeLinear(pts, colors, nullptr, count, SkShader::kClamp_TileMode);
|
gradients.cpp | 56 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, 58 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm, 0, 65 return SkGradientShader::MakeLinear(pts, data.fColors4f, srgb, data.fPos, data.fCount, tm, 0, 162 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical 714 fShader[index] = SkGradientShader::MakeLinear(pts, colors, pos, 783 paint.setShader(SkGradientShader::MakeLinear(configs[i].pts, colors, configs[i].pos, 814 return SkGradientShader::MakeLinear(pts, run.fColors, run.fPos, run.fCount, mode); [all...] |
arithmode.cpp | 32 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), 48 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
|
gamut.cpp | 80 paint.setShader(SkGradientShader::MakeLinear(points, colors, nullptr, 4, 83 paint.setShader(SkGradientShader::MakeLinear(points, fColors, nullptr, 2,
|
lumafilter.cpp | 89 fGr1 = SkGradientShader::MakeLinear(g1Points, g1Colors, pos, SK_ARRAY_COUNT(g1Colors), 91 fGr2 = SkGradientShader::MakeLinear(g2Points, g2Colors, pos, SK_ARRAY_COUNT(g2Colors),
|
perspshaders.cpp | 65 fLinearGrad1 = SkGradientShader::MakeLinear(pts1, colors, pos, SK_ARRAY_COUNT(colors), 67 fLinearGrad2 = SkGradientShader::MakeLinear(pts2, colors, pos, SK_ARRAY_COUNT(colors),
|
pictureimagegenerator.cpp | 73 paint.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos1, SK_ARRAY_COUNT(pos1), 91 paint.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos2, SK_ARRAY_COUNT(pos2),
|
rectangletexture.cpp | 47 paint.setShader(SkGradientShader::MakeLinear(pts, colors0, nullptr, 2, 53 paint.setShader(SkGradientShader::MakeLinear(pts, colors1, nullptr, 2,
|
shadertext2.cpp | 28 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, 31 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos,
|
colormatrix.cpp | 71 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2,
|
gradient_matrix.cpp | 66 return SkGradientShader::MakeLinear(pts, gColors, nullptr, SK_ARRAY_COUNT(gColors),
|
/external/skia/bench/ |
GradientBench.cpp | 50 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, 52 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); 134 { MakeLinear, "linear" }, 355 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr,
|
HardStopGradientBench_ScaleNumColors.cpp | 85 fPaint.setShader(SkGradientShader::MakeLinear(points,
|
HardStopGradientBench_SpecialHardStops.cpp | 92 fPaint.setShader(SkGradientShader::MakeLinear(points,
|
ImageFilterCollapse.cpp | 64 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
|
AlternatingColorPatternBench.cpp | 54 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, SK_ARRAY_COUNT(kColors0), 57 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos, SK_ARRAY_COUNT(kColors1),
|
/external/skia/example/ |
HelloWorld.cpp | 103 paint.setShader(SkGradientShader::MakeLinear(
|
/external/skia/experimental/svg/model/ |
SkSVGLinearGradient.cpp | 141 paint->setShader(SkGradientShader::MakeLinear(pts, colors.begin(), pos.begin(), colors.count(),
|