/external/skia/samplecode/ |
D | SampleShaders.cpp | 104 paint.setShader(fShader); in onDrawContent() 115 paint.setShader(NULL); in onDrawContent() 117 paint.setShader(make_bitmapfade(fBitmap))->unref(); in onDrawContent() 120 paint.setShader(new SkTransparentShader)->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(NULL); in onDrawContent() 305 paint.setShader(fShader1); in onDrawContent() 310 paint.setShader(s)->unref(); in onDrawContent() 316 paint.setShader(s)->unref(); in onDrawContent()
|
D | SampleAll.cpp | 402 paint.setShader(SkShader::CreateBitmapShader(fTx, in drawPicture() 421 paint.setShader(linear)->unref(); in drawPicture() 431 paint.setShader(transparentShader)->unref(); in drawPicture() 440 paint.setShader(radial)->unref(); in drawPicture() 444 paint.setShader(NULL); in drawPicture() 455 paint.setShader(shaderTest())->unref(); // test compose shader in drawPicture() 457 paint.setShader(NULL); in drawPicture()
|
D | SampleVertices.cpp | 98 paint.setShader(NULL); in onDrawContent() 105 paint.setShader(fShader0); in onDrawContent() 112 paint.setShader(fShader1); in onDrawContent()
|
/external/skia/gm/ |
D | gradients.cpp | 139 paint.setShader(shader); in onDraw() 193 paint.setShader(shader); in onDraw() 278 paint.setShader(s)->unref(); in onDraw() 316 paint.setShader(shader); in onDraw() 358 paint.setShader(shader)->unref(); in onDraw() 416 paint1.setShader(sweep); in onDraw() 417 paint2.setShader(radial1); in onDraw() 418 paint3.setShader(radial2); in onDraw() 454 paint.setShader(fShader); in onDraw()
|
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(NULL); in onDraw()
|
D | gammatext.cpp | 56 paint.setShader(s)->unref(); in drawGrad() 119 paint->setShader(NULL); in draw_pair() 121 paint->setShader(SkShader::CreateColorShader(paint->getColor()))->unref(); in draw_pair() 123 paint->setShader(shader); in draw_pair()
|
D | patch.cpp | 133 paint.setShader(shader); in onDraw() 135 paint.setShader(NULL); in onDraw() 138 paint.setShader(shader); in onDraw() 140 paint.setShader(NULL); in onDraw()
|
D | composeshader.cpp | 66 paint.setShader(fShader); in onDraw() 105 paint.setShader(NULL); in onDraw() 109 paint.setShader(shader); 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 | colortypexfermode.cpp | 41 paint.setShader(s)->unref(); in ColorTypeXfermodeGM() 136 p.setShader(s); in onDraw() 141 p.setShader(NULL); in onDraw()
|
D | texturedomaineffect.cpp | 51 paint.setShader(SkGradientShader::CreateSweep(65.f, 75.f, colors1, in onOnceBeforeDraw() 57 paint.setShader(SkGradientShader::CreateSweep(45.f, 55.f, colors2, NULL, in onOnceBeforeDraw() 64 paint.setShader(SkGradientShader::CreateSweep(25.f, 35.f, colors3, NULL, in onOnceBeforeDraw()
|
D | alphagradients.cpp | 33 paint.setShader(s)->unref(); in draw_grad() 36 paint.setShader(NULL); in draw_grad()
|
D | perlinnoise.cpp | 46 paint.setShader(shader)->unref(); in test() 118 paint->setShader(shader)->unref(); in install() 157 paint.setShader(SkShader::CreateLocalMatrixShader(paint.getShader(), 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(NULL); 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 | 98 modePaint.setShader(fBmpShader); in onDraw() 159 bgPaint.setShader(fBGShader); in drawMode() 205 bmpPaint.setShader(SkGradientShader::CreateRadial(kCenter, in onOnceBeforeDraw()
|
/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/bench/ |
D | AlternatingColorPatternBench.cpp | 53 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm() 56 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm() 157 paint.setShader(fShaders[j]); in onDraw()
|
/external/skia/src/views/ |
D | SkProgressView.cpp | 96 p.setShader(fOnShader); in onDraw() 100 p.setShader(fOffShader); in onDraw()
|
/external/skia/example/ |
D | HelloWorld.cpp | 116 paint.setShader(shader); in drawContents() 122 paint.setShader(NULL); in drawContents()
|