Home
last modified time | relevance | path

Searched refs:textPaint (Results 1 – 25 of 39) 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()
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()
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()
/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 …]
/external/skia/modules/canvaskit/tests/
Dfont.spec.js45 const textPaint = new CanvasKit.SkPaint();
51 35, 50, textPaint, textFont);
61 canvas.drawText(shapedText, textBoxX, textBoxY, textPaint);
79 canvas.drawText('no kerning ↓', 10, 240, textPaint, textFont);
80 canvas.drawText(SHAPE_TEST_TEXT, 10, 300, textPaint, textFont2);
81 canvas.drawText(shapedText2, 10, 300, textPaint);
82 canvas.drawText('kerning ↑', 10, 390, textPaint, textFont);
88 textPaint.delete();
Dpath.spec.js140 const textPaint = new CanvasKit.SkPaint();
141 textPaint.setColor(CanvasKit.Color(40, 0, 0, 1.0));
142 textPaint.setAntiAlias(true);
157 canvas.drawText('This is text', 10, 280, textPaint, textFont);
/external/skqp/experimental/canvaskit/canvaskit/
Dnode.example.js58 const textPaint = new CanvasKit.SkPaint();
59 textPaint.setColor(CanvasKit.Color(40, 0, 0));
60 textPaint.setAntiAlias(true);
76 canvas.drawText('Try Clicking!', 10, 280, textFont, textPaint);
98 textPaint.delete();
/external/skia/modules/canvaskit/canvaskit/
Dnode.example.js58 const textPaint = new CanvasKit.SkPaint();
59 textPaint.setColor(CanvasKit.Color(40, 0, 0));
60 textPaint.setAntiAlias(true);
76 canvas.drawText('Try Clicking!', 10, 280, textPaint, textFont);
98 textPaint.delete();
/external/skqp/gm/
Dlcdoverlap.cpp68 SkPaint textPaint; in drawTestCase() local
69 textPaint.setColor(colors[i]); in drawTestCase()
70 textPaint.setBlendMode(i % 2 == 0 ? mode : mode2); in drawTestCase()
71 canvas->drawTextBlob(fBlob, 0, 0, textPaint); in drawTestCase()
Dbmpfilterqualityrepeat.cpp66 SkPaint textPaint; in drawAll() local
67 textPaint.setAntiAlias(true); in drawAll()
69 SkPaint bmpPaint(textPaint); in drawAll()
80 canvas->drawString(kQualities[q].fName, 20, 40, font, textPaint); in drawAll()
Dimageblur.cpp23 SkPaint textPaint; in imageblurgm_draw() local
28 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000)); in imageblurgm_draw()
30 canvas->drawString(str, SkIntToScalar(x), SkIntToScalar(y), font, textPaint); in imageblurgm_draw()
Dimageblur2.cpp47 SkPaint textPaint; in DEF_SIMPLE_GM() local
48 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000)); in DEF_SIMPLE_GM()
54 textPaint); in DEF_SIMPLE_GM()
Dgamma.cpp54 SkPaint textPaint; variable
55 textPaint.setAntiAlias(true);
56 textPaint.setColor(SK_ColorWHITE);
65 canvas->drawSimpleText(str, strlen(str), kUTF8_SkTextEncoding, x, y, font, textPaint); in __anonfc7ec5bf0202()
/external/skia/gm/
Dbmpfilterqualityrepeat.cpp66 SkPaint textPaint; in drawAll() local
67 textPaint.setAntiAlias(true); in drawAll()
69 SkPaint bmpPaint(textPaint); in drawAll()
80 canvas->drawString(kQualities[q].fName, 20, 40, font, textPaint); in drawAll()
Dlcdoverlap.cpp68 SkPaint textPaint; in drawTestCase() local
69 textPaint.setColor(colors[i]); in drawTestCase()
70 textPaint.setBlendMode(i % 2 == 0 ? mode : mode2); in drawTestCase()
71 canvas->drawTextBlob(fBlob, 0, 0, textPaint); in drawTestCase()
Dimageblur.cpp23 SkPaint textPaint; in imageblurgm_draw() local
28 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000)); in imageblurgm_draw()
30 canvas->drawString(str, SkIntToScalar(x), SkIntToScalar(y), font, textPaint); in imageblurgm_draw()
Dimageblur2.cpp47 SkPaint textPaint; in DEF_SIMPLE_GM() local
48 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000)); in DEF_SIMPLE_GM()
54 textPaint); in DEF_SIMPLE_GM()
Dgamma.cpp54 SkPaint textPaint; variable
55 textPaint.setAntiAlias(true);
56 textPaint.setColor(SK_ColorWHITE);
65 canvas->drawSimpleText(str, strlen(str), kUTF8_SkTextEncoding, x, y, font, textPaint); in __anon697ff7480202()
Dgm.cpp31 SkPaint textPaint; in draw_failure_message() local
32 textPaint.setColor(SK_ColorWHITE); in draw_failure_message()
33 canvas->drawString(failureMsg, kOffset, bounds.height() + kOffset, font, textPaint); in draw_failure_message()
/external/skqp/experimental/canvaskit/tests/
Dpath.spec.js175 const textPaint = new CanvasKit.SkPaint();
176 textPaint.setColor(CanvasKit.Color(40, 0, 0, 1.0));
177 textPaint.setAntiAlias(true);
192 canvas.drawText('This is text', 10, 280, textFont, textPaint);
/external/skia/site/user/modules/
Dcanvaskit.md185 const textPaint = new CanvasKit.SkPaint();
186 textPaint.setColor(CanvasKit.Color(40, 0, 0, 1.0));
187 textPaint.setAntiAlias(true);
211 canvas.drawText('Try Clicking!', 10, 380, textPaint, textFont);
322 const textPaint = new CanvasKit.SkPaint();
343 skcanvas.drawText(shapedText, 10, 10, textPaint, smallFont);
344 skcanvas.drawText('Try dragging the box!', 10, 380, textPaint, bigFont);
/external/skia/tests/
DFlattenDrawableTest.cpp260 SkPaint textPaint; in DEF_TEST() local
261 textPaint.setColor(SK_ColorBLUE); in DEF_TEST()
262 canvas->drawString("TEXT", 467.0f, 100.0f, SkFont(), textPaint); in DEF_TEST()
270 sk_sp<CompoundDrawable> comDrawable(new CompoundDrawable(13, 14, 15, 16, textPaint)); in DEF_TEST()
/external/skqp/tests/
DFlattenDrawableTest.cpp260 SkPaint textPaint; in DEF_TEST() local
261 textPaint.setColor(SK_ColorBLUE); in DEF_TEST()
262 canvas->drawString("TEXT", 467.0f, 100.0f, SkFont(), textPaint); in DEF_TEST()
270 sk_sp<CompoundDrawable> comDrawable(new CompoundDrawable(13, 14, 15, 16, textPaint)); in DEF_TEST()

12