/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPaintTest.java | 75 Paint origPaint = new Paint(); in createPaintFromPaint() local 76 assertThat(new Paint(origPaint).getTextLocale()).isSameAs(origPaint.getTextLocale()); in createPaintFromPaint()
|
/external/skia/src/core/ |
D | SkDraw.cpp | 41 const SkPaint& origPaint, const SkBitmap& bitmap, SkMatrix* matrix = nullptr) { in make_paint_with_image() argument 42 SkPaint paint(origPaint); in make_paint_with_image() 43 paint.setShader(SkMakeBitmapShaderForPaint(origPaint, bitmap, SkTileMode::kClamp, in make_paint_with_image() 883 void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint, in drawPath() argument 902 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style) { in drawPath() 919 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath() 923 if (SkDrawTreatAsHairline(origPaint, *matrix, &coverage)) { in drawPath() 926 } else if (SkBlendMode_SupportsCoverageAsAlpha(origPaint.getBlendMode())) { in drawPath() 930 origPaint.getAlpha())); in drawPath() 936 newAlpha = origPaint.getAlpha() * scale >> 8; in drawPath() [all …]
|
D | SkBitmapDevice.cpp | 561 void SkBitmapDevice::drawDevice(SkBaseDevice* device, int x, int y, const SkPaint& origPaint) { in drawDevice() argument 562 SkASSERT(!origPaint.getImageFilter()); in drawDevice() 565 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawDevice() 578 SkPaint paint(origPaint); in drawDevice() 624 void SkBitmapDevice::drawSpecial(SkSpecialImage* src, int x, int y, const SkPaint& origPaint, in drawSpecial() argument 629 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawSpecial()
|
D | SkCanvas.cpp | 372 AutoLayerForImageFilter(SkCanvas* canvas, const SkPaint& origPaint, in AutoLayerForImageFilter() argument 376 fPaint = &origPaint; in AutoLayerForImageFilter() 380 if (auto simplifiedCF = image_to_color_filter(origPaint)) { in AutoLayerForImageFilter() 382 SkPaint* paint = fLazyPaint.set(origPaint); in AutoLayerForImageFilter() 420 SkPaint* paint = fLazyPaint.set(origPaint); in AutoLayerForImageFilter() 2016 LatticePaint(const SkPaint* origPaint) : fPaint(origPaint) { in LatticePaint() argument 2017 if (!origPaint) { in LatticePaint() 2020 if (origPaint->getFilterQuality() > kLow_SkFilterQuality) { in LatticePaint() 2023 if (origPaint->getMaskFilter()) { in LatticePaint() 2026 if (origPaint->isAntiAlias()) { in LatticePaint()
|
D | SkBlitter.cpp | 688 const SkPaint& origPaint, in Choose() argument 698 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in Choose()
|
/external/skqp/src/core/ |
D | SkDraw.cpp | 41 const SkPaint& origPaint, const SkBitmap& bitmap, SkMatrix* matrix = nullptr) { in make_paint_with_image() argument 42 SkPaint paint(origPaint); in make_paint_with_image() 883 void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint, in drawPath() argument 903 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style) { in drawPath() 920 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath() 924 if (SkDrawTreatAsHairline(origPaint, *matrix, &coverage)) { in drawPath() 927 } else if (SkBlendMode_SupportsCoverageAsAlpha(origPaint.getBlendMode())) { in drawPath() 931 origPaint.getAlpha())); in drawPath() 937 newAlpha = origPaint.getAlpha() * scale >> 8; in drawPath() 1065 const SkRect* dstBounds, const SkPaint& origPaint) const { in drawBitmap() [all …]
|
D | SkBitmapDevice.cpp | 566 void SkBitmapDevice::drawDevice(SkBaseDevice* device, int x, int y, const SkPaint& origPaint) { in drawDevice() argument 567 SkASSERT(!origPaint.getImageFilter()); in drawDevice() 570 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawDevice() 582 SkPaint paint(origPaint); in drawDevice() 618 void SkBitmapDevice::drawSpecial(SkSpecialImage* src, int x, int y, const SkPaint& origPaint, in drawSpecial() argument 623 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawSpecial()
|
D | SkCanvas.cpp | 1808 LatticePaint(const SkPaint* origPaint) : fPaint(origPaint) { in LatticePaint() argument 1809 if (!origPaint) { in LatticePaint() 1812 if (origPaint->getFilterQuality() > kLow_SkFilterQuality) { in LatticePaint() 1815 if (origPaint->getMaskFilter()) { in LatticePaint() 1818 if (origPaint->isAntiAlias()) { in LatticePaint()
|
D | SkBlitter.cpp | 791 const SkPaint& origPaint, in Choose() argument 801 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in Choose()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 550 const SkPaint& origPaint) { in drawStrokedLine() argument 555 SkASSERT(SkPaint::kRound_Cap != origPaint.getStrokeCap()); in drawStrokedLine() 556 SkASSERT(SkPaint::kStroke_Style == origPaint.getStyle()); in drawStrokedLine() 557 SkASSERT(!origPaint.getPathEffect()); in drawStrokedLine() 558 SkASSERT(!origPaint.getMaskFilter()); in drawStrokedLine() 560 const SkScalar halfWidth = 0.5f * origPaint.getStrokeWidth(); in drawStrokedLine() 571 SkPaint newPaint(origPaint); in drawStrokedLine() 575 if (SkPaint::kButt_Cap != origPaint.getStrokeCap()) { in drawStrokedLine() 825 const SkPaint& origPaint, in drawTiledBitmap() argument 833 LogDrawScaleFactor(viewMatrix, SkMatrix::I(), origPaint.getFilterQuality()); in drawTiledBitmap() [all …]
|
/external/skia/gm/ |
D | strokes.cpp | 400 SkPaint origPaint; in onDraw() local 401 origPaint.setAntiAlias(true); in onDraw() 402 origPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 403 SkPaint fillPaint(origPaint); in onDraw() 405 SkPaint strokePaint(origPaint); in onDraw() 427 canvas->drawPath(orig, origPaint); in onDraw()
|
/external/skqp/src/gpu/ |
D | SkGpuDevice.cpp | 565 const SkPaint& origPaint) { in drawStrokedLine() argument 570 SkASSERT(SkPaint::kRound_Cap != origPaint.getStrokeCap()); in drawStrokedLine() 571 SkASSERT(SkPaint::kStroke_Style == origPaint.getStyle()); in drawStrokedLine() 572 SkASSERT(!origPaint.getPathEffect()); in drawStrokedLine() 573 SkASSERT(!origPaint.getMaskFilter()); in drawStrokedLine() 575 const SkScalar halfWidth = 0.5f * origPaint.getStrokeWidth(); in drawStrokedLine() 586 SkPaint newPaint(origPaint); in drawStrokedLine() 590 if (SkPaint::kButt_Cap != origPaint.getStrokeCap()) { in drawStrokedLine() 893 const SkPaint& origPaint, in drawTiledBitmap() argument 901 LogDrawScaleFactor(viewMatrix, origPaint.getFilterQuality()); in drawTiledBitmap() [all …]
|
/external/skqp/gm/ |
D | strokes.cpp | 387 SkPaint origPaint; in onDraw() local 388 origPaint.setAntiAlias(true); in onDraw() 389 origPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 390 SkPaint fillPaint(origPaint); in onDraw() 392 SkPaint strokePaint(origPaint); in onDraw() 414 canvas->drawPath(orig, origPaint); in onDraw()
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 1145 void SkXPSDevice::drawPaint(const SkPaint& origPaint) { in drawPaint() argument 1149 SkPaint* fillPaint = const_cast<SkPaint*>(&origPaint); in drawPaint() 1150 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPaint() 1483 const SkPaint& origPaint, in drawPath() argument 1485 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
|
/external/skqp/src/xps/ |
D | SkXPSDevice.cpp | 1167 void SkXPSDevice::drawPaint(const SkPaint& origPaint) { in drawPaint() argument 1171 SkPaint* fillPaint = const_cast<SkPaint*>(&origPaint); in drawPaint() 1172 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPaint() 1505 const SkPaint& origPaint, in drawPath() argument 1507 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 466 const SkPaint& origPaint) { in internalDrawPathWithFilter() argument 467 SkASSERT(origPaint.getMaskFilter()); in internalDrawPathWithFilter() 469 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in internalDrawPathWithFilter()
|
/external/oss-fuzz/projects/skia/ |
D | skia.diff | 36 @@ -959,6 +959,12 @@ void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint,
|
/external/skqp/src/pdf/ |
D | SkPDFDevice.cpp | 729 const SkPaint& origPaint) { in internalDrawPathWithFilter() argument 730 SkASSERT(origPaint.getMaskFilter()); in internalDrawPathWithFilter() 732 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in internalDrawPathWithFilter()
|