Home
last modified time | relevance | path

Searched refs:CreateLinear (Results 1 – 25 of 66) sorted by relevance

123

/external/skia/tests/
DShaderOpacityTest.cpp67 SkShader* grad = SkGradientShader::CreateLinear(pts, colors, pos, count, in test_gradient()
76 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode); in test_gradient()
84 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode); in test_gradient()
92 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode); in test_gradient()
DGradientTest.cpp21 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode); in test_big_grad()
85 SkAutoTUnref<SkShader> s(SkGradientShader::CreateLinear(rec.fPoint, in linear_gradproc()
146 SkAutoTUnref<SkShader> s(SkGradientShader::CreateLinear(pts, in TestConstantGradient()
/external/skia/include/effects/
DSkGradientShader.h45 static SkShader* CreateLinear(const SkPoint pts[2],
50 static SkShader* CreateLinear(const SkPoint pts[2], in CreateLinear() function
53 return CreateLinear(pts, colors, pos, count, mode, 0, NULL); in CreateLinear()
/external/skia/samplecode/
DSampleShaders.cpp35 …SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode… in make_bitmapfade()
65 …SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode… in ShaderView()
71 …SkShader* shaderB = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode… in ShaderView()
DSampleBigGradient.cpp16 return SkGradientShader::CreateLinear(pts, colors, NULL, 2, in make_grad()
DSampleClamp.cpp19 return SkGradientShader::CreateLinear(pts, colors, NULL, 2, in make_linear()
DSampleGradients.cpp16 return SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode); in setgrad()
67 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
DSampleShaderText.cpp25 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm()
57 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
DSampleEffects.cpp43 paint->setShader(SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), in paint_proc3()
/external/skia/gm/
Dgradtext.cpp17 return SkGradientShader::CreateLinear(pts, colors, NULL, in make_grad()
26 return SkGradientShader::CreateLinear(pts, colors, NULL, in make_grad2()
34 return SkGradientShader::CreateLinear(pts, colors, NULL, 2, in make_chrome_solid()
Dcomposeshader.cpp26 SkAutoTUnref<SkShader> shaderA(SkGradientShader::CreateLinear(pts, colors, NULL, 2, in make_shader()
33 SkAutoTUnref<SkShader> shaderB(SkGradientShader::CreateLinear(pts, colors, NULL, 2, in make_shader()
Dshadertext3.cpp29 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm()
32 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
Dgammatext.cpp17 return SkGradientShader::CreateLinear(pts, bw, NULL, in make_heatGradient()
107 return SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode);
Darithmode.cpp34 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), in make_src()
49 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), in make_dst()
Dlumafilter.cpp88 fGr1.reset(SkGradientShader::CreateLinear(g1Points, in LumaFilterGM()
93 fGr2.reset(SkGradientShader::CreateLinear(g2Points, in LumaFilterGM()
Dshadertext.cpp26 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm()
49 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
Dshadertext2.cpp28 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm()
31 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
Dalphagradients.cpp31 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, in draw_grad()
Dcolorfilters.cpp22 return SkGradientShader::CreateLinear(pts, in make_shader()
Dtilemodes.cpp32 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm()
176 return SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), tx); in make_grad()
Dgradients_no_texture.cpp30 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
237 SkShader* s = SkGradientShader::CreateLinear(pts, rec.fColors, rec.fPos, rec.fCount, in onDraw()
Dshallowgradient.cpp15 return SkGradientShader::CreateLinear(pts, colors, NULL, count, in shader_linear()
Dtransparency.cpp34 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateLinear( in make_transparency()
/external/skia/bench/
DAlternatingColorPatternBench.cpp53 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm()
56 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
/external/skia/experimental/FileReaderApp/
DFileReaderWindow.mm12 SkGradientShader::CreateLinear(pts, colors, pos, 2,

123