Home
last modified time | relevance | path

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

/external/skia/src/views/
DSkProgressView.cpp88 p.setShader(fOnShader); in onDraw()
92 p.setShader(fOffShader); in onDraw()
DSkParsePaint.cpp101 paint->setShader(shader)->unref(); in SkPaint_Inflate()
DSkListView.cpp534 paint.setShader(shader)->unref();
721 p.setShader(shader)->unref();
DSkWidget.cpp265 …paint->setShader(SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kMirror_TileMode))…
/external/skia/gm/
Dtilemodes.cpp36 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm()
44 paint->setShader(shader)->unref(); in setup()
Dxfermodes.cpp83 p.setShader(s)->unref(); in drawBG()
158 p.setShader(s); in onDraw()
Dgradients.cpp93 paint.setShader(shader); in onDraw()
/external/skia/src/core/
DSkBlitter.cpp743 fPaint->setShader(fShader); in ~SkAutoRestoreShaderXfer()
749 SkShader* setShader(SkShader* shader) { in setShader() function in SkAutoRestoreShaderXfer
750 return fPaint->setShader(shader); in setShader()
879 restorePaint.setShader(shader3D)->unref(); in Choose()
901 restorePaint.setShader(shader)->unref(); in Choose()
908 restorePaint.setShader(shader)->unref(); in Choose()
DSkDraw.cpp102 fPaint->setShader(SkShader::CreateBitmapShader( src, in SkAutoBitmapShaderInstall()
109 fPaint->setShader(fPrevShader); in ~SkAutoBitmapShaderInstall()
2213 p.setShader(NULL); in drawVertices()
2221 p.setShader(&triShader); in drawVertices()
2232 p.setShader(compose)->unref(); in drawVertices()
DSkPaint.cpp1530 this->setShader((SkShader*) buffer.readFlattenable())->safeUnref(); in unflatten()
1538 this->setShader(NULL); in unflatten()
1549 SkShader* SkPaint::setShader(SkShader* shader) in setShader() function in SkPaint
/external/skia/src/animator/
DSkDrawPaint.cpp248 paint->setShader(NULL); in setupPaint()
250 paint->setShader(shader->getShader())->safeUnref(); in setupPaint()
/external/skia/src/utils/
DSkMeshUtils.cpp88 p.setShader(SkShader::CreateBitmapShader(bitmap, in Draw()
DSkNinePatch.cpp221 p.setShader(shader)->unref(); in DrawMesh()
/external/webkit/WebCore/platform/graphics/android/
DGradientAndroid.cpp123 paint.setShader(this->getShader(mode)); in fill()
DGraphicsContextAndroid.cpp337 paint->setShader(pat->platformPattern(AffineTransform())); in extactShader()
341 paint->setShader(grad->getShader(SpreadMethod2TileMode(sm))); in extactShader()
693 paint.setShader(NULL); // in case we had one set in fillRect()
DImageAndroid.cpp301 paint.setShader(shader)->unref(); in drawPattern()
/external/webkit/WebCore/platform/graphics/skia/
DPlatformContextSkia.cpp344 paint->setShader(m_state->m_fillShader); in setupPaintForFilling()
362 paint->setShader(m_state->m_strokeShader); in setupPaintForStroking()
DImageSkia.cpp377 paint.setShader(shader)->unref(); in drawPattern()
DGraphicsContextSkia.cpp657 paint.setShader(shader); in drawLineForMisspellingOrBadGrammar()
/external/skia/bench/
DRepeatTileBench.cpp108 fPaint.setShader(s)->unref(); in RepeatTileBench()
/external/webkit/WebKit/android/nav/
DSelectText.cpp1228 paint.setShader(fillGradient); in SelectText()
1230 paint.setShader(0); in SelectText()
1237 paint.setShader(dropGradient); in SelectText()
1259 paint.setShader(fillGradient); in SelectText()
1261 paint.setShader(0); in SelectText()
1268 paint.setShader(dropGradient); in SelectText()
/external/skia/tests/
DBlitRowTest.cpp173 paint->setShader(s)->unref(); in Mesh()
/external/skia/include/core/
DSkPaint.h481 SkShader* setShader(SkShader* shader);
/external/webkit/WebCore/rendering/
DRenderThemeChromiumSkia.cpp347 paint.setShader(shader); in paintButtonLike()
353 paint.setShader(NULL); in paintButtonLike()