Home
last modified time | relevance | path

Searched refs:newPaint (Results 1 – 15 of 15) sorted by relevance

/external/skia/gm/
Dtestgradient.cpp45 SkPaint newPaint(paint); in onDraw() local
46 newPaint.setShader(SkGradientShader::MakeLinear( in onDraw()
49 canvas->drawRect(rect, newPaint); in onDraw()
/external/skia/resources/
Dtest.lua5 local paint = Sk.newPaint();
25 path_paint = Sk.newPaint();
47 local paint = Sk.newPaint();
Dslides.lua22 local paint = Sk.newPaint();
43 local paint = Sk.newPaint()
131 gRedPaint = Sk.newPaint()
297 bgPaint = Sk.newPaint()
Dslides_transitions.lua50 paint = Sk.newPaint(),
96 paint = Sk.newPaint(),
/external/skia/src/effects/shadows/
DSkAmbientShadowMaskFilter.cpp240 GrPaint newPaint(paint); in directFilterRRectMaskGPU() local
241 GrColor4f color = newPaint.getColor4f(); in directFilterRRectMaskGPU()
243 newPaint.setColor4f(color); in directFilterRRectMaskGPU()
247 rtContext->drawShadowRRect(clip, std::move(newPaint), viewMatrix, ambientRRect, in directFilterRRectMaskGPU()
/external/skia/src/utils/
DSkShadowPaintFilterCanvas.cpp27 SkPaint newPaint; in onFilter() local
28 newPaint.setPathEffect(sk_ref_sp<SkPathEffect>((*paint)->getPathEffect())); in onFilter()
43 newPaint.setColor(color); in onFilter()
45 *paint->writable() = newPaint; in onFilter()
DSkShadowUtils.cpp469 SkPaint newPaint; in DrawShadow() local
470 newPaint.setColor(color); in DrawShadow()
472 newPaint.setMaskFilter(SkAmbientShadowMaskFilter::Make(occluderHeight, ambientAlpha, in DrawShadow()
474 canvas->drawPath(path, newPaint); in DrawShadow()
477 newPaint.setMaskFilter(SkSpotShadowMaskFilter::Make(occluderHeight, devLightPos, in DrawShadow()
479 canvas->drawPath(path, newPaint); in DrawShadow()
/external/skia/src/gpu/
DGrPaint.h182 MoveOrImpl(GrPaint& paint, bool newPaint) { in MoveOrImpl() argument
183 if (newPaint) { in MoveOrImpl()
DSkGpuDevice.cpp638 SkPaint newPaint(origPaint); in drawStrokedLine() local
639 newPaint.setStyle(SkPaint::kFill_Style); in drawStrokedLine()
659 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), newPaint, m, &grPaint)) { in drawStrokedLine()
664 this->clip(), std::move(grPaint), GrBoolToAA(newPaint.isAntiAlias()), m, rect, local); in drawStrokedLine()
/external/skia/src/core/
DSkOverdrawCanvas.cpp304 SkPaint newPaint = fPaint; in overdrawPaint() local
305 newPaint.setStyle(paint.getStyle()); in overdrawPaint()
306 newPaint.setStrokeWidth(paint.getStrokeWidth()); in overdrawPaint()
307 return newPaint; in overdrawPaint()
DSkDraw.cpp564 SkPaint newPaint(paint); in drawPoints() local
565 newPaint.setStyle(SkPaint::kFill_Style); in drawPoints()
567 SkScalar width = newPaint.getStrokeWidth(); in drawPoints()
570 if (newPaint.getStrokeCap() == SkPaint::kRound_Cap) { in drawPoints()
581 device->drawPath(path, newPaint, &preMatrix, (count-1) == i); in drawPoints()
583 this->drawPath(path, newPaint, &preMatrix, (count-1) == i); in drawPoints()
595 device->drawRect(r, newPaint); in drawPoints()
597 this->drawRect(r, newPaint); in drawPoints()
DSkCanvas.cpp2525 SkPaint* newPaint = fLazy.set(paint); in SkDeviceFilteredPaint() local
2526 newPaint->setFlags(filteredFlags); in SkDeviceFilteredPaint()
2527 fPaint = newPaint; in SkDeviceFilteredPaint()
/external/skia/site/user/special/
Dlua.md37 > paint = Sk.newPaint()
/external/skia/src/pdf/
DSkPDFDevice.cpp546 SkPaint newPaint = paint; in drawPaint() local
547 replace_srcmode_on_opaque_paint(&newPaint); in drawPaint()
549 newPaint.setStyle(SkPaint::kFill_Style); in drawPaint()
550 ScopedContentEntry content(this, newPaint); in drawPaint()
551 this->internalDrawPaint(newPaint, content.entry()); in drawPaint()
1990 SkPaint newPaint = paint; in populateGraphicStateEntryFromPaint() local
1991 newPaint.setColor(color); in populateGraphicStateEntryFromPaint()
1993 SkPDFGraphicState::GetGraphicStateForPaint(fDocument->canon(), newPaint)); in populateGraphicStateEntryFromPaint()
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...