Searched refs:textPaint (Results 1 - 25 of 29) sorted by relevance

12

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
H A DValueMarker.java43 private Paint textPaint; field in class:ValueMarker
55 textPaint = new Paint();
56 textPaint.setAntiAlias(true);
57 textPaint.setColor(Color.RED);
76 * @param textPaint
78 public ValueMarker(Number value, String text, PositionMetricType textPosition, Paint linePaint, Paint textPaint) { argument
82 this.textPaint = textPaint;
86 public ValueMarker(Number value, String text, PositionMetricType textPosition, int linePaint, int textPaint) { argument
89 this.textPaint
112 setTextPaint(Paint textPaint) argument
[all...]
H A DPointLabelFormatter.java29 private Paint textPaint; field in class:PointLabelFormatter
56 return textPaint;
59 public void setTextPaint(Paint textPaint) { argument
60 this.textPaint = textPaint;
72 //textPaint.setStyle(Paint.Style.STROKE);
H A DXValueMarker.java40 * @param textPaint
42 public XValueMarker(Number value, String text, YPositionMetric textPosition, Paint linePaint, Paint textPaint) { argument
43 super(value, text, textPosition, linePaint, textPaint);
53 * @param textPaint
55 public XValueMarker(Number value, String text, YPositionMetric textPosition, int linePaint, int textPaint) { argument
56 super(value, text, textPosition, linePaint, textPaint);
H A DYValueMarker.java41 * @param textPaint
43 public YValueMarker(Number value, String text, XPositionMetric textPosition, Paint linePaint, Paint textPaint) { argument
44 super(value, text, textPosition, linePaint, textPaint);
53 * @param textPaint
55 public YValueMarker(Number value, String text, XPositionMetric textPosition, int linePaint, int textPaint) { argument
56 super(value, text, textPosition, linePaint, textPaint);
H A DXYLegendWidget.java49 private Paint textPaint; field in class:XYLegendWidget
60 textPaint = new Paint();
61 textPaint.setColor(Color.LTGRAY);
62 textPaint.setAntiAlias(true);
113 float centeredTextOriginY = getRectCenterY(cellRect) + (FontUtils.getFontHeight(textPaint)/2);
114 canvas.drawText(text, iconRect.right + 2, centeredTextOriginY, textPaint);
209 return textPaint;
212 public void setTextPaint(Paint textPaint) { argument
213 this.textPaint = textPaint;
[all...]
/external/skia/gm/
H A Dblurimagevmask.cpp19 SkPaint textPaint; local
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);
H A Dimageblur.cpp23 SkPaint textPaint; local
24 textPaint.setAntiAlias(true);
25 sk_tool_utils::set_portable_typeface(&textPaint);
29 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000));
30 textPaint.setTextSize(rand.nextRangeScalar(0, 300));
32 SkIntToScalar(y), textPaint);
H A Dimageblur2.cpp66 SkPaint textPaint; variable
67 textPaint.setAntiAlias(false);
68 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000));
69 sk_tool_utils::set_portable_typeface(&textPaint); member in class:skiagm::BlurImageFilter::sk_tool_utils
70 textPaint.setTextSize(textSize);
76 textPaint);
H A Dimageblurtiled.cpp49 SkPaint textPaint; variable
50 textPaint.setAntiAlias(true);
51 sk_tool_utils::set_portable_typeface(&textPaint); member in class:skiagm::ImageBlurTiledGM::sk_tool_utils
52 textPaint.setTextSize(SkIntToScalar(100));
57 SkIntToScalar(posY), textPaint);
H A Dimageresizetiled.cpp39 SkPaint textPaint; local
40 textPaint.setAntiAlias(true);
41 sk_tool_utils::set_portable_typeface(&textPaint);
42 textPaint.setTextSize(SkIntToScalar(100));
47 SkIntToScalar(posY), textPaint);
H A Dgamma.cpp53 SkPaint textPaint; local
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);
68 canvas->drawString(label2, 0, sz + 2 * textPaint.getFontSpacing(),
69 textPaint);
76 canvas->drawString(label, 0, sz + textPaint.getFontSpacing(), textPaint);
[all...]
H A Dbmpfilterqualityrepeat.cpp66 SkPaint textPaint; local
67 sk_tool_utils::set_portable_typeface(&textPaint);
68 textPaint.setAntiAlias(true);
70 SkPaint bmpPaint(textPaint);
79 canvas->drawString(kQualities[q].fName, 20, 40, textPaint);
H A Dlcdoverlap.cpp70 SkPaint textPaint; local
71 textPaint.setColor(colors[i]);
72 textPaint.setBlendMode(i % 2 == 0 ? mode : mode2);
73 canvas->drawTextBlob(fBlob, 0, 0, textPaint);
H A Dimage.cpp148 SkPaint textPaint; variable
149 textPaint.setAntiAlias(true);
150 sk_tool_utils::set_portable_typeface(&textPaint); member in class:ImageGM::sk_tool_utils
151 textPaint.setTextSize(8);
153 canvas->drawString(kLabel1, 10, 60, textPaint);
154 canvas->drawString(kLabel2, 10, 140, textPaint);
155 canvas->drawString(kLabel3, 10, 220, textPaint);
156 canvas->drawString(kLabel4, 10, 300, textPaint);
157 canvas->drawString(kLabel5, 10, 380, textPaint);
158 canvas->drawString(kLabel6, 10, 460, textPaint);
[all...]
H A Dblurignorexform.cpp98 SkPaint textPaint; local
99 sk_tool_utils::set_portable_typeface(&textPaint);
100 textPaint.setAntiAlias(true);
103 canvas->drawString(kBlurFlags[i].fName, 100, 0, textPaint);
108 canvas->drawString(scale.fName, 0, 50, textPaint);
H A Dsimpleaaclip.cpp158 SkPaint textPaint; variable
159 textPaint.setAntiAlias(true);
160 sk_tool_utils::set_portable_typeface(&textPaint); member in class:skiagm::SimpleClipGM::sk_tool_utils
161 textPaint.setTextSize(SK_Scalar1*24);
167 textPaint);
H A Dgamut.cpp168 SkPaint textPaint; local
169 textPaint.setAntiAlias(true);
170 textPaint.setColor(SK_ColorWHITE);
171 sk_tool_utils::set_portable_typeface(&textPaint);
174 SkScalar textHeight = textPaint.getFontSpacing();
182 canvas->drawString(renderer->label(), x, y + textHeight, textPaint);
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
H A DGlitchAndCallbackHeatMapView.java109 final Paint textPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
110 textPaint.setColor(Color.BLACK);
111 textPaint.setTextSize(LABEL_SIZE);
112 textPaint.setTextAlign(Paint.Align.CENTER);
167 graphArea.top - INNER_MARGIN, textPaint);
173 canvas.drawText("Recorder", labelX, labelY, textPaint);
178 canvas.drawText("Player", labelX, labelY, textPaint);
198 graphArea.bottom, graphArea.left, graphArea.width(), textPaint, linePaint);
208 drawColorLegend(canvas, maxCallbackValue, colorInter, linePaint, textPaint, legendArea);
217 graphArea.top - INNER_MARGIN, textPaint);
308 drawColorLegend(Canvas canvas, int maxValue, ColorInterpolator colorInter, Paint linePaint, Paint textPaint, Rect legendArea) argument
338 drawTimeTicks(Canvas canvas, int testDurationSeconds, int bucketSizeSeconds, int textYPos, int tickYPos, int startXPos, int width, Paint textPaint, Paint linePaint) argument
[all...]
/external/skia/samplecode/
H A DSampleRegion.cpp363 SkPaint textPaint; variable
364 textPaint.setAntiAlias(true);
365 textPaint.setTextSize(SK_Scalar1*24);
376 canvas->drawString(gOps[op].fName, SkIntToScalar(75), SkIntToScalar(50), textPaint);
/external/skia/tests/
H A DFlattenDrawableTest.cpp258 SkPaint textPaint; local
259 textPaint.setColor(SK_ColorBLUE);
260 canvas->drawString("TEXT", 467.0f, 100.0f, textPaint);
268 sk_sp<CompoundDrawable> comDrawable(new CompoundDrawable(13, 14, 15, 16, textPaint));
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...

Completed in 404 milliseconds

12