/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | ValueMarker.java | 43 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 …]
|
D | XYLegendWidget.java | 49 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()
|
D | PointLabelFormatter.java | 29 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()
|
D | XValueMarker.java | 42 …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()
|
D | YValueMarker.java | 43 …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/skia/docs/examples/ |
D | SkPath_cubicTo_example.cpp | 47 SkPaint textPaint; in draw() local 48 textPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw() 49 textPaint.setAntiAlias(true); in draw() 50 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 51 canvas->drawString("b", b.x(), b.y(), font, textPaint); in draw() 52 canvas->drawString("c", c.x() - 20, c.y(), font, textPaint); in draw() 53 canvas->drawString("d", d.x(), d.y(), font, textPaint); in draw()
|
D | Path_FillType_b.cpp | 16 SkPaint textPaint; 17 textPaint.setAntiAlias(true); 19 canvas->drawPosTextH("01210", 5, textHPos, 48, textPaint); 20 textPaint.setTextSize(18); 23 canvas->drawString("inverse", 384, 150, textPaint); 32 canvas->drawString(fillType & 1 ? "even-odd" : "winding", 64, 170, textPaint);
|
D | SkPath_cubicTo_example_parametric_animated.cpp | 75 SkPaint textPaint; in draw() local 76 textPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw() 77 textPaint.setAntiAlias(true); in draw() 80 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 81 canvas->drawString("b", b.x(), b.y(), font, textPaint); in draw() 82 canvas->drawString("c", c.x()-20, c.y(), font, textPaint); in draw() 83 canvas->drawString("d", d.x(), d.y(), font, textPaint); in draw() 85 textPaint.setColor(SkColorSetARGB(255, 204, 204, 204)); in draw() 86 canvas->drawString(msg.c_str(), 4, 36, font, textPaint); in draw()
|
D | SkPath_cubicTo_example_parametric.cpp | 56 SkPaint textPaint; in draw() local 57 textPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw() 58 textPaint.setAntiAlias(true); in draw() 59 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 60 canvas->drawString("b", b.x(), b.y(), font, textPaint); in draw() 61 canvas->drawString("c", c.x() - 20, c.y(), font, textPaint); in draw() 62 canvas->drawString("d", d.x(), d.y(), font, textPaint); in draw()
|
D | Path_arcTo_2_b.cpp | 10 SkPaint textPaint(tangentPaint); 34 canvas->drawString("(x0, y0)", pts[0].fX, pts[0].fY - 7, textPaint); 35 canvas->drawString("(x1, y1)", pts[1].fX + 5, pts[1].fY, textPaint); 36 canvas->drawString("(x2, y2)", pts[2].fX, pts[2].fY + 15, textPaint); 37 canvas->drawString("radius", center.fX + 15, center.fY + 25, textPaint); 38 canvas->drawString("radius", center.fX - 5, center.fY - 20, textPaint);
|
D | Path_arcTo_2_a.cpp | 10 SkPaint textPaint(tangentPaint); 35 canvas->drawString("(x0, y0)", pts[0].fX - 5, pts[0].fY, textPaint); 36 canvas->drawString("(x1, y1)", pts[1].fX + 5, pts[1].fY, textPaint); 37 canvas->drawString("(x2, y2)", pts[2].fX, pts[2].fY + 15, textPaint); 38 canvas->drawString("radius", center.fX + 15, center.fY + 25, textPaint); 39 canvas->drawString("radius", center.fX - 3, center.fY - 16, textPaint);
|
D | SkPath_quadTo_example.cpp | 31 SkPaint textPaint; in draw() local 32 textPaint.setAntiAlias(true); in draw() 33 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 34 canvas->drawString("b", b.x() + 20, b.y() + 20, font, textPaint); in draw() 35 canvas->drawString("c", c.x(), c.y(), font, textPaint); in draw()
|
D | SkPath_quadTo_example_parametric.cpp | 48 SkPaint textPaint; in draw() local 49 textPaint.setAntiAlias(true); in draw() 50 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 51 canvas->drawString("b", b.x() + 20, b.y() + 20, font, textPaint); in draw() 52 canvas->drawString("c", c.x(), c.y(), font, textPaint); in draw()
|
D | SkPath_quadTo_example_parametric_animated.cpp | 65 SkPaint textPaint; in draw() local 67 textPaint.setAntiAlias(true); in draw() 68 canvas->drawString("a", a.x(), a.y(), font, textPaint); in draw() 69 canvas->drawString("b", b.x()+20, b.y()+20, font, textPaint); in draw() 70 canvas->drawString("c", c.x(), c.y(), font, textPaint); in draw()
|
D | Path_addOval_2.cpp | 12 SkPaint textPaint(ovalPaint); 25 canvas->drawText(&"0123"[start], 1, rect.centerX(), rect.centerY() + 5, textPaint); 30 128, 0, textPaint);
|
D | Path_Direction.cpp | 12 SkPaint textPaint(rectPaint); 27 rect.centerY(), textPaint);
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SubtitlePainter.java | 61 private final TextPaint textPaint; field in SubtitlePainter 112 textPaint = new TextPaint(); in SubtitlePainter() 113 textPaint.setAntiAlias(true); in SubtitlePainter() 114 textPaint.setSubpixelText(true); in SubtitlePainter() 180 && Util.areEqual(this.textPaint.getTypeface(), style.typeface) in draw() 208 this.textPaint.setTypeface(style.typeface); in draw() 236 textPaint.setTextSize(defaultTextSizePx); in setupTextLayout() 288 cueText, textPaint, availableWidth, textAlignment, spacingMult, spacingAdd, true); in setupTextLayout() 362 cueText, textPaint, textWidth, textAlignment, spacingMult, spacingAdd, true); in setupTextLayout() 365 cueTextEdge, textPaint, textWidth, textAlignment, spacingMult, spacingAdd, true); in setupTextLayout() [all …]
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SubtitlePainter.java | 61 private final TextPaint textPaint; field in SubtitlePainter 112 textPaint = new TextPaint(); in SubtitlePainter() 113 textPaint.setAntiAlias(true); in SubtitlePainter() 114 textPaint.setSubpixelText(true); in SubtitlePainter() 180 && Util.areEqual(this.textPaint.getTypeface(), style.typeface) in draw() 208 this.textPaint.setTypeface(style.typeface); in draw() 236 textPaint.setTextSize(defaultTextSizePx); in setupTextLayout() 288 cueText, textPaint, availableWidth, textAlignment, spacingMult, spacingAdd, true); in setupTextLayout() 362 cueText, textPaint, textWidth, textAlignment, spacingMult, spacingAdd, true); in setupTextLayout() 365 cueTextEdge, textPaint, textWidth, textAlignment, spacingMult, spacingAdd, true); in setupTextLayout() [all …]
|
/external/skia/modules/canvaskit/tests/ |
D | font_test.js | 306 const textPaint = new CanvasKit.Paint(); constant 309 canvas.drawText('Default', 5, 5, textPaint, annotationFont); 310 canvas.drawText('Alias', 5, 25, textPaint, annotationFont); 311 canvas.drawText('AntiAlias', 5, 45, textPaint, annotationFont); 312 canvas.drawText('Subpixel', 5, 65, textPaint, annotationFont); 316 canvas.drawText('SEA', 35, 15, textPaint, testFont); 318 canvas.drawText('SEA', 35, 35, textPaint, testFont); 320 canvas.drawText('SEA', 35, 55, textPaint, testFont); 322 canvas.drawText('SEA', 35, 75, textPaint, testFont); 324 textPaint.delete(); [all …]
|
/external/skia/modules/canvaskit/npm_build/ |
D | node.example.js | 60 const textPaint = new CanvasKit.Paint(); 61 textPaint.setColor(CanvasKit.Color(40, 0, 0)); 62 textPaint.setAntiAlias(true); 78 canvas.drawText('Try Clicking!', 10, 280, textPaint, textFont); 100 textPaint.delete();
|
/external/skia/gm/ |
D | lcdoverlap.cpp | 72 SkPaint textPaint; in drawTestCase() local 73 textPaint.setColor(colors[i]); in drawTestCase() 74 textPaint.setBlendMode(i % 2 == 0 ? mode : mode2); in drawTestCase() 75 canvas->drawTextBlob(fBlob, 0, 0, textPaint); in drawTestCase()
|
D | bmpfilterqualityrepeat.cpp | 67 SkPaint textPaint; in drawAll() local 68 textPaint.setAntiAlias(true); in drawAll() 70 SkPaint bmpPaint(textPaint); in drawAll() 90 canvas->drawString(rec.name, 20, 40, font, textPaint); in drawAll()
|
D | imageblur.cpp | 30 SkPaint textPaint; in imageblurgm_draw() local 35 textPaint.setColor(ToolUtils::color_to_565(rand.nextBits(24) | 0xFF000000)); in imageblurgm_draw() 37 canvas->drawString(str, SkIntToScalar(x), SkIntToScalar(y), font, textPaint); in imageblurgm_draw()
|
D | scaledemoji_rendering.cpp | 70 SkPaint textPaint; in onDraw() local 71 textPaint.setColor(SK_ColorCYAN); in onDraw() 102 &bounds, &textPaint); in onDraw() 104 x, y, font, textPaint); in onDraw()
|
D | imageblur2.cpp | 54 SkPaint textPaint; in DEF_SIMPLE_GM() local 55 textPaint.setColor(ToolUtils::color_to_565(rand.nextBits(24) | 0xFF000000)); in DEF_SIMPLE_GM() 61 textPaint); in DEF_SIMPLE_GM()
|