Home
last modified time | relevance | path

Searched refs:setShader (Results 1 – 25 of 183) sorted by relevance

12345678

/external/skia/gm/
Dgradients.cpp141 paint.setShader(shader); in onDraw()
201 paint.setShader(shader); in onDraw()
295 paint.setShader(s)->unref(); in onDraw()
339 paint.setShader(shader); in onDraw()
384 paint.setShader(shader)->unref(); in onDraw()
445 paint1.setShader(sweep); in onDraw()
447 paint2.setShader(radial1); in onDraw()
449 paint3.setShader(radial2); in onDraw()
492 paint.setShader(fShader); in onDraw()
531 paint.setShader(fShader); in onDraw()
[all …]
Dpatch.cpp112 paint.setShader(shader);
114 paint.setShader(nullptr);
117 paint.setShader(shader);
119 paint.setShader(nullptr);
Dgradtext.cpp59 paint.setShader(make_chrome_solid())->unref(); in onDraw()
87 paint.setShader(make_chrome_solid())->unref(); in onDraw()
143 paint.setShader(make_grad(SkIntToScalar(80)))->unref(); in onDraw()
148 paint.setShader(make_grad2(SkIntToScalar(80)))->unref(); in onDraw()
Dxfermodes2.cpp54 p.setShader(fBG); in onDraw()
60 p.setShader(fDst); in onDraw()
62 p.setShader(fSrc); in onDraw()
70 p.setShader(nullptr); in onDraw()
Dgammatext.cpp58 paint.setShader(s)->unref(); in drawGrad()
121 paint->setShader(nullptr); in draw_pair()
123 paint->setShader(SkShader::CreateColorShader(paint->getColor()))->unref(); in draw_pair()
125 paint->setShader(shader); in draw_pair()
Drectangletexture.cpp45 paint.setShader(SkGradientShader::CreateLinear(pts, colors0, nullptr, 2, in fillPixels()
51 paint.setShader(SkGradientShader::CreateLinear(pts, colors1, nullptr, 2, in fillPixels()
167 clampPaint.setShader(rectImg->newShader(SkShader::kClamp_TileMode, in onDraw()
174 repeatPaint.setShader(rectImg->newShader(SkShader::kRepeat_TileMode, in onDraw()
Dshadertext3.cpp29 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm()
32 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
113 fillPaint.setShader(shader); in onDraw()
Dbadpaint.cpp35 fPaints.back().setShader(SkShader::CreateBitmapShader(emptyBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
40 fPaints.back().setShader(SkShader::CreateBitmapShader(blueBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dcomposeshader.cpp66 paint.setShader(fShader); in onDraw()
105 paint.setShader(nullptr); in onDraw()
109 paint.setShader(shader); in onDraw()
217 paint.setShader(shader); in onDraw()
Dcolortypexfermode.cpp43 paint.setShader(s)->unref(); in onOnceBeforeDraw()
136 p.setShader(s); in onDraw()
141 p.setShader(nullptr); in onDraw()
Dtexturedomaineffect.cpp53 paint.setShader(SkGradientShader::CreateSweep(65.f, 75.f, colors1, in onOnceBeforeDraw()
59 paint.setShader(SkGradientShader::CreateSweep(45.f, 55.f, colors2, nullptr, in onOnceBeforeDraw()
66 paint.setShader(SkGradientShader::CreateSweep(25.f, 35.f, colors3, nullptr, in onOnceBeforeDraw()
Dalphagradients.cpp33 paint.setShader(s)->unref(); in draw_grad()
36 paint.setShader(nullptr); in draw_grad()
Dperspshaders.cpp89 pathPaint.setShader(fBitmapShader); in drawRow()
94 gradPaint1.setShader(fLinearGrad1); in drawRow()
97 gradPaint2.setShader(fLinearGrad2); in drawRow()
Dperlinnoise.cpp46 paint.setShader(shader)->unref(); in test()
118 paint->setShader(shader)->unref(); in install()
157 paint.setShader(paint.getShader()->newWithLocalMatrix(lm))->unref(); in onDraw()
Dtransparency.cpp38 p.setShader(shader); in make_transparency()
57 paint.setShader(create_checkerboard_shader(c1, c2, size))->unref(); in checkerboard()
Dbitmapshader.cpp39 paint->setShader(shader); in adopt_shader()
87 paint.setShader(nullptr); in onDraw()
Dshaderbounds.cpp65 paint.setShader(MakeShader(559, 387, false))->unref(); in onDraw()
71 paint.setShader(MakeShader(101, 151, true))->unref(); in onDraw()
Dxfermodes3.cpp99 modePaint.setShader(fBmpShader); in onDraw()
155 bgPaint.setShader(fBGShader); in drawMode()
197 bmpPaint.setShader(SkGradientShader::CreateRadial(kCenter, in onOnceBeforeDraw()
/external/skia/tests/
DPictureShaderTest.cpp27 paint.setShader(shader)->unref(); in DEF_TEST()
38 paint.setShader(shader)->unref(); in DEF_TEST()
DGradientTest.cpp24 paint.setShader(s)->unref(); in test_big_grad()
155 paint.setShader(s.get()); in TestConstantGradient()
210 paint.setShader(gradient); in test_nearly_vertical()
231 paint.setShader(gradient); in test_linear_fuzz()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYPlotWithBgImgActivity.java34 plot.getGraphWidget().getGridBackgroundPaint().setShader(WHITE_SHADER); in onCreate()
123 plot.getGraphWidget().getGridBackgroundPaint().setShader( in onGraphStyleToggle()
126 plot.getGraphWidget().getGridBackgroundPaint().setShader(WHITE_SHADER); in onGraphStyleToggle()
/external/skia/samplecode/
DSampleShaders.cpp102 paint.setShader(fShader); in onDrawContent()
113 paint.setShader(nullptr); in onDrawContent()
115 paint.setShader(make_bitmapfade(fBitmap))->unref(); in onDrawContent()
DSampleGradients.cpp26 p.setShader(setgrad(r, 0xFF00FF00, 0x0000FF00))->unref(); in test_alphagradients()
31 p.setShader(setgrad(r, 0xFF00FF00, 0x00000000))->unref(); in test_alphagradients()
36 p.setShader(setgrad(r, 0xFF00FF00, 0x00FF0000))->unref(); in test_alphagradients()
151 paint.setShader(shader)->unref(); in onDrawContent()
DSamplePatch.cpp285 paint.setShader(fShader0); in onDrawContent()
297 paint.setShader(nullptr); in onDrawContent()
305 paint.setShader(fShader1); in onDrawContent()
310 paint.setShader(s)->unref(); in onDrawContent()
316 paint.setShader(s)->unref(); in onDrawContent()
/external/skia/bench/
DAlternatingColorPatternBench.cpp54 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm()
57 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
158 paint.setShader(fShaders[j]); in onDraw()

12345678