Home
last modified time | relevance | path

Searched refs:textPaint (Results 1 – 25 of 48) sorted by relevance

12

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DValueMarker.java43 private Paint textPaint; field in ValueMarker
55 textPaint = new Paint();
56 textPaint.setAntiAlias(true);
57 textPaint.setColor(Color.RED);
78 …ker(Number value, String text, PositionMetricType textPosition, Paint linePaint, Paint textPaint) { in ValueMarker() argument
82 this.textPaint = textPaint; in ValueMarker()
86 …eMarker(Number value, String text, PositionMetricType textPosition, int linePaint, int textPaint) { in ValueMarker() argument
89 this.textPaint.setColor(textPaint); in ValueMarker()
109 return textPaint; in getTextPaint()
112 public void setTextPaint(Paint textPaint) { in setTextPaint() argument
[all …]
DXYLegendWidget.java49 private Paint textPaint; field in XYLegendWidget
60 textPaint = new Paint();
61 textPaint.setColor(Color.LTGRAY);
62 textPaint.setAntiAlias(true);
113 … float centeredTextOriginY = getRectCenterY(cellRect) + (FontUtils.getFontHeight(textPaint)/2); in finishDrawingCell()
114 canvas.drawText(text, iconRect.right + 2, centeredTextOriginY, textPaint); in finishDrawingCell()
209 return textPaint; in getTextPaint()
212 public void setTextPaint(Paint textPaint) { in setTextPaint() argument
213 this.textPaint = textPaint; in setTextPaint()
DPointLabelFormatter.java29 private Paint textPaint; field in PointLabelFormatter
56 return textPaint; in getTextPaint()
59 public void setTextPaint(Paint textPaint) { in setTextPaint() argument
60 this.textPaint = textPaint; in setTextPaint()
DXValueMarker.java42 …Marker(Number value, String text, YPositionMetric textPosition, Paint linePaint, Paint textPaint) { in XValueMarker() argument
43 super(value, text, textPosition, linePaint, textPaint); in XValueMarker()
55 …alueMarker(Number value, String text, YPositionMetric textPosition, int linePaint, int textPaint) { in XValueMarker() argument
56 super(value, text, textPosition, linePaint, textPaint); in XValueMarker()
DYValueMarker.java43 …Marker(Number value, String text, XPositionMetric textPosition, Paint linePaint, Paint textPaint) { in YValueMarker() argument
44 super(value, text, textPosition, linePaint, textPaint); in YValueMarker()
55 …alueMarker(Number value, String text, XPositionMetric textPosition, int linePaint, int textPaint) { in YValueMarker() argument
56 super(value, text, textPosition, linePaint, textPaint); in YValueMarker()
/external/skqp/gm/
Dgamma.cpp53 SkPaint textPaint; variable
54 textPaint.setAntiAlias(true);
55 textPaint.setColor(SK_ColorWHITE);
56 sk_tool_utils::set_portable_typeface(&textPaint);
66 canvas->drawString(label, 0, sz + textPaint.getFontSpacing(), textPaint); in __anonb8714d360202()
68 canvas->drawString(label2, 0, sz + 2 * textPaint.getFontSpacing(), in __anonb8714d360202()
69 textPaint); in __anonb8714d360202()
76 canvas->drawString(label, 0, sz + textPaint.getFontSpacing(), textPaint); in __anonb8714d360302()
89 canvas->drawString(srcText, 0, sz + textPaint.getFontSpacing(), in __anonb8714d360402()
90 textPaint); in __anonb8714d360402()
[all …]
Dblurimagevmask.cpp19 SkPaint textPaint; variable
20 textPaint.setAntiAlias(true);
21 sk_tool_utils::set_portable_typeface(&textPaint);
22 textPaint.setTextSize(SkIntToScalar(25));
26 canvas->drawString("mask blur", 285, 50, textPaint);
27 canvas->drawString("image blur", 285 + 250, 50, textPaint);
37 canvas->drawString(out, r.left(), r.bottom() + 35, textPaint);
Dimageblur.cpp23 SkPaint textPaint; in imageblurgm_draw() local
24 textPaint.setAntiAlias(true); in imageblurgm_draw()
25 sk_tool_utils::set_portable_typeface(&textPaint); in imageblurgm_draw()
29 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000)); in imageblurgm_draw()
30 textPaint.setTextSize(rand.nextRangeScalar(0, 300)); in imageblurgm_draw()
32 SkIntToScalar(y), textPaint); in imageblurgm_draw()
Dimageblur2.cpp66 SkPaint textPaint; in onDraw() local
67 textPaint.setAntiAlias(false); in onDraw()
68 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000)); in onDraw()
69 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
70 textPaint.setTextSize(textSize); in onDraw()
76 textPaint); in onDraw()
Dimage.cpp129 SkPaint textPaint; in onDraw() local
130 textPaint.setAntiAlias(true); in onDraw()
131 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
132 textPaint.setTextSize(8); in onDraw()
134 canvas->drawString(kLabel1, 10, 60, textPaint); in onDraw()
135 canvas->drawString(kLabel2, 10, 140, textPaint); in onDraw()
136 canvas->drawString(kLabel3, 10, 220, textPaint); in onDraw()
137 canvas->drawString(kLabel4, 10, 300, textPaint); in onDraw()
138 canvas->drawString(kLabel5, 10, 380, textPaint); in onDraw()
139 canvas->drawString(kLabel6, 10, 460, textPaint); in onDraw()
[all …]
Dimageresizetiled.cpp39 SkPaint textPaint; in DEF_SIMPLE_GM() local
40 textPaint.setAntiAlias(true); in DEF_SIMPLE_GM()
41 sk_tool_utils::set_portable_typeface(&textPaint); in DEF_SIMPLE_GM()
42 textPaint.setTextSize(SkIntToScalar(100)); in DEF_SIMPLE_GM()
47 SkIntToScalar(posY), textPaint); in DEF_SIMPLE_GM()
Dimageblurtiled.cpp49 SkPaint textPaint; in onDraw() local
50 textPaint.setAntiAlias(true); in onDraw()
51 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
52 textPaint.setTextSize(SkIntToScalar(100)); in onDraw()
57 SkIntToScalar(posY), textPaint); in onDraw()
Dbmpfilterqualityrepeat.cpp66 SkPaint textPaint; in drawAll() local
67 sk_tool_utils::set_portable_typeface(&textPaint); in drawAll()
68 textPaint.setAntiAlias(true); in drawAll()
70 SkPaint bmpPaint(textPaint); in drawAll()
79 canvas->drawString(kQualities[q].fName, 20, 40, textPaint); in drawAll()
Dblurignorexform.cpp98 SkPaint textPaint; in drawOverlay() local
99 sk_tool_utils::set_portable_typeface(&textPaint); in drawOverlay()
100 textPaint.setAntiAlias(true); in drawOverlay()
103 canvas->drawString(kBlurFlags[i].fName, 100, 0, textPaint); in drawOverlay()
108 canvas->drawString(scale.fName, 0, 50, textPaint); in drawOverlay()
/external/skia/gm/
Dgamma.cpp53 SkPaint textPaint; variable
54 textPaint.setAntiAlias(true);
55 textPaint.setColor(SK_ColorWHITE);
56 sk_tool_utils::set_portable_typeface(&textPaint);
66 canvas->drawString(label, 0, sz + textPaint.getFontSpacing(), textPaint); in __anon25727ebf0202()
68 canvas->drawString(label2, 0, sz + 2 * textPaint.getFontSpacing(), in __anon25727ebf0202()
69 textPaint); in __anon25727ebf0202()
76 canvas->drawString(label, 0, sz + textPaint.getFontSpacing(), textPaint); in __anon25727ebf0302()
89 canvas->drawString(srcText, 0, sz + textPaint.getFontSpacing(), in __anon25727ebf0402()
90 textPaint); in __anon25727ebf0402()
[all …]
Dblurimagevmask.cpp19 SkPaint textPaint; variable
20 textPaint.setAntiAlias(true);
21 sk_tool_utils::set_portable_typeface(&textPaint);
22 textPaint.setTextSize(SkIntToScalar(25));
26 canvas->drawString("mask blur", 285, 50, textPaint);
27 canvas->drawString("image blur", 285 + 250, 50, textPaint);
37 canvas->drawString(out, r.left(), r.bottom() + 35, textPaint);
Dimageblur.cpp23 SkPaint textPaint; in imageblurgm_draw() local
24 textPaint.setAntiAlias(true); in imageblurgm_draw()
25 sk_tool_utils::set_portable_typeface(&textPaint); in imageblurgm_draw()
29 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000)); in imageblurgm_draw()
30 textPaint.setTextSize(rand.nextRangeScalar(0, 300)); in imageblurgm_draw()
32 SkIntToScalar(y), textPaint); in imageblurgm_draw()
Dimageblur2.cpp66 SkPaint textPaint; in onDraw() local
67 textPaint.setAntiAlias(false); in onDraw()
68 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000)); in onDraw()
69 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
70 textPaint.setTextSize(textSize); in onDraw()
76 textPaint); in onDraw()
Dimage.cpp130 SkPaint textPaint; in onDraw() local
131 textPaint.setAntiAlias(true); in onDraw()
132 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
133 textPaint.setTextSize(8); in onDraw()
135 canvas->drawString(kLabel1, 10, 60, textPaint); in onDraw()
136 canvas->drawString(kLabel2, 10, 140, textPaint); in onDraw()
137 canvas->drawString(kLabel3, 10, 220, textPaint); in onDraw()
138 canvas->drawString(kLabel4, 10, 300, textPaint); in onDraw()
139 canvas->drawString(kLabel5, 10, 380, textPaint); in onDraw()
140 canvas->drawString(kLabel6, 10, 460, textPaint); in onDraw()
[all …]
Dimageresizetiled.cpp39 SkPaint textPaint; in DEF_SIMPLE_GM() local
40 textPaint.setAntiAlias(true); in DEF_SIMPLE_GM()
41 sk_tool_utils::set_portable_typeface(&textPaint); in DEF_SIMPLE_GM()
42 textPaint.setTextSize(SkIntToScalar(100)); in DEF_SIMPLE_GM()
47 SkIntToScalar(posY), textPaint); in DEF_SIMPLE_GM()
Dimageblurtiled.cpp49 SkPaint textPaint; in onDraw() local
50 textPaint.setAntiAlias(true); in onDraw()
51 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
52 textPaint.setTextSize(SkIntToScalar(100)); in onDraw()
57 SkIntToScalar(posY), textPaint); in onDraw()
Dbmpfilterqualityrepeat.cpp66 SkPaint textPaint; in drawAll() local
67 sk_tool_utils::set_portable_typeface(&textPaint); in drawAll()
68 textPaint.setAntiAlias(true); in drawAll()
70 SkPaint bmpPaint(textPaint); in drawAll()
79 canvas->drawString(kQualities[q].fName, 20, 40, textPaint); in drawAll()
Dblurignorexform.cpp98 SkPaint textPaint; in drawOverlay() local
99 sk_tool_utils::set_portable_typeface(&textPaint); in drawOverlay()
100 textPaint.setAntiAlias(true); in drawOverlay()
103 canvas->drawString(kBlurFlags[i].fName, 100, 0, textPaint); in drawOverlay()
108 canvas->drawString(scale.fName, 0, 50, textPaint); in drawOverlay()
Dsimpleaaclip.cpp158 SkPaint textPaint; in onDraw() local
159 textPaint.setAntiAlias(true); in onDraw()
160 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
161 textPaint.setTextSize(SK_Scalar1*24); in onDraw()
167 textPaint); in onDraw()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DGlitchAndCallbackHeatMapView.java109 final Paint textPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in fillCanvas() local
110 textPaint.setColor(Color.BLACK); in fillCanvas()
111 textPaint.setTextSize(LABEL_SIZE); in fillCanvas()
112 textPaint.setTextAlign(Paint.Align.CENTER); in fillCanvas()
167 graphArea.top - INNER_MARGIN, textPaint); in fillCanvas()
173 canvas.drawText("Recorder", labelX, labelY, textPaint); in fillCanvas()
178 canvas.drawText("Player", labelX, labelY, textPaint); in fillCanvas()
198 graphArea.bottom, graphArea.left, graphArea.width(), textPaint, linePaint); in fillCanvas()
208 drawColorLegend(canvas, maxCallbackValue, colorInter, linePaint, textPaint, legendArea); in fillCanvas()
217 graphArea.top - INNER_MARGIN, textPaint); in fillCanvas()
[all …]

12