/external/skia/gm/ |
D | gradients.cpp | 141 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 …]
|
D | patch.cpp | 112 paint.setShader(shader); 114 paint.setShader(nullptr); 117 paint.setShader(shader); 119 paint.setShader(nullptr);
|
D | gradtext.cpp | 59 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()
|
D | xfermodes2.cpp | 54 p.setShader(fBG); in onDraw() 60 p.setShader(fDst); in onDraw() 62 p.setShader(fSrc); in onDraw() 70 p.setShader(nullptr); in onDraw()
|
D | gammatext.cpp | 58 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()
|
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() 167 clampPaint.setShader(rectImg->newShader(SkShader::kClamp_TileMode, in onDraw() 174 repeatPaint.setShader(rectImg->newShader(SkShader::kRepeat_TileMode, in onDraw()
|
D | shadertext3.cpp | 29 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()
|
D | badpaint.cpp | 35 fPaints.back().setShader(SkShader::CreateBitmapShader(emptyBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw() 40 fPaints.back().setShader(SkShader::CreateBitmapShader(blueBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
|
D | composeshader.cpp | 66 paint.setShader(fShader); in onDraw() 105 paint.setShader(nullptr); in onDraw() 109 paint.setShader(shader); in onDraw() 217 paint.setShader(shader); in onDraw()
|
D | colortypexfermode.cpp | 43 paint.setShader(s)->unref(); in onOnceBeforeDraw() 136 p.setShader(s); in onDraw() 141 p.setShader(nullptr); in onDraw()
|
D | texturedomaineffect.cpp | 53 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()
|
D | alphagradients.cpp | 33 paint.setShader(s)->unref(); in draw_grad() 36 paint.setShader(nullptr); in draw_grad()
|
D | perspshaders.cpp | 89 pathPaint.setShader(fBitmapShader); in drawRow() 94 gradPaint1.setShader(fLinearGrad1); in drawRow() 97 gradPaint2.setShader(fLinearGrad2); in drawRow()
|
D | perlinnoise.cpp | 46 paint.setShader(shader)->unref(); in test() 118 paint->setShader(shader)->unref(); in install() 157 paint.setShader(paint.getShader()->newWithLocalMatrix(lm))->unref(); in onDraw()
|
D | transparency.cpp | 38 p.setShader(shader); in make_transparency() 57 paint.setShader(create_checkerboard_shader(c1, c2, size))->unref(); in checkerboard()
|
D | bitmapshader.cpp | 39 paint->setShader(shader); in adopt_shader() 87 paint.setShader(nullptr); in onDraw()
|
D | shaderbounds.cpp | 65 paint.setShader(MakeShader(559, 387, false))->unref(); in onDraw() 71 paint.setShader(MakeShader(101, 151, true))->unref(); in onDraw()
|
D | xfermodes3.cpp | 99 modePaint.setShader(fBmpShader); in onDraw() 155 bgPaint.setShader(fBGShader); in drawMode() 197 bmpPaint.setShader(SkGradientShader::CreateRadial(kCenter, in onOnceBeforeDraw()
|
/external/skia/tests/ |
D | PictureShaderTest.cpp | 27 paint.setShader(shader)->unref(); in DEF_TEST() 38 paint.setShader(shader)->unref(); in DEF_TEST()
|
D | GradientTest.cpp | 24 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/ |
D | XYPlotWithBgImgActivity.java | 34 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/ |
D | SampleShaders.cpp | 102 paint.setShader(fShader); in onDrawContent() 113 paint.setShader(nullptr); in onDrawContent() 115 paint.setShader(make_bitmapfade(fBitmap))->unref(); in onDrawContent()
|
D | SampleGradients.cpp | 26 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()
|
D | SamplePatch.cpp | 285 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/ |
D | AlternatingColorPatternBench.cpp | 54 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()
|