/external/skia/tests/ |
D | ShaderOpacityTest.cpp | 67 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()
|
D | GradientTest.cpp | 22 … SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in test_big_grad() 86 SkAutoTUnref<SkShader> s(SkGradientShader::CreateLinear(rec.fPoint, in linear_gradproc() 147 SkAutoTUnref<SkShader> s(SkGradientShader::CreateLinear(pts, in TestConstantGradient() 207 SkGradientShader::CreateLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_nearly_vertical() 228 SkGradientShader::CreateLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); in test_linear_fuzz()
|
/external/skia/include/effects/ |
D | SkGradientShader.h | 45 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/ |
D | SampleShaders.cpp | 33 …SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileM… in make_bitmapfade() 63 …SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileM… in ShaderView() 69 …SkShader* shaderB = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileM… in ShaderView()
|
D | SampleBigGradient.cpp | 16 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_grad()
|
D | SampleClamp.cpp | 19 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_linear()
|
D | SampleGradients.cpp | 16 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in setgrad() 67 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
|
D | SampleShaderText.cpp | 26 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm() 58 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
|
/external/skia/gm/ |
D | gradtext.cpp | 17 return SkGradientShader::CreateLinear(pts, colors, nullptr, in make_grad() 26 return SkGradientShader::CreateLinear(pts, colors, nullptr, in make_grad2() 34 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_chrome_solid()
|
D | composeshader.cpp | 26 SkAutoTUnref<SkShader> shaderA(SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_shader() 33 SkAutoTUnref<SkShader> shaderB(SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_shader() 158 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_linear_gradient_shader()
|
D | shadertext3.cpp | 29 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm() 32 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
|
D | lumafilter.cpp | 88 fGr1.reset(SkGradientShader::CreateLinear(g1Points, in LumaFilterGM() 93 fGr2.reset(SkGradientShader::CreateLinear(g2Points, in LumaFilterGM()
|
D | gammatext.cpp | 17 return SkGradientShader::CreateLinear(pts, bw, nullptr, in make_heatGradient() 109 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode);
|
D | rectangletexture.cpp | 45 paint.setShader(SkGradientShader::CreateLinear(pts, colors0, nullptr, 2, in fillPixels() 51 paint.setShader(SkGradientShader::CreateLinear(pts, colors1, nullptr, 2, in fillPixels()
|
D | perspshaders.cpp | 65 fLinearGrad1.reset(SkGradientShader::CreateLinear(pts1, colors, pos, in onOnceBeforeDraw() 68 fLinearGrad2.reset(SkGradientShader::CreateLinear(pts2, colors, pos, in onOnceBeforeDraw()
|
D | arithmode.cpp | 34 SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_src() 50 SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_dst()
|
D | pictureimagegenerator.cpp | 71 SkAutoTUnref<SkShader> gradient1(SkGradientShader::CreateLinear(pts1, colors1, pos1, in draw_vector_logo() 91 SkAutoTUnref<SkShader> gradient2(SkGradientShader::CreateLinear(pts2, colors2, pos2, in draw_vector_logo()
|
D | gradients.cpp | 45 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, in MakeLinear() 571 fShader[index].reset(SkGradientShader::CreateLinear(pts, colors, pos, in onOnceBeforeDraw() 641 SkGradientShader::CreateLinear(configs[i].pts, colors, configs[i].pos, kStopCount, in onDraw() 673 return SkGradientShader::CreateLinear(pts, run.fColors, run.fPos, run.fCount, mode); in make_linear() 766 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateLinear( in draw_many_stops()
|
D | shadertext.cpp | 27 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm() 50 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
|
D | colorfilterimagefilter.cpp | 59 return SkGradientShader::CreateLinear(pts, colors, nullptr, 3, SkShader::kRepeat_TileMode); in sh_make_lineargradient0() 65 return SkGradientShader::CreateLinear(pts, colors, nullptr, 3, SkShader::kRepeat_TileMode); in sh_make_lineargradient1()
|
D | shadertext2.cpp | 27 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm() 30 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
|
D | alphagradients.cpp | 31 SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in draw_grad()
|
D | colorfilters.cpp | 22 return SkGradientShader::CreateLinear(pts, in make_shader()
|
/external/skia/bench/ |
D | AlternatingColorPatternBench.cpp | 54 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm() 57 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
|
/external/skia/experimental/FileReaderApp/ |
D | FileReaderWindow.mm | 12 SkGradientShader::CreateLinear(pts, colors, pos, 2,
|