/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 | 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 | 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 | 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()
|
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()
|
/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_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 | 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 | 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);
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | GlitchAndCallbackHeatMapView.java | 109 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/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SubtitlePainter.java | 67 private final TextPaint textPaint; field in SubtitlePainter 124 textPaint = new TextPaint(); in SubtitlePainter() 125 textPaint.setAntiAlias(true); in SubtitlePainter() 126 textPaint.setSubpixelText(true); in SubtitlePainter() 199 && Util.areEqual(this.textPaint.getTypeface(), style.typeface) in draw() 229 this.textPaint.setTypeface(style.typeface); in draw() 257 textPaint.setTextSize(defaultTextSizePx); in setupTextLayout() 325 textLayout = new StaticLayout(cueText, textPaint, availableWidth, textAlignment, spacingMult, in setupTextLayout() 395 this.textLayout = new StaticLayout(cueText, textPaint, textWidth, textAlignment, spacingMult, in setupTextLayout() 399 cueTextEdge, textPaint, textWidth, textAlignment, spacingMult, spacingAdd, true); in setupTextLayout() [all …]
|
/external/skia/modules/canvaskit/tests/ |
D | font.spec.js | 311 const textPaint = new CanvasKit.Paint(); constant 314 canvas.drawText('Default', 5, 5, textPaint, annotationFont); 315 canvas.drawText('Alias', 5, 25, textPaint, annotationFont); 316 canvas.drawText('AntiAlias', 5, 45, textPaint, annotationFont); 317 canvas.drawText('Subpixel', 5, 65, textPaint, annotationFont); 321 canvas.drawText('SEA', 35, 15, textPaint, testFont); 323 canvas.drawText('SEA', 35, 35, textPaint, testFont); 325 canvas.drawText('SEA', 35, 55, textPaint, testFont); 327 canvas.drawText('SEA', 35, 75, textPaint, testFont); 329 textPaint.delete();
|
/external/skia/modules/canvaskit/npm_build/ |
D | node.example.js | 57 const textPaint = new CanvasKit.Paint(); 58 textPaint.setColor(CanvasKit.Color(40, 0, 0)); 59 textPaint.setAntiAlias(true); 75 canvas.drawText('Try Clicking!', 10, 280, textPaint, textFont); 96 textPaint.delete();
|
/external/skqp/experimental/canvaskit/canvaskit/ |
D | node.example.js | 58 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/skqp/gm/ |
D | bmpfilterqualityrepeat.cpp | 66 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()
|
D | lcdoverlap.cpp | 68 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()
|
/external/skia/gm/ |
D | bmpfilterqualityrepeat.cpp | 78 SkPaint textPaint; in drawAll() local 79 textPaint.setAntiAlias(true); in drawAll() 81 SkPaint bmpPaint(textPaint); in drawAll() 92 canvas->drawString(kQualities[q].fName, 20, 40, font, textPaint); in drawAll()
|
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 | 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()
|