/external/skqp/src/gpu/text/ |
D | GrTextUtils.cpp | 109 const SkPaint& origPaint, const SkMatrix& viewMatrix, in DrawBigPosText() argument 113 if (!origPaint.countText(text, byteLength)) { in DrawBigPosText() 117 SkPaint paint(origPaint); in DrawBigPosText() 138 paint.setStyle(origPaint.getStyle()); in DrawBigPosText() 139 paint.setPathEffect(origPaint.refPathEffect()); in DrawBigPosText()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPaintTest.java | 78 Paint origPaint = new Paint(); in createPaintFromPaint() local 79 assertThat(new Paint(origPaint).getTextLocale()).isSameAs(origPaint.getTextLocale()); in createPaintFromPaint()
|
/external/skia/src/core/ |
D | SkDraw.cpp | 42 const SkPaint& origPaint, const SkBitmap& bitmap, SkMatrix* matrix = nullptr) { in make_paint_with_image() argument 43 SkPaint paint(origPaint); in make_paint_with_image() 1055 void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint, in drawPath() argument 1081 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style) { in drawPath() 1098 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath() 1102 if (SkDrawTreatAsHairline(origPaint, *matrix, &coverage)) { in drawPath() 1105 } else if (SkBlendMode_SupportsCoverageAsAlpha(origPaint.getBlendMode())) { in drawPath() 1109 origPaint.getAlpha())); in drawPath() 1115 newAlpha = origPaint.getAlpha() * scale >> 8; in drawPath() 1242 const SkRect* dstBounds, const SkPaint& origPaint) const { in drawBitmap() [all …]
|
D | SkBitmapDevice.cpp | 378 void SkBitmapDevice::drawDevice(SkBaseDevice* device, int x, int y, const SkPaint& origPaint) { in drawDevice() argument 379 SkASSERT(!origPaint.getImageFilter()); in drawDevice() 382 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawDevice() 416 void SkBitmapDevice::drawSpecial(SkSpecialImage* src, int x, int y, const SkPaint& origPaint, in drawSpecial() argument 421 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawSpecial()
|
D | SkBlitter.cpp | 932 const SkPaint& origPaint, in Choose() argument 944 auto* shader = as_SB(origPaint.getShader()); in Choose() 945 SkColorFilter* cf = origPaint.getColorFilter(); in Choose() 946 SkBlendMode mode = origPaint.getBlendMode(); in Choose() 949 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in Choose() 951 if (origPaint.getMaskFilter() != nullptr && in Choose() 952 as_MFB(origPaint.getMaskFilter())->getFormat() == SkMask::k3D_Format) { in Choose()
|
D | SkCanvas.cpp | 1800 NoneOrLowQualityFilterPaint(const SkPaint* origPaint) { in NoneOrLowQualityFilterPaint() argument 1801 if (origPaint && origPaint->getFilterQuality() > kLow_SkFilterQuality) { in NoneOrLowQualityFilterPaint() 1802 fLazyPaint.set(*origPaint); in NoneOrLowQualityFilterPaint() 1806 fPaint = origPaint; in NoneOrLowQualityFilterPaint()
|
/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() 1036 void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint, in drawPath() argument 1054 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style) { in drawPath() 1071 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath() 1075 if (SkDrawTreatAsHairline(origPaint, *matrix, &coverage)) { in drawPath() 1078 } else if (SkBlendMode_SupportsCoverageAsAlpha(origPaint.getBlendMode())) { in drawPath() 1082 origPaint.getAlpha())); in drawPath() 1088 newAlpha = origPaint.getAlpha() * scale >> 8; in drawPath() 1215 const SkRect* dstBounds, const SkPaint& origPaint) const { in drawBitmap() [all …]
|
D | SkBlitter.cpp | 929 const SkPaint& origPaint, in Choose() argument 941 auto* shader = as_SB(origPaint.getShader()); in Choose() 942 SkColorFilter* cf = origPaint.getColorFilter(); in Choose() 943 SkBlendMode mode = origPaint.getBlendMode(); in Choose() 946 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in Choose() 948 if (origPaint.getMaskFilter() != nullptr && in Choose() 949 as_MFB(origPaint.getMaskFilter())->getFormat() == SkMask::k3D_Format) { in Choose()
|
D | SkBitmapDevice.cpp | 409 void SkBitmapDevice::drawSpecial(SkSpecialImage* src, int x, int y, const SkPaint& origPaint, in drawSpecial() argument 414 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawSpecial()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 555 const SkPaint& origPaint) { in drawStrokedLine() argument 560 SkASSERT(SkPaint::kRound_Cap != origPaint.getStrokeCap()); in drawStrokedLine() 561 SkASSERT(SkPaint::kStroke_Style == origPaint.getStyle()); in drawStrokedLine() 562 SkASSERT(!origPaint.getPathEffect()); in drawStrokedLine() 563 SkASSERT(!origPaint.getMaskFilter()); in drawStrokedLine() 565 const SkScalar halfWidth = 0.5f * origPaint.getStrokeWidth(); in drawStrokedLine() 576 SkPaint newPaint(origPaint); in drawStrokedLine() 580 if (SkPaint::kButt_Cap != origPaint.getStrokeCap()) { in drawStrokedLine() 882 const SkPaint& origPaint, in drawTiledBitmap() argument 890 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()
|
D | textbloblooper.cpp | 28 static void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint, in add_to_text_blob() argument 30 SkPaint paint(origPaint); in add_to_text_blob()
|
D | imagefiltersbase.cpp | 265 void drawWaterfall(SkCanvas* canvas, const SkPaint& origPaint) { in drawWaterfall() argument 271 SkPaint paint(origPaint); in drawWaterfall()
|
/external/skqp/src/gpu/ |
D | SkGpuDevice.cpp | 559 const SkPaint& origPaint) { in drawStrokedLine() argument 564 SkASSERT(SkPaint::kRound_Cap != origPaint.getStrokeCap()); in drawStrokedLine() 565 SkASSERT(SkPaint::kStroke_Style == origPaint.getStyle()); in drawStrokedLine() 566 SkASSERT(!origPaint.getPathEffect()); in drawStrokedLine() 567 SkASSERT(!origPaint.getMaskFilter()); in drawStrokedLine() 569 const SkScalar halfWidth = 0.5f * origPaint.getStrokeWidth(); in drawStrokedLine() 580 SkPaint newPaint(origPaint); in drawStrokedLine() 584 if (SkPaint::kButt_Cap != origPaint.getStrokeCap()) { in drawStrokedLine() 884 const SkPaint& origPaint, in drawTiledBitmap() argument 892 LogDrawScaleFactor(viewMatrix, origPaint.getFilterQuality()); in drawTiledBitmap() [all …]
|
/external/skqp/tools/ |
D | sk_tool_utils.h | 122 const SkPaint& origPaint, SkScalar x, SkScalar y); 125 const SkPaint& origPaint, SkScalar x, SkScalar y);
|
D | sk_tool_utils.cpp | 183 const SkPaint& origPaint, SkScalar x, SkScalar y) { in add_to_text_blob_w_len() argument 184 SkPaint paint(origPaint); in add_to_text_blob_w_len() 197 const SkPaint& origPaint, SkScalar x, SkScalar y) { in add_to_text_blob() argument 198 add_to_text_blob_w_len(builder, text, strlen(text), origPaint, x, y); in add_to_text_blob()
|
/external/skia/tools/ |
D | sk_tool_utils.h | 125 const SkPaint& origPaint, SkScalar x, SkScalar y); 128 const SkPaint& origPaint, SkScalar x, SkScalar y);
|
D | sk_tool_utils.cpp | 123 const SkPaint& origPaint, SkScalar x, SkScalar y) { in add_to_text_blob_w_len() argument 124 SkPaint paint(origPaint); in add_to_text_blob_w_len() 137 const SkPaint& origPaint, SkScalar x, SkScalar y) { in add_to_text_blob() argument 138 add_to_text_blob_w_len(builder, text, strlen(text), origPaint, x, y); in add_to_text_blob()
|
/external/skia/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()
|
D | textbloblooper.cpp | 28 static void add_to_text_blob(SkTextBlobBuilder* builder, const char* text, const SkPaint& origPaint, in add_to_text_blob() argument 30 SkPaint paint(origPaint); in add_to_text_blob()
|
D | imagefiltersbase.cpp | 265 void drawWaterfall(SkCanvas* canvas, const SkPaint& origPaint) { in drawWaterfall() argument 271 SkPaint paint(origPaint); in drawWaterfall()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextContext.cpp | 447 const GrTextUtils::Paint& origPaint, in DrawBmpTextAsPaths() argument 457 SkPaint pathPaint(origPaint); in DrawBmpTextAsPaths() 478 fallbackTextHelper.drawText(blob, runIndex, glyphCache, props, origPaint, scalerContextFlags); in DrawBmpTextAsPaths() 484 const GrTextUtils::Paint& origPaint, in DrawBmpPosTextAsPaths() argument 498 SkPaint pathPaint(origPaint); in DrawBmpPosTextAsPaths() 500 FallbackTextHelper fallbackTextHelper(viewMatrix, origPaint, glyphCache, matrixScale); in DrawBmpPosTextAsPaths() 537 fallbackTextHelper.drawText(blob, runIndex, glyphCache, props, origPaint, scalerContextFlags); in DrawBmpPosTextAsPaths()
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 1162 void SkXPSDevice::drawPaint(const SkPaint& origPaint) { in drawPaint() argument 1166 SkPaint* fillPaint = const_cast<SkPaint*>(&origPaint); in drawPaint() 1167 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPaint() 1500 const SkPaint& origPaint, in drawPath() argument 1503 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
|
/external/skqp/src/xps/ |
D | SkXPSDevice.cpp | 1162 void SkXPSDevice::drawPaint(const SkPaint& origPaint) { in drawPaint() argument 1166 SkPaint* fillPaint = const_cast<SkPaint*>(&origPaint); in drawPaint() 1167 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPaint() 1500 const SkPaint& origPaint, in drawPath() argument 1503 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 818 const SkPaint& origPaint, in internalDrawPathWithFilter() argument 820 SkASSERT(origPaint.getMaskFilter()); in internalDrawPathWithFilter() 822 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in internalDrawPathWithFilter()
|