Home
last modified time | relevance | path

Searched refs:labelPaint (Results 1 – 21 of 21) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DTextLabelWidget.java28 private Paint labelPaint; field in TextLabelWidget
35 labelPaint = new Paint();
36 labelPaint.setColor(Color.WHITE);
37 labelPaint.setAntiAlias(true);
38 labelPaint.setTextAlign(Paint.Align.CENTER);
110 float vOffset = labelPaint.getFontMetrics().descent; in doOnDraw()
133 canvas.drawText(text, 0, vOffset, labelPaint); in doOnDraw()
143 return labelPaint; in getLabelPaint()
146 public void setLabelPaint(Paint labelPaint) { in setLabelPaint() argument
147 this.labelPaint = labelPaint; in setLabelPaint()
/external/skqp/gm/
Dconstcolorprocessor.cpp120 SkPaint labelPaint; in onDraw() local
121 labelPaint.setAntiAlias(true); in onDraw()
137 labelFont, labelPaint); in onDraw()
146 labelFont, labelPaint); in onDraw()
150 labelPaint.setStrokeWidth(0); in onDraw()
151 labelPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
152 canvas->drawRect(renderRect, labelPaint); in onDraw()
Dquadpaths.cpp126 SkPaint labelPaint; in onDraw() local
127 labelPaint.setColor(color); in onDraw()
129 labelFont, labelPaint); in onDraw()
131 labelFont, labelPaint); in onDraw()
133 labelFont, labelPaint); in onDraw()
256 SkPaint labelPaint; in onDraw() local
257 labelPaint.setColor(color); in onDraw()
259 labelFont, labelPaint); in onDraw()
261 labelFont, labelPaint); in onDraw()
263 labelFont, labelPaint); in onDraw()
Ddegeneratesegments.cpp345 SkPaint labelPaint; in onDraw() local
346 labelPaint.setColor(color); in onDraw()
347 labelPaint.setAntiAlias(true); in onDraw()
349 canvas->drawString(style.fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
350 canvas->drawString(fill.fName, 0, rect.height() + 24, font, labelPaint); in onDraw()
351 canvas->drawString(cap.fName, 0, rect.height() + 36, font, labelPaint); in onDraw()
352 canvas->drawString(gSegmentNames[s1], 0, rect.height() + 48, font, labelPaint); in onDraw()
353 canvas->drawString(gSegmentNames[s2], 0, rect.height() + 60, font, labelPaint); in onDraw()
354 canvas->drawString(gSegmentNames[s3], 0, rect.height() + 72, font, labelPaint); in onDraw()
355 canvas->drawString(gSegmentNames[s4], 0, rect.height() + 84, font, labelPaint); in onDraw()
[all …]
Dcubicpaths.cpp238 SkPaint labelPaint; in onDraw() local
239 labelPaint.setColor(color); in onDraw()
241 … canvas->drawString(gStyles[style].fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
242 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24, font, labelPaint); in onDraw()
243 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36, font, labelPaint); in onDraw()
368 SkPaint labelPaint; in onDraw() local
369 labelPaint.setColor(color); in onDraw()
370 labelPaint.setAntiAlias(true); in onDraw()
372 … canvas->drawString(gStyles[style].fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
373 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24, font, labelPaint); in onDraw()
[all …]
Dlinepaths.cpp121 SkPaint labelPaint; in draw() local
122 labelPaint.setColor(color); in draw()
125 font, labelPaint); in draw()
127 font, labelPaint); in draw()
129 font, labelPaint); in draw()
Dpixelsnap.cpp43 SkPaint labelPaint; in onDraw() local
44 labelPaint.setColor(SK_ColorWHITE); in onDraw()
55 font, labelPaint); in onDraw()
65 font, labelPaint); in onDraw()
Dlightingshader2.cpp145 SkPaint labelPaint; in onDraw() local
172 canvas->drawString(label, 0.0f, 0.0f, font, labelPaint); in onDraw()
178 canvas->drawString(label, 0.0f, 0.0f, font, labelPaint); in onDraw()
184 canvas->drawString(label, 0.0f, 0.0f, font, labelPaint); in onDraw()
190 canvas->drawString(label, 0.0f, 0.0f, font, labelPaint); in onDraw()
Demptypath.cpp100 SkPaint labelPaint; in onDraw() local
101 labelPaint.setColor(color); in onDraw()
104 labelFont, labelPaint); in onDraw()
106 labelFont, labelPaint); in onDraw()
/external/skia/gm/
Dconstcolorprocessor.cpp154 SkPaint labelPaint; in onDraw() local
155 labelPaint.setAntiAlias(true); in onDraw()
170 labelFont, labelPaint); in onDraw()
179 labelFont, labelPaint); in onDraw()
183 labelPaint.setStrokeWidth(0); in onDraw()
184 labelPaint.setStyle(SkPaint::kStroke_Style); in onDraw()
185 canvas->drawRect(renderRect, labelPaint); in onDraw()
Dquadpaths.cpp134 SkPaint labelPaint; in onDraw() local
135 labelPaint.setColor(color); in onDraw()
137 labelFont, labelPaint); in onDraw()
139 labelFont, labelPaint); in onDraw()
141 labelFont, labelPaint); in onDraw()
264 SkPaint labelPaint; in onDraw() local
265 labelPaint.setColor(color); in onDraw()
267 labelFont, labelPaint); in onDraw()
269 labelFont, labelPaint); in onDraw()
271 labelFont, labelPaint); in onDraw()
Dcubicpaths.cpp224 SkPaint labelPaint; in onDraw() local
225 labelPaint.setColor(color); in onDraw()
227 … canvas->drawString(gStyles[style].fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
228 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24, font, labelPaint); in onDraw()
229 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36, font, labelPaint); in onDraw()
344 SkPaint labelPaint; in onDraw() local
345 labelPaint.setColor(color); in onDraw()
346 labelPaint.setAntiAlias(true); in onDraw()
348 … canvas->drawString(gStyles[style].fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
349 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24, font, labelPaint); in onDraw()
[all …]
Ddegeneratesegments.cpp349 SkPaint labelPaint; in onDraw() local
350 labelPaint.setColor(color); in onDraw()
351 labelPaint.setAntiAlias(true); in onDraw()
353 canvas->drawString(style.fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
354 canvas->drawString(fill.fName, 0, rect.height() + 24, font, labelPaint); in onDraw()
355 canvas->drawString(cap.fName, 0, rect.height() + 36, font, labelPaint); in onDraw()
356 canvas->drawString(gSegmentNames[s1], 0, rect.height() + 48, font, labelPaint); in onDraw()
357 canvas->drawString(gSegmentNames[s2], 0, rect.height() + 60, font, labelPaint); in onDraw()
358 canvas->drawString(gSegmentNames[s3], 0, rect.height() + 72, font, labelPaint); in onDraw()
359 canvas->drawString(gSegmentNames[s4], 0, rect.height() + 84, font, labelPaint); in onDraw()
[all …]
Dlinepaths.cpp127 SkPaint labelPaint; in draw() local
128 labelPaint.setColor(color); in draw()
131 font, labelPaint); in draw()
133 font, labelPaint); in draw()
135 font, labelPaint); in draw()
Dpixelsnap.cpp52 SkPaint labelPaint; in onDraw() local
53 labelPaint.setColor(SK_ColorWHITE); in onDraw()
64 font, labelPaint); in onDraw()
74 font, labelPaint); in onDraw()
Demptypath.cpp104 SkPaint labelPaint; in onDraw() local
105 labelPaint.setColor(color); in onDraw()
108 labelFont, labelPaint); in onDraw()
110 labelFont, labelPaint); in onDraw()
Dpostercircle.cpp74 SkPaint labelPaint; in onOnceBeforeDraw() local
75 labelPaint.setAntiAlias(true); in onOnceBeforeDraw()
76 canvas->drawString(label, labelX, labelY, font, labelPaint); in onOnceBeforeDraw()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DSegmentFormatter.java38 private Paint labelPaint; field in SegmentFormatter
165 return labelPaint; in getLabelPaint()
168 public void setLabelPaint(Paint labelPaint) { in setLabelPaint() argument
169 this.labelPaint = labelPaint; in setLabelPaint()
/external/skia/docs/examples/
DBlendModes.cpp44 SkPaint labelPaint; in draw() local
45 labelPaint.setAntiAlias(true); in draw()
68 SkTextEncoding::kUTF8, 10, 10, font, labelPaint); in draw()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYGraphWidget.java413 float xPix, float yPix, Paint labelPaint) { in drawTickText() argument
439 p = new Paint(labelPaint); in drawTickText()
443 p = labelPaint; in drawTickText()
452 Paint labelPaint, Paint linePaint, boolean drawLineOnly) { in drawDomainTick() argument
463 if (labelPaint != null) { in drawDomainTick()
464 float fontHeight = FontUtils.getFontHeight(labelPaint); in drawDomainTick()
474 labelPaint); in drawDomainTick()
485 Paint labelPaint, Paint linePaint, boolean drawLineOnly) { in drawRangeTick() argument
496 if (labelPaint != null) { in drawRangeTick()
506 labelPaint); in drawRangeTick()
/external/skqp/docs/
Dillustrations.bmh590 SkPaint labelPaint = srcPaint;
615 …SkTextUtils::DrawString(canvas, SkBlendMode_Name(blend), 50, 100, labelFont, labelPaint, SkTextUti…
638 SkPaint labelPaint = srcPaint;
661 …SkTextUtils::DrawString(canvas, SkBlendMode_Name(blend), 50, 100, labelFont, labelPaint, SkTextUti…
684 SkPaint labelPaint = srcPaint;
702 SkTextUtils::DrawString(canvas, SkBlendMode_Name(blend), 50, 100, labelFont, labelPaint,
726 SkPaint labelPaint = srcPaint;
728 SkPaint dstPaint = labelPaint;
742 SkTextUtils::DrawString(canvas, SkBlendMode_Name(blend), 50, 100, labelFont, labelPaint,
763 SkPaint labelPaint = srcPaint;
[all …]