Home
last modified time | relevance | path

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

/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/skia/gm/
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()
77 textPaint); in onDraw()
Dimageresizetiled.cpp40 SkPaint textPaint; in DEF_SIMPLE_GM() local
41 textPaint.setAntiAlias(true); in DEF_SIMPLE_GM()
42 sk_tool_utils::set_portable_typeface(&textPaint); in DEF_SIMPLE_GM()
43 textPaint.setTextSize(SkIntToScalar(100)); in DEF_SIMPLE_GM()
48 SkIntToScalar(posY), textPaint); in DEF_SIMPLE_GM()
Dimageblurtiled.cpp52 SkPaint textPaint; in onDraw() local
53 textPaint.setAntiAlias(true); in onDraw()
54 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
55 textPaint.setTextSize(SkIntToScalar(100)); in onDraw()
60 SkIntToScalar(posY), textPaint); in onDraw()
Dimage.cpp151 SkPaint textPaint; in onDraw() local
152 textPaint.setAntiAlias(true); in onDraw()
153 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
154 textPaint.setTextSize(8); in onDraw()
156 canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint); in onDraw()
157 canvas->drawText(kLabel2, strlen(kLabel2), 10, 140, textPaint); in onDraw()
158 canvas->drawText(kLabel3, strlen(kLabel3), 10, 220, textPaint); in onDraw()
159 canvas->drawText(kLabel4, strlen(kLabel4), 10, 300, textPaint); in onDraw()
160 canvas->drawText(kLabel5, strlen(kLabel5), 10, 380, textPaint); in onDraw()
161 canvas->drawText(kLabel6, strlen(kLabel6), 10, 460, textPaint); in onDraw()
[all …]
Dlcdoverlap.cpp71 SkPaint textPaint; in drawTestCase() local
72 textPaint.setColor(colors[i]); in drawTestCase()
73 textPaint.setXfermode(i % 2 == 0 ? xfermode : xfermode2); in drawTestCase()
74 canvas->drawTextBlob(fBlob, 0, 0, textPaint); in drawTestCase()
Dsimpleaaclip.cpp157 SkPaint textPaint; in onDraw() local
158 textPaint.setAntiAlias(true); in onDraw()
159 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw()
160 textPaint.setTextSize(SK_Scalar1*24); in onDraw()
166 textPaint); in onDraw()
/external/skia/samplecode/
DSampleRegion.cpp366 SkPaint textPaint; in onDrawContent() local
367 textPaint.setAntiAlias(true); in onDrawContent()
368 textPaint.setTextSize(SK_Scalar1*24); in onDrawContent()
379 …>drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), textPaint); in onDrawContent()
/external/skia/src/pdf/
DSkPDFDevice.cpp1294 SkPaint textPaint = calculate_text_paint(paint); in drawText() local
1295 ScopedContentEntry content(this, d, textPaint, true); in drawText()
1303 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); in drawText()
1305 SkPaint::GlyphCacheProc glyphCacheProc = textPaint.getGlyphCacheProc(true); in drawText()
1306 align_text(glyphCacheProc, textPaint, glyphIDs, numGlyphs, &x, &y); in drawText()
1308 set_text_transform(x, y, textPaint.getTextSkewX(), in drawText()
1315 this->updateFont(textPaint, glyphIDs[consumedGlyphCount], content.entry()); in drawText()
1370 SkPaint textPaint = calculate_text_paint(paint); in drawPosText() local
1371 ScopedContentEntry content(this, d, textPaint, true); in drawPosText()
1379 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); in drawPosText()
[all …]
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...