/external/skia/gm/ |
bug6643.cpp | 8 #include "SkGradientShader.h" 17 p.setShader(SkGradientShader::MakeSweep(100, 100, colors, nullptr, SK_ARRAY_COUNT(colors), 18 SkGradientShader::kInterpolateColorsInPremul_Flag,
|
radial_gradient_precision.cpp | 9 #include "SkGradientShader.h" 18 p.setShader(SkGradientShader::MakeRadial(center, radius,
|
shallowgradient.cpp | 10 #include "SkGradientShader.h" 16 return SkGradientShader::MakeLinear(pts, colors, nullptr, count, SkShader::kClamp_TileMode); 21 return SkGradientShader::MakeRadial(center, size.width()/2, colors, nullptr, count, 27 return SkGradientShader::MakeTwoPointConical(center, size.width()/64, center, size.width()/2, 32 return SkGradientShader::MakeSweep(size.width()/2, size.height()/2, colors, nullptr, count);
|
gradients_2pt_conical.cpp | 10 #include "SkGradientShader.h" 48 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, 59 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, 70 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, 83 return SkGradientShader::MakeTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 2, 96 return SkGradientShader::MakeTwoPointConical(center0, (pts[1].fX - pts[0].fX) / 7, 109 return SkGradientShader::MakeTwoPointConical(center1, 0.f, 122 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 2, 135 return SkGradientShader::MakeTwoPointConical(center0, 0.f, center0, (pts[1].fX - pts[0].fX) / 2, 148 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1 [all...] |
gradients.cpp | 10 #include "SkGradientShader.h" 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, 74 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, data.fPos, data.fCount, 84 return SkGradientShader::MakeRadial(center, center.fX, data.fColors4f, srgb, data.fPos, 93 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount, 103 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors4f, srgb, data.fPos, 114 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, 128 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, 141 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0 [all...] |
alphagradients.cpp | 10 #include "SkGradientShader.h" 30 uint32_t flags = doPreMul ? SkGradientShader::kInterpolateColorsInPremul_Flag : 0; 31 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2,
|
rrectclipdrawpaint.cpp | 10 #include "SkGradientShader.h" 38 p.setShader(SkGradientShader::MakeLinear(kPts, kColors1, nullptr, 2, 47 p.setShader(SkGradientShader::MakeRadial({128.f, 128.f}, 128.f, kColors2, nullptr, 2,
|
shadertext.cpp | 11 #include "SkGradientShader.h" 28 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, SK_ARRAY_COUNT(colors), 51 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); 58 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, data.fPos, data.fCount, 66 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); 75 return SkGradientShader::MakeTwoPointConical(
|
gradientDirtyLaundry.cpp | 9 #include "SkGradientShader.h" 39 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); 44 return SkGradientShader::MakeRadial(pt, pt.fX, data.fColors, data.fPos, data.fCount, tm); 49 return SkGradientShader::MakeSweep(pt.fX, pt.fY, data.fColors, data.fPos, data.fCount);
|
gradtext.cpp | 11 #include "SkGradientShader.h" 18 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), 26 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), 33 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode);
|
/external/skia/src/shaders/gradients/ |
SkSweepGradient.h | 40 friend class SkGradientShader;
|
SkRadialGradient.h | 50 friend class SkGradientShader;
|
/external/skia/tests/ |
ShaderOpacityTest.cpp | 9 #include "SkGradientShader.h" 61 auto grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); 68 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); 75 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); 82 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
|
GradientTest.cpp | 11 #include "SkGradientShader.h" 25 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, 89 sk_sp<SkShader> s(SkGradientShader::MakeLinear(buildRec.fPoint, buildRec.fColors, buildRec.fPos, 99 sk_sp<SkShader> s(SkGradientShader::MakeRadial(buildRec.fPoint[0], buildRec.fRadius[0], 111 sk_sp<SkShader> s(SkGradientShader::MakeSweep(buildRec.fPoint[0].fX, buildRec.fPoint[0].fY, 122 sk_sp<SkShader> s(SkGradientShader::MakeTwoPointConical(buildRec.fPoint[0], 146 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); 277 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); 289 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); 306 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)) [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
ListOfFadedTextAnimation.cpp | 20 #include <SkGradientShader.h> 47 sk_sp<SkShader> s(SkGradientShader::MakeLinear(pts, colors, NULL, 2,
|
HwBitmapInCompositeShader.cpp | 21 #include <SkGradientShader.h> 64 sk_sp<SkShader> gradientShader = SkGradientShader::MakeRadial(center, 50, colors, nullptr,
|
SimpleGradientAnimation.cpp | 20 #include <SkGradientShader.h> 59 paint.setShader(SkGradientShader::MakeLinear(pts, colors + (i % 2), pos, 2,
|
SimpleColorMatrixAnimation.cpp | 20 #include <SkGradientShader.h> 74 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2,
|
/external/skia/samplecode/ |
SampleShaders.cpp | 12 #include "SkGradientShader.h" 31 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); 54 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); 60 auto shaderB = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode);
|
Sample2PtRadial.cpp | 10 #include "SkGradientShader.h" 36 paint.setShader(SkGradientShader::MakeTwoPointConical(c0, r0, c1, r1, colors,
|
SampleClamp.cpp | 12 #include "SkGradientShader.h" 18 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode);
|
SampleGradients.cpp | 10 #include "SkGradientShader.h" 15 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); 66 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); 73 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, 81 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); 90 return SkGradientShader::MakeTwoPointConical( 101 return SkGradientShader::MakeTwoPointConical(
|
SampleShaderText.cpp | 10 #include "SkGradientShader.h" 26 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 58 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); 65 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, 73 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); 82 return SkGradientShader::MakeTwoPointConical(
|
/external/skia/src/c/ |
sk_effects.cpp | 17 #include "../../include/effects/SkGradientShader.h" 65 return (sk_shader_t*)SkGradientShader::MakeLinear(reinterpret_cast<const SkPoint*>(pts), 93 return (sk_shader_t*)SkGradientShader::MakeRadial(center, (SkScalar)radius, 110 return (sk_shader_t*)SkGradientShader::MakeSweep((SkScalar)(ccenter->x), 138 return (sk_shader_t*)SkGradientShader::MakeTwoPointConical(skstart, (SkScalar)startRadius,
|
/external/skia/bench/ |
GradientBench.cpp | 11 #include "SkGradientShader.h" 52 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); 60 return SkGradientShader::MakeRadial(center, center.fX * scale, data.fColors, 70 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); 81 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, 94 return SkGradientShader::MakeTwoPointConical(center1, 0.0, 107 return SkGradientShader::MakeTwoPointConical(center0, radius0, 121 return SkGradientShader::MakeTwoPointConical(center0, 0.0, 355 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr,
|