Home
last modified time | relevance | path

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

/external/skia/gm/
Dsamplerstress.cpp119 SkPaint paint2; in onDraw() local
120 paint2.setColor(SK_ColorBLACK); in onDraw()
121 paint2.setAntiAlias(true); in onDraw()
122 paint2.setStyle(SkPaint::kStroke_Style); in onDraw()
123 paint2.setStrokeWidth(1); in onDraw()
124 canvas->drawString("M", 100.0f, 100.0f, font, paint2); in onDraw()
126 paint2.setColor(SK_ColorGRAY); in onDraw()
128 canvas->drawPath(path, paint2); in onDraw()
Dcrbug_892988.cpp24 SkPaint paint2; variable
27 paint2.setColor(0xF0FFFFFF);
28 paint2.setBlendMode(SkBlendMode::kSrc);
29 paint2.setAntiAlias(true);
30 canvas->drawRect(SkRect::MakeLTRB(12, 1, 244, 244), paint2);
Dsavelayer.cpp88 SkPaint paint1, paint2, paint3; local
90 paint2.setAlphaf(0.25f);
99 canvas->saveLayer({ &rect2, &paint2, nullptr, nullptr, nullptr, flag});
Dgradients.cpp560 SkPaint paint1, paint2, paint3; in onDraw() local
562 paint2.setStyle(SkPaint::kFill_Style); in onDraw()
582 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, in onDraw()
591 paint2.setDither(fDither); in onDraw()
596 canvas->drawCircle(cx, cy, radius, paint2); in onDraw()
/external/skqp/gm/
Dsamplerstress.cpp119 SkPaint paint2; in onDraw() local
120 paint2.setColor(SK_ColorBLACK); in onDraw()
121 paint2.setAntiAlias(true); in onDraw()
122 paint2.setStyle(SkPaint::kStroke_Style); in onDraw()
123 paint2.setStrokeWidth(1); in onDraw()
124 canvas->drawString("M", 100.0f, 100.0f, font, paint2); in onDraw()
126 paint2.setColor(SK_ColorGRAY); in onDraw()
128 canvas->drawPath(path, paint2); in onDraw()
Dcrbug_892988.cpp24 SkPaint paint2; variable
27 paint2.setColor(0xF0FFFFFF);
28 paint2.setBlendMode(SkBlendMode::kSrc);
29 paint2.setAntiAlias(true);
30 canvas->drawRect(SkRect::MakeLTRB(12, 1, 244, 244), paint2);
Dsavelayer.cpp88 SkPaint paint1, paint2, paint3; local
90 paint2.setAlpha(0x3f);
99 canvas->saveLayer({ &rect2, &paint2, nullptr, nullptr, nullptr, flag});
Dgradients.cpp560 SkPaint paint1, paint2, paint3; in onDraw() local
562 paint2.setStyle(SkPaint::kFill_Style); in onDraw()
582 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, in onDraw()
591 paint2.setDither(fDither); in onDraw()
596 canvas->drawCircle(cx, cy, radius, paint2); in onDraw()
/external/skqp/docs/
DSkPaint_Reference.bmh96 SkPaint paint2(paint1);
97 paint2.setColor(SK_ColorBLUE);
99 SkDebugf("SK_ColorBLUE %c= paint2.getColor()\n", SK_ColorBLUE == paint2.getColor() ? '=' : '!');
103 SK_ColorBLUE == paint2.getColor()
135 SkPaint paint1, paint2;
138 SkDebugf("paint1 %c= paint2", paint1 == paint2 ? '=' : '!');
141 paint1 == paint2
171 SkPaint paint1, paint2;
173 paint2 = paint1;
175 SkDebugf("SK_ColorRED %c= paint2.getColor()\n", SK_ColorRED == paint2.getColor() ? '=' : '!');
[all …]
/external/skia/docs/
DSkPaint_Reference.bmh94 SkPaint paint2(paint1);
95 paint2.setColor(SK_ColorBLUE);
97 SkDebugf("SK_ColorBLUE %c= paint2.getColor()\n", SK_ColorBLUE == paint2.getColor() ? '=' : '!');
101 SK_ColorBLUE == paint2.getColor()
133 SkPaint paint1, paint2;
136 SkDebugf("paint1 %c= paint2", paint1 == paint2 ? '=' : '!');
139 paint1 == paint2
169 SkPaint paint1, paint2;
171 paint2 = paint1;
173 SkDebugf("SK_ColorRED %c= paint2.getColor()\n", SK_ColorRED == paint2.getColor() ? '=' : '!');
[all …]
/external/skqp/src/gpu/effects/
DGrConfigConversionEffect.h86 GrPaint paint2; in TestForPreservingPMConversions() local
107 paint2.addColorTextureProcessor(readRTC->asTextureProxyRef(), SkMatrix::I()); in TestForPreservingPMConversions()
108 paint2.addColorFragmentProcessor(std::move(upmToPM)); in TestForPreservingPMConversions()
109 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
111 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
DGrConfigConversionEffect.fp86 GrPaint paint2;
107 paint2.addColorTextureProcessor(readRTC->asTextureProxyRef(), SkMatrix::I());
108 paint2.addColorFragmentProcessor(std::move(upmToPM));
109 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc);
111 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect,
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.h86 GrPaint paint2; in TestForPreservingPMConversions() local
107 paint2.addColorTextureProcessor(readRTC->asTextureProxyRef(), SkMatrix::I()); in TestForPreservingPMConversions()
108 paint2.addColorFragmentProcessor(std::move(upmToPM)); in TestForPreservingPMConversions()
109 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
111 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
DGrConfigConversionEffect.fp86 GrPaint paint2;
107 paint2.addColorTextureProcessor(readRTC->asTextureProxyRef(), SkMatrix::I());
108 paint2.addColorFragmentProcessor(std::move(upmToPM));
109 paint2.setPorterDuffXPFactory(SkBlendMode::kSrc);
111 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect,
/external/skqp/tests/
DRefCntTest.cpp195 Paint paint2; in DEF_TEST() local
196 paint2.set(paint.get()); in DEF_TEST()
210 paint2.set(nullptr); in DEF_TEST()
DPaintTest.cpp237 SkPaint paint2; in DEF_TEST() local
238 SkPaintPriv::Unflatten(&paint2, reader, nullptr); in DEF_TEST()
239 REPORTER_ASSERT(reporter, paint2 == paint); in DEF_TEST()
/external/skia/tests/
DRefCntTest.cpp195 Paint paint2; in DEF_TEST() local
196 paint2.set(paint.get()); in DEF_TEST()
210 paint2.set(nullptr); in DEF_TEST()
DPaintTest.cpp237 SkPaint paint2; in DEF_TEST() local
238 SkPaintPriv::Unflatten(&paint2, reader, nullptr); in DEF_TEST()
239 REPORTER_ASSERT(reporter, paint2 == paint); in DEF_TEST()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java189 Paint paint2 = new Paint(); in shouldRecordText() local
191 paint2.setColor(5); in shouldRecordText()
193 canvas.drawText("hello 2", 4, 6, paint2); in shouldRecordText()
204 assertEquals(paint2, shadowCanvas.getDrawnTextEvent(1).paint); in shouldRecordText()
/external/skqp/samplecode/
DSamplePath.cpp669 SkPaint paint2(paint); in showFlattness() local
670 paint2.setColor(0xFF008800); in showFlattness()
693 canvas->drawLine(anchor, anchor + v, paint2); in showFlattness()
697 canvas->drawLine(anchor, anchor + v, paint2); in showFlattness()
/external/skia/samplecode/
DSamplePath.cpp669 SkPaint paint2(paint); in showFlattness() local
670 paint2.setColor(0xFF008800); in showFlattness()
693 canvas->drawLine(anchor, anchor + v, paint2); in showFlattness()
697 canvas->drawLine(anchor, anchor + v, paint2); in showFlattness()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDumbTextComponent.java511 paint2(cacheImage.getGraphics()); in paint()
522 public void paint2(Graphics g) { in paint2() method in DumbTextComponent
/external/skia/site/user/api/
DSkPaint_Reference.md276 SK_ColorBLUE == paint2.getColor()
335 paint1 == paint2
388 SK_ColorRED == paint2.getColor()
426 SK_ColorRED == paint2.getColor()
464 paint1 == paint2
465 paint1 != paint2
507 paint1 == paint2
508 paint1 == paint2
546 paint1 == paint2
547 paint1.getHash() == paint2.getHash()
[all …]
/external/skqp/site/user/api/
DSkPaint_Reference.md276 SK_ColorBLUE == paint2.getColor()
335 paint1 == paint2
388 SK_ColorRED == paint2.getColor()
426 SK_ColorRED == paint2.getColor()
464 paint1 == paint2
465 paint1 != paint2
507 paint1 == paint2
508 paint1 == paint2
546 paint1 == paint2
547 paint1.getHash() == paint2.getHash()
[all …]