Home
last modified time | relevance | path

Searched refs:linePaint (Results 1 – 16 of 16) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DValueMarker.java42 private Paint linePaint; field in ValueMarker
51 linePaint = new Paint();
52 linePaint.setColor(Color.RED);
53 linePaint.setAntiAlias(true);
54 linePaint.setStyle(Paint.Style.STROKE);
78 …public ValueMarker(Number value, String text, PositionMetricType textPosition, Paint linePaint, Pa… in ValueMarker() argument
81 this.linePaint = linePaint; in ValueMarker()
86 …public ValueMarker(Number value, String text, PositionMetricType textPosition, int linePaint, int … in ValueMarker() argument
88 this.linePaint.setColor(linePaint); in ValueMarker()
101 return linePaint; in getLinePaint()
[all …]
DLineAndPointFormatter.java57 protected Paint linePaint; field in LineAndPointFormatter
97 linePaint = null; in initLinePaint()
99 linePaint = new Paint(); in initLinePaint()
100 linePaint.setAntiAlias(true); in initLinePaint()
101 linePaint.setStrokeWidth(PixelUtils.dpToPix(DEFAULT_LINE_STROKE_WIDTH_DP)); in initLinePaint()
102 linePaint.setColor(lineColor); in initLinePaint()
103 linePaint.setStyle(Paint.Style.STROKE); in initLinePaint()
134 linePaint.setShadowLayer(1, 3, 3, Color.BLACK); in enableShadows()
139 linePaint.setShadowLayer(0, 0, 0, Color.BLACK); in disableShadows()
144 return linePaint; in getLinePaint()
[all …]
DYValueMarker.java43 …public YValueMarker(Number value, String text, XPositionMetric textPosition, Paint linePaint, Pain… in YValueMarker() argument
44 super(value, text, textPosition, linePaint, textPaint); in YValueMarker()
55 …public YValueMarker(Number value, String text, XPositionMetric textPosition, int linePaint, int te… in YValueMarker() argument
56 super(value, text, textPosition, linePaint, textPaint); in YValueMarker()
DXValueMarker.java42 …public XValueMarker(Number value, String text, YPositionMetric textPosition, Paint linePaint, Pain… in XValueMarker() argument
43 super(value, text, textPosition, linePaint, textPaint); in XValueMarker()
55 …public XValueMarker(Number value, String text, YPositionMetric textPosition, int linePaint, int te… in XValueMarker() argument
56 super(value, text, textPosition, linePaint, textPaint); in XValueMarker()
DXYGraphWidget.java452 Paint labelPaint, Paint linePaint, boolean drawLineOnly) { in drawDomainTick() argument
454 if (linePaint != null) { in drawDomainTick()
457 + domainLabelTickExtension, linePaint); in drawDomainTick()
460 gridRect.bottom , linePaint); in drawDomainTick()
476 } else if (linePaint != null) { in drawDomainTick()
479 linePaint); in drawDomainTick()
485 Paint labelPaint, Paint linePaint, boolean drawLineOnly) { in drawRangeTick() argument
487 if (linePaint != null) { in drawRangeTick()
490 gridRect.right, yPix, linePaint); in drawRangeTick()
493 gridRect.right + rangeLabelTickExtension, yPix, linePaint); in drawRangeTick()
[all …]
DLineAndPointRenderer.java83 Paint linePaint = formatter.getLinePaint(); in drawSeries() local
107 if(linePaint != null && thisPoint != null) { in drawSeries()
131 if(linePaint != null && firstPoint != null) { in drawSeries()
/external/skia/samplecode/
DSampleDegenerateQuads.cpp246 SkPaint linePaint; in onDrawContent() local
247 linePaint.setAntiAlias(true); in onDrawContent()
248 linePaint.setStyle(SkPaint::kStroke_Style); in onDrawContent()
249 linePaint.setStrokeWidth(4.f / kViewScale); in onDrawContent()
250 linePaint.setStrokeJoin(SkPaint::kRound_Join); in onDrawContent()
251 linePaint.setStrokeCap(SkPaint::kRound_Cap); in onDrawContent()
257 linePaint.setPathEffect(dots); in onDrawContent()
258 canvas->drawRect(fOuterRect, linePaint); in onDrawContent()
313 linePaint.setPathEffect(dashes); in onDrawContent()
318 linePaint.setColor(SK_ColorBLUE); in onDrawContent()
[all …]
DSampleCCPRGeometry.cpp145 SkPaint linePaint; in draw_klm_line() local
146 linePaint.setColor(color); in draw_klm_line()
147 linePaint.setAlpha(128); in draw_klm_line()
148 linePaint.setStyle(SkPaint::kStroke_Style); in draw_klm_line()
149 linePaint.setStrokeWidth(0); in draw_klm_line()
150 linePaint.setAntiAlias(true); in draw_klm_line()
151 canvas->drawLine(p1, p2, linePaint); in draw_klm_line()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DGlitchAndCallbackHeatMapView.java119 final Paint linePaint = new Paint(Paint.ANTI_ALIAS_FLAG); in fillCanvas() local
120 linePaint.setColor(Color.BLACK); in fillCanvas()
121 linePaint.setStyle(Paint.Style.STROKE); in fillCanvas()
122 linePaint.setStrokeWidth(LINE_WIDTH); in fillCanvas()
198 graphArea.bottom, graphArea.left, graphArea.width(), textPaint, linePaint); in fillCanvas()
201 canvas.drawRect(graphArea, linePaint); in fillCanvas()
208 drawColorLegend(canvas, maxCallbackValue, colorInter, linePaint, textPaint, legendArea); in fillCanvas()
234 graphArea.width(), textPaint, linePaint); in fillCanvas()
237 canvas.drawRect(graphArea, linePaint); in fillCanvas()
245 drawColorLegend(canvas, maxGlitchValue, colorInter, linePaint, textPaint, legendArea); in fillCanvas()
[all …]
/external/skqp/gm/
Dcirculararcs.cpp60 SkPaint linePaint; in draw_arcs() local
61 linePaint.setAntiAlias(true); in draw_arcs()
62 linePaint.setColor(SK_ColorBLACK); in draw_arcs()
63 canvas->drawLine(kGridW, 0.f , kGridW, SkIntToScalar(kH), linePaint); in draw_arcs()
64 canvas->drawLine(0.f , kGridH, SkIntToScalar(kW), kGridH, linePaint); in draw_arcs()
191 SkPaint linePaint; variable
192 linePaint.setAntiAlias(true);
193 linePaint.setColor(SK_ColorRED);
196 canvas->drawLine(midX, -kPad, midX, height, linePaint);
Dpixelsnap.cpp46 SkPaint linePaint; in onDraw() local
47 linePaint.setColor(SK_ColorWHITE); in onDraw()
78 linePaint); in onDraw()
83 linePaint); in onDraw()
/external/skia/gm/
Dcirculararcs.cpp60 SkPaint linePaint; in draw_arcs() local
61 linePaint.setAntiAlias(true); in draw_arcs()
62 linePaint.setColor(SK_ColorBLACK); in draw_arcs()
63 canvas->drawLine(kGridW, 0.f , kGridW, SkIntToScalar(kH), linePaint); in draw_arcs()
64 canvas->drawLine(0.f , kGridH, SkIntToScalar(kW), kGridH, linePaint); in draw_arcs()
191 SkPaint linePaint; variable
192 linePaint.setAntiAlias(true);
193 linePaint.setColor(SK_ColorRED);
196 canvas->drawLine(midX, -kPad, midX, height, linePaint);
Dpixelsnap.cpp46 SkPaint linePaint; in onDraw() local
47 linePaint.setColor(SK_ColorWHITE); in onDraw()
78 linePaint); in onDraw()
83 linePaint); in onDraw()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTouchCatcherView.java30 private Paint linePaint = new Paint(); field in TouchCatcherView
57 linePaint.setColor(Color.GREEN); in initialisePaint()
58 linePaint.setStrokeWidth(lineWidth); in initialisePaint()
96 canvas.drawLine(lineStart, pos, lineEnd, pos, linePaint); in onDraw()
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp142 SkPaint linePaint; in draw_klm_line() local
143 linePaint.setColor(color); in draw_klm_line()
144 linePaint.setAlpha(128); in draw_klm_line()
145 linePaint.setStyle(SkPaint::kStroke_Style); in draw_klm_line()
146 linePaint.setStrokeWidth(0); in draw_klm_line()
147 linePaint.setAntiAlias(true); in draw_klm_line()
148 canvas->drawLine(p1, p2, linePaint); in draw_klm_line()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DStylizeActivity.java209 private final Paint linePaint; field in StylizeActivity.ImageSlider
219 linePaint = new Paint(); in ImageSlider()
220 linePaint.setColor(Color.WHITE); in ImageSlider()
221 linePaint.setStrokeWidth(10.0f); in ImageSlider()
222 linePaint.setStyle(Style.STROKE); in ImageSlider()
236 canvas.drawLine(0, y, canvas.getWidth(), y, linePaint); in onDraw()
240 canvas.drawRect(0, 0, getWidth(), getHeight(), linePaint); in onDraw()