/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/ |
D | TextLabelWidget.java | 28 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/skia/gm/ |
D | constcolorprocessor.cpp | 118 SkPaint labelPaint; in onDraw() local 119 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 120 labelPaint.setAntiAlias(true); in onDraw() 121 labelPaint.setTextSize(10.f); in onDraw() 134 labelPaint.measureText(inputLabel.c_str(), inputLabel.size(), in onDraw() 138 -inputLabelBounds.fTop, labelPaint); in onDraw() 143 labelPaint.measureText(procLabel.c_str(), procLabel.size(), in onDraw() 148 labelPaint); in onDraw() 152 labelPaint.setStrokeWidth(0); in onDraw() 153 labelPaint.setStyle(SkPaint::kStroke_Style); in onDraw() [all …]
|
D | shadertext2.cpp | 99 SkPaint labelPaint; variable 100 labelPaint.setColor(0xff000000); 101 labelPaint.setAntiAlias(true); 102 sk_tool_utils::set_portable_typeface(&labelPaint); 103 labelPaint.setTextSize(12.f); 107 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); 110 canvas->drawString(kLabelLabel, 0, 0, labelPaint); 118 0, labelPaint.getTextSize() - 1, labelPaint); 119 SkScalar labelW = labelPaint.measureText(matrices[lm].fLabel, 136 0, labelPaint.getTextSize() - 1, labelPaint); [all …]
|
D | quadpaths.cpp | 130 SkPaint labelPaint; in onDraw() local 131 labelPaint.setColor(color); in onDraw() 132 labelPaint.setAntiAlias(true); in onDraw() 133 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 134 labelPaint.setTextSize(10 * SK_Scalar1); in onDraw() 137 labelPaint); in onDraw() 140 labelPaint); in onDraw() 143 labelPaint); in onDraw() 271 SkPaint labelPaint; in onDraw() local 272 labelPaint.setColor(color); in onDraw() [all …]
|
D | pixelsnap.cpp | 45 SkPaint labelPaint; in onDraw() local 46 labelPaint.setAntiAlias(true); in onDraw() 47 labelPaint.setColor(SK_ColorWHITE); in onDraw() 48 labelPaint.setTextSize(SkIntToScalar(kLabelTextSize)); in onDraw() 49 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 59 0, i * kTrans + labelPaint.getTextSize(), in onDraw() 60 labelPaint); in onDraw() 70 i * SkIntToScalar(kTrans), labelPaint.getTextSize(), in onDraw() 71 labelPaint); in onDraw()
|
D | linepaths.cpp | 123 SkPaint labelPaint; in draw() local 124 labelPaint.setColor(color); in draw() 125 labelPaint.setAntiAlias(true); in draw() 126 sk_tool_utils::set_portable_typeface(&labelPaint); in draw() 127 labelPaint.setTextSize(10 * SK_Scalar1); in draw() 130 labelPaint); in draw() 133 labelPaint); in draw() 136 labelPaint); in draw()
|
D | cubicpaths.cpp | 242 SkPaint labelPaint; in onDraw() local 243 labelPaint.setColor(color); in onDraw() 244 labelPaint.setAntiAlias(true); in onDraw() 245 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 246 labelPaint.setTextSize(10 * SK_Scalar1); in onDraw() 249 labelPaint); in onDraw() 252 labelPaint); in onDraw() 255 labelPaint); in onDraw() 384 SkPaint labelPaint; in onDraw() local 385 labelPaint.setColor(color); in onDraw() [all …]
|
D | degeneratesegments.cpp | 349 SkPaint labelPaint; in onDraw() local 350 labelPaint.setColor(color); in onDraw() 351 labelPaint.setAntiAlias(true); in onDraw() 352 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 353 labelPaint.setTextSize(10 * SK_Scalar1); in onDraw() 356 labelPaint); in onDraw() 359 labelPaint); in onDraw() 362 labelPaint); in onDraw() 365 labelPaint); in onDraw() 368 labelPaint); in onDraw() [all …]
|
D | emptypath.cpp | 107 SkPaint labelPaint; in onDraw() local 108 labelPaint.setColor(color); in onDraw() 109 labelPaint.setAntiAlias(true); in onDraw() 110 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 111 labelPaint.setTextSize(12 * SK_Scalar1); in onDraw() 114 labelPaint); in onDraw() 117 labelPaint); in onDraw()
|
/external/skqp/gm/ |
D | constcolorprocessor.cpp | 118 SkPaint labelPaint; in onDraw() local 119 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 120 labelPaint.setAntiAlias(true); in onDraw() 121 labelPaint.setTextSize(10.f); in onDraw() 134 labelPaint.measureText(inputLabel.c_str(), inputLabel.size(), in onDraw() 138 -inputLabelBounds.fTop, labelPaint); in onDraw() 143 labelPaint.measureText(procLabel.c_str(), procLabel.size(), in onDraw() 148 labelPaint); in onDraw() 152 labelPaint.setStrokeWidth(0); in onDraw() 153 labelPaint.setStyle(SkPaint::kStroke_Style); in onDraw() [all …]
|
D | shadertext2.cpp | 99 SkPaint labelPaint; variable 100 labelPaint.setColor(0xff000000); 101 labelPaint.setAntiAlias(true); 102 sk_tool_utils::set_portable_typeface(&labelPaint); 103 labelPaint.setTextSize(12.f); 107 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); 110 canvas->drawString(kLabelLabel, 0, 0, labelPaint); 118 0, labelPaint.getTextSize() - 1, labelPaint); 119 SkScalar labelW = labelPaint.measureText(matrices[lm].fLabel, 136 0, labelPaint.getTextSize() - 1, labelPaint); [all …]
|
D | quadpaths.cpp | 130 SkPaint labelPaint; in onDraw() local 131 labelPaint.setColor(color); in onDraw() 132 labelPaint.setAntiAlias(true); in onDraw() 133 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 134 labelPaint.setTextSize(10 * SK_Scalar1); in onDraw() 137 labelPaint); in onDraw() 140 labelPaint); in onDraw() 143 labelPaint); in onDraw() 271 SkPaint labelPaint; in onDraw() local 272 labelPaint.setColor(color); in onDraw() [all …]
|
D | pixelsnap.cpp | 45 SkPaint labelPaint; in onDraw() local 46 labelPaint.setAntiAlias(true); in onDraw() 47 labelPaint.setColor(SK_ColorWHITE); in onDraw() 48 labelPaint.setTextSize(SkIntToScalar(kLabelTextSize)); in onDraw() 49 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 59 0, i * kTrans + labelPaint.getTextSize(), in onDraw() 60 labelPaint); in onDraw() 70 i * SkIntToScalar(kTrans), labelPaint.getTextSize(), in onDraw() 71 labelPaint); in onDraw()
|
D | linepaths.cpp | 123 SkPaint labelPaint; in draw() local 124 labelPaint.setColor(color); in draw() 125 labelPaint.setAntiAlias(true); in draw() 126 sk_tool_utils::set_portable_typeface(&labelPaint); in draw() 127 labelPaint.setTextSize(10 * SK_Scalar1); in draw() 130 labelPaint); in draw() 133 labelPaint); in draw() 136 labelPaint); in draw()
|
D | cubicpaths.cpp | 242 SkPaint labelPaint; in onDraw() local 243 labelPaint.setColor(color); in onDraw() 244 labelPaint.setAntiAlias(true); in onDraw() 245 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 246 labelPaint.setTextSize(10 * SK_Scalar1); in onDraw() 249 labelPaint); in onDraw() 252 labelPaint); in onDraw() 255 labelPaint); in onDraw() 384 SkPaint labelPaint; in onDraw() local 385 labelPaint.setColor(color); in onDraw() [all …]
|
D | degeneratesegments.cpp | 349 SkPaint labelPaint; in onDraw() local 350 labelPaint.setColor(color); in onDraw() 351 labelPaint.setAntiAlias(true); in onDraw() 352 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 353 labelPaint.setTextSize(10 * SK_Scalar1); in onDraw() 356 labelPaint); in onDraw() 359 labelPaint); in onDraw() 362 labelPaint); in onDraw() 365 labelPaint); in onDraw() 368 labelPaint); in onDraw() [all …]
|
D | emptypath.cpp | 107 SkPaint labelPaint; in onDraw() local 108 labelPaint.setColor(color); in onDraw() 109 labelPaint.setAntiAlias(true); in onDraw() 110 sk_tool_utils::set_portable_typeface(&labelPaint); in onDraw() 111 labelPaint.setTextSize(12 * SK_Scalar1); in onDraw() 114 labelPaint); in onDraw() 117 labelPaint); in onDraw()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
D | SegmentFormatter.java | 38 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/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYGraphWidget.java | 413 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()
|