Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java214 Paint paint1 = new Paint(); in drawCircle_shouldRecordCirclePaintHistoryEvents() local
216 canvas.drawCircle(4, 5, 6, paint1); in drawCircle_shouldRecordCirclePaintHistoryEvents()
227 assertThat(shadowCanvas.getDrawnCircle(1).paint).isSameAs(paint1); in drawCircle_shouldRecordCirclePaintHistoryEvents()
236 Paint paint1 = new Paint(); in drawArc_shouldRecordArcHistoryEvents() local
238 canvas.drawArc(oval1, 3f, 4f, false, paint1); in drawArc_shouldRecordArcHistoryEvents()
251 assertThat(shadowCanvas.getDrawnArc(1).paint).isSameAs(paint1); in drawArc_shouldRecordArcHistoryEvents()
296 Paint paint1 = new Paint(); in drawLine_shouldRecordLineHistoryEvents() local
297 paint1.setColor(Color.WHITE); in drawLine_shouldRecordLineHistoryEvents()
298 paint1.setStrokeWidth(2.0f); in drawLine_shouldRecordLineHistoryEvents()
301 canvas.drawLine(5f, 6f, 7f, 8f, paint1); in drawLine_shouldRecordLineHistoryEvents()
[all …]
/external/skqp/src/gpu/effects/
DGrConfigConversionEffect.h80 GrPaint paint1; in TestForPreservingPMConversions() local
88 paint1.addColorTextureProcessor(dataProxy, SkMatrix::I()); in TestForPreservingPMConversions()
89 paint1.addColorFragmentProcessor(pmToUPM->clone()); in TestForPreservingPMConversions()
90 paint1.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
92 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
DGrConfigConversionEffect.fp76 GrPaint paint1;
84 paint1.addColorTextureProcessor(dataProxy, SkMatrix::I());
85 paint1.addColorFragmentProcessor(pmToUPM->clone());
86 paint1.setPorterDuffXPFactory(SkBlendMode::kSrc);
88 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect,
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.h80 GrPaint paint1; in TestForPreservingPMConversions() local
88 paint1.addColorTextureProcessor(dataProxy, SkMatrix::I()); in TestForPreservingPMConversions()
89 paint1.addColorFragmentProcessor(pmToUPM->clone()); in TestForPreservingPMConversions()
90 paint1.setPorterDuffXPFactory(SkBlendMode::kSrc); in TestForPreservingPMConversions()
92 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions()
DGrConfigConversionEffect.fp76 GrPaint paint1;
84 paint1.addColorTextureProcessor(dataProxy, SkMatrix::I());
85 paint1.addColorFragmentProcessor(pmToUPM->clone());
86 paint1.setPorterDuffXPFactory(SkBlendMode::kSrc);
88 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect,
/external/skqp/docs/
DSkPaint_Reference.bmh154 SkPaint paint1;
155 paint1.setColor(SK_ColorRED);
156 SkPaint paint2(paint1);
158 SkDebugf("SK_ColorRED %c= paint1.getColor()\n", SK_ColorRED == paint1.getColor() ? '=' : '!');
162 SK_ColorRED == paint1.getColor()
206 SkPaint paint1, paint2;
207 paint1.setColor(SK_ColorRED);
208 paint1.reset();
209 SkDebugf("paint1 %c= paint2", paint1 == paint2 ? '=' : '!');
212 paint1 == paint2
[all …]
/external/skia/docs/
DSkPaint_Reference.bmh154 SkPaint paint1;
155 paint1.setColor(SK_ColorRED);
156 SkPaint paint2(paint1);
158 SkDebugf("SK_ColorRED %c= paint1.getColor()\n", SK_ColorRED == paint1.getColor() ? '=' : '!');
162 SK_ColorRED == paint1.getColor()
206 SkPaint paint1, paint2;
207 paint1.setColor(SK_ColorRED);
208 paint1.reset();
209 SkDebugf("paint1 %c= paint2", paint1 == paint2 ? '=' : '!');
212 paint1 == paint2
[all …]
/external/skqp/gm/
Daaclip.cpp28 SkPaint paint0, paint1; in test_cubic() local
30 paint1.setAntiAlias(true); in test_cubic()
50 canvas->drawPoints(SkCanvas::kPolygon_PointMode, N+1, tmp1, paint1); in test_cubic()
53 canvas->drawPoints(SkCanvas::kPolygon_PointMode, N+1, tmp2, paint1); in test_cubic()
Dsavelayer.cpp88 SkPaint paint1, paint2, paint3; local
89 paint1.setAlpha(0x7f);
97 canvas->saveLayer({ &rect1, &paint1, nullptr, nullptr, nullptr, flag});
Dgradients.cpp561 SkPaint paint1, paint2, paint3; in onDraw() local
562 paint1.setStyle(SkPaint::kFill_Style); in onDraw()
580 paint1.setShader(SkGradientShader::MakeSweep(cx, cy, sweep_colors, in onDraw()
591 paint1.setDither(fDither); in onDraw()
595 canvas->drawCircle(cx, cy, radius, paint1); in onDraw()
/external/skia/gm/
Daaclip.cpp28 SkPaint paint0, paint1; in test_cubic() local
30 paint1.setAntiAlias(true); in test_cubic()
50 canvas->drawPoints(SkCanvas::kPolygon_PointMode, N+1, tmp1, paint1); in test_cubic()
53 canvas->drawPoints(SkCanvas::kPolygon_PointMode, N+1, tmp2, paint1); in test_cubic()
Dsavelayer.cpp88 SkPaint paint1, paint2, paint3; local
89 paint1.setAlpha(0x7f);
97 canvas->saveLayer({ &rect1, &paint1, nullptr, nullptr, nullptr, flag});
Dgradients.cpp561 SkPaint paint1, paint2, paint3; in onDraw() local
562 paint1.setStyle(SkPaint::kFill_Style); in onDraw()
580 paint1.setShader(SkGradientShader::MakeSweep(cx, cy, sweep_colors, in onDraw()
591 paint1.setDither(fDither); in onDraw()
595 canvas->drawCircle(cx, cy, radius, paint1); in onDraw()
/external/skqp/site/user/api/
DSkPaint_Reference.md338 SK_ColorRED == paint1.getColor()
400 paint1 == paint2
454 SK_ColorRED == paint1.getColor()
532 paint1 == paint2
533 paint1 != paint2
571 paint1 == paint2
572 paint1 == paint2
607 paint1 == paint2
608 paint1.getHash() == paint2.getHash()
780 paint1 == paint2
[all …]
/external/skia/site/user/api/
DSkPaint_Reference.md336 SK_ColorRED == paint1.getColor()
398 paint1 == paint2
452 SK_ColorRED == paint1.getColor()
530 paint1 == paint2
531 paint1 != paint2
569 paint1 == paint2
570 paint1 == paint2
605 paint1 == paint2
606 paint1.getHash() == paint2.getHash()
778 paint1 == paint2
[all …]