Home
last modified time | relevance | path

Searched refs:setPathEffect (Results 1 – 25 of 42) sorted by relevance

12

/external/skia/gm/
Dbug530095.cpp23 paint.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, -40))->unref();
29 paint.setPathEffect(SkDashPathEffect::Create(smIntervals, smIntervalCount, -0.40f))->unref();
37 paint.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, 0))->unref();
44 paint.setPathEffect(SkDashPathEffect::Create(smIntervals, smIntervalCount, 0))->unref();
Dpatheffects.cpp28 paint->setPathEffect(compose)->unref(); in compose_pe()
48 paint->setPathEffect(SkDashPathEffect::Create(inter, SK_ARRAY_COUNT(inter), in dash_pe()
72 paint->setPathEffect(SkPath1DPathEffect::Create(path, SkIntToScalar(21), 0, in one_d_pe()
82 paint->setPathEffect(nullptr); in fill_pe()
86 paint->setPathEffect(SkDiscretePathEffect::Create(10, 4))->unref(); in discrete_pe()
100 paint->setPathEffect(MakeTileEffect())->unref(); in tile_pe()
Ddashcubics.cpp30 paint.setPathEffect(pe)->unref(); in flower()
34 paint.setPathEffect(nullptr); in flower()
Dtexteffects.cpp80 p.setPathEffect(SkDiscretePathEffect::Create(SK_Scalar1*4, SK_Scalar1*3))->unref(); in r5()
108 p.setPathEffect(MakeDotEffect(SK_Scalar1*4, lattice))->unref(); in r7()
118 p.setPathEffect(MakeDotEffect(SK_Scalar1*2, lattice))->unref(); in r8()
122 p.setPathEffect(nullptr); in r8()
135 p.setPathEffect(SkLine2DPathEffect::Create(SK_Scalar1*2, lattice))->unref(); in r9()
139 p.setPathEffect(nullptr); in r9()
Ddashing.cpp24 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); in drawline()
177 paint.setPathEffect(SkDashPathEffect::Create(vals, count, phase))->unref(); in onDraw()
225 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); in drawDashedLines()
501 p.setPathEffect(SkDashPathEffect::Create(intervals, SK_ARRAY_COUNT(intervals), 0))->unref();
512 p.setPathEffect(SkDashPathEffect::Create(intervals, SK_ARRAY_COUNT(intervals), 0))->unref();
Dstroketext.cpp58 p.setPathEffect(SkDashPathEffect::Create(intervals, SK_ARRAY_COUNT(intervals), phase))->unref(); in draw_text_set()
Ddashcircle.cpp71 p.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, 0))->unref();
Dpathcontourstart.cpp36 fDashPaint.setPathEffect(effect); in ContourStartGM()
/external/skia/samplecode/
DSampleSlides.cpp42 paint->setPathEffect(compose)->unref(); in compose_pe()
62 paint->setPathEffect(SkDashPathEffect::Create(inter, SK_ARRAY_COUNT(inter), in dash_pe()
86 paint->setPathEffect(SkPath1DPathEffect::Create(path, SkIntToScalar(21), 0, in one_d_pe()
96 paint->setPathEffect(nullptr); in fill_pe()
100 paint->setPathEffect(SkDiscretePathEffect::Create(10, 4))->unref(); in discrete_pe()
114 paint->setPathEffect(MakeTileEffect())->unref(); in tile_pe()
543 p.setPathEffect(SkDiscretePathEffect::Create(SK_Scalar1*4, SK_Scalar1*3))->unref(); in r5()
573 p.setPathEffect(MakeDotEffect(SK_Scalar1*4, lattice))->unref(); in r7()
584 p.setPathEffect(MakeDotEffect(SK_Scalar1*2, lattice))->unref(); in r8()
588 p.setPathEffect(nullptr); in r8()
[all …]
DSamplePathEffects.cpp146 paint.setPathEffect(make_pe(2, fPhase))->unref(); in onDrawContent()
152 paint.setPathEffect(make_pe(3, fPhase))->unref(); in onDrawContent()
158 paint.setPathEffect(make_warp_pe(fPhase))->unref(); in onDrawContent()
DSampleDash.cpp74 paint.setPathEffect(&dash); in onDrawContent()
76 paint.setPathEffect(nullptr); in onDrawContent()
DSampleAll.cpp144 p.setPathEffect(SkDiscretePathEffect::Create(SK_Scalar1*4, SK_Scalar1*3))->unref(); in r5()
187 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*4, lattice))->unref(); in r7()
197 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*2, lattice))->unref(); in r8()
201 p.setPathEffect(nullptr); in r8()
214 p.setPathEffect(SkLine2DPathEffect::Create(SK_Scalar1*2, lattice))->unref(); in r9()
218 p.setPathEffect(nullptr); in r9()
419 paint.setPathEffect(pathEffectTest())->unref(); in drawPicture()
421 paint.setPathEffect(nullptr); in drawPicture()
DClockFaceView.cpp144 p.setPathEffect(makepe(SkScalarToFloat(interp), nullptr))->unref(); in r7()
147 p.setPathEffect(new InverseFillPE())->unref(); in r7()
DSamplePath.cpp257 fArcToPaint.setPathEffect(SkArcToPathEffect::Create(rad))->unref(); in ArcToView()
263 fCornerPaint.setPathEffect(SkCornerPathEffect::Create(rad*2))->unref(); in ArcToView()
/external/skia/bench/
DDashBench.cpp75 paint.setPathEffect(SkDashPathEffect::Create(fIntervals.begin(), in onDraw()
123 p.setPathEffect(nullptr); in handlePath()
240 paint.setPathEffect(fPE); in onDraw()
280 p.setPathEffect(fPathEffect); in onDraw()
365 p.setPathEffect(fPathEffect); in onDraw()
406 p.setPathEffect(fPathEffect); in onDraw()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DTimeSeriesActivity.java61 setPathEffect(new DashPathEffect(new float[]{1, 1}, 1)); in onCreate()
64 setPathEffect(new DashPathEffect(new float[]{1, 1}, 1)); in onCreate()
DStepChartExampleActivity.java61 …mySimpleXYPlot.getGraphWidget().getDomainGridLinePaint().setPathEffect(new DashPathEffect(new floa… in onCreate()
63 …mySimpleXYPlot.getGraphWidget().getRangeGridLinePaint().setPathEffect(new DashPathEffect(new float… in onCreate()
DXYPlotWithBgImgActivity.java36 …plot.getGraphWidget().getDomainGridLinePaint().setPathEffect(new DashPathEffect(new float[]{3, 3},… in onCreate()
38 …plot.getGraphWidget().getRangeGridLinePaint().setPathEffect(new DashPathEffect(new float[]{3, 3}, … in onCreate()
DDynamicXYPlotActivity.java106 dynamicPlot.getGraphWidget().getDomainGridLinePaint().setPathEffect(dashFx); in onCreate()
107 dynamicPlot.getGraphWidget().getRangeGridLinePaint().setPathEffect(dashFx); in onCreate()
DXYRegionExampleActivity.java389 fenwayLfMarker.getLinePaint().setPathEffect(dpe); in markerSetup()
390 attRfMarker.getLinePaint().setPathEffect(dpe); in markerSetup()
/external/skia/site/user/api/
Dskpaint.md544 paint.setPathEffect(pathEffect);
567 paint.setPathEffect(pe);
589 paint.setPathEffect(pe);
621 paint.setPathEffect(pe);
640 paint.setPathEffect(pe);
661 paint.setPathEffect(pe);
681 paint.setPathEffect(pe);
708 paint.setPathEffect(pe);
732 paint.setPathEffect(pe);
/external/skia/src/animator/
DSkDrawPaint.cpp234 paint->setPathEffect(nullptr); in setupPaint()
236 SkSafeUnref(paint->setPathEffect(pathEffect->getPathEffect())); in setupPaint()
/external/skia/tests/
DDrawPathTest.cpp289 paint.setPathEffect(dash); in test_infinite_dash()
308 paint.setPathEffect(dash); in test_crbug_165432()
DDashPathEffectTest.cpp102 paint.setPathEffect(dash); in DEF_TEST()
DGpuDrawPathTest.cpp55 paint.setPathEffect(effect); in fill_and_stroke()

12