Home
last modified time | relevance | path

Searched refs:Paint (Results 1 – 25 of 69) sorted by relevance

123

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DSegmentFormatter.java20 import android.graphics.Paint;
33 private Paint innerEdgePaint;
34 private Paint outerEdgePaint;
35 private Paint radialEdgePaint;
36 private Paint fillPaint;
38 private Paint labelPaint;
39 private Paint labelMarkerPaint;
42 setFillPaint(new Paint()); in setFillPaint() argument
44 setOuterEdgePaint(new Paint()); in setOuterEdgePaint() argument
45 getOuterEdgePaint().setStyle(Paint.Style.STROKE);
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYGraphWidget.java82 private Paint gridBackgroundPaint;
83 private Paint rangeGridLinePaint;
84 private Paint rangeSubGridLinePaint;
85 private Paint domainGridLinePaint;
86 private Paint domainSubGridLinePaint;
87 private Paint domainLabelPaint;
88 private Paint rangeLabelPaint;
89 private Paint domainCursorPaint;
90 private Paint rangeCursorPaint;
91 private Paint cursorLabelPaint;
[all …]
DBarFormatter.java18 import android.graphics.Paint;
23 public Paint getFillPaint() { in getFillPaint()
27 public void setFillPaint(Paint fillPaint) { in setFillPaint()
31 public Paint getBorderPaint() { in getBorderPaint()
35 public void setBorderPaint(Paint borderPaint) { in setBorderPaint()
39 private Paint fillPaint;
40 private Paint borderPaint;
43 fillPaint = new Paint();
45 fillPaint.setStyle(Paint.Style.FILL);
47 borderPaint = new Paint();
[all …]
DLineAndPointFormatter.java21 import android.graphics.Paint;
57 protected Paint linePaint;
58 protected Paint vertexPaint;
59 protected Paint fillPaint;
99 linePaint = new Paint(); in initLinePaint()
103 linePaint.setStyle(Paint.Style.STROKE); in initLinePaint()
111 vertexPaint = new Paint(); in initVertexPaint()
115 vertexPaint.setStrokeCap(Paint.Cap.ROUND); in initVertexPaint()
123 fillPaint = new Paint(); in initFillPaint()
143 public Paint getLinePaint() { in getLinePaint()
[all …]
DValueMarker.java20 import android.graphics.Paint;
42 private Paint linePaint;
43 private Paint textPaint;
51 linePaint = new Paint();
54 linePaint.setStyle(Paint.Style.STROKE);
55 textPaint = new Paint();
78 …rker(Number value, String text, PositionMetricType textPosition, Paint linePaint, Paint textPaint)… in ValueMarker()
100 public Paint getLinePaint() { in getLinePaint()
104 public void setLinePaint(Paint linePaint) { in setLinePaint()
108 public Paint getTextPaint() { in getTextPaint()
[all …]
DPointLabelFormatter.java21 import android.graphics.Paint;
29 private Paint textPaint;
55 public Paint getTextPaint() { in getTextPaint()
59 public void setTextPaint(Paint textPaint) { in setTextPaint()
67 setTextPaint(new Paint()); in initTextPaint()
70 getTextPaint().setTextAlign(Paint.Align.CENTER); in initTextPaint()
DXYRegionFormatter.java20 import android.graphics.Paint;
29 private Paint paint = new Paint();
32 paint.setStyle(Paint.Style.FILL);
70 public Paint getPaint() { in getPaint()
DXYLegendWidget.java49 private Paint textPaint;
50 private Paint iconBorderPaint;
60 textPaint = new Paint();
64 iconBorderPaint = new Paint();
65 iconBorderPaint.setStyle(Paint.Style.STROKE);
99 Paint bgPaint = plot.getGraphWidget().getGridBackgroundPaint(); in beginDrawingCell()
107 Paint bgPaint = plot.getGraphWidget().getGridBackgroundPaint(); in finishDrawingCell()
208 public Paint getTextPaint() { in getTextPaint()
212 public void setTextPaint(Paint textPaint) { in setTextPaint()
DXValueMarker.java19 import android.graphics.Paint;
42 …eMarker(Number value, String text, YPositionMetric textPosition, Paint linePaint, Paint textPaint)… in XValueMarker()
DYValueMarker.java19 import android.graphics.Paint;
43 …eMarker(Number value, String text, XPositionMetric textPosition, Paint linePaint, Paint textPaint)… in YValueMarker()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DLayoutManager.java30 private Paint anchorPaint;
32 private Paint outlinePaint;
34 private Paint outlineShadowPaint;
36 private Paint marginPaint;
38 private Paint paddingPaint;
46 anchorPaint = new Paint();
47 anchorPaint.setStyle(Paint.Style.FILL);
49 outlinePaint = new Paint();
51 outlinePaint.setStyle(Paint.Style.STROKE);
52 marginPaint = new Paint();
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPaint.java4 import android.graphics.Paint;
15 @Implements(Paint.class)
19 private Paint.Style style;
20 private Paint.Cap cap;
21 private Paint.Join join;
34 @RealObject Paint paint;
38 antiAlias = ( flags & Paint.ANTI_ALIAS_FLAG ) == Paint.ANTI_ALIAS_FLAG; in __constructor__()
79 public void setStyle(Paint.Style style) { in setStyle()
84 public Paint.Style getStyle() { in getStyle()
89 public void setStrokeCap(Paint.Cap cap) { in setStrokeCap()
[all …]
DShadowCanvas.java25 private Paint drawnPaint;
63 public void drawPaint(Paint paint) { in drawPaint()
73 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap()
88 public void drawPath(Path path, Paint paint) { in drawPath()
95 private void describeBitmap(Bitmap bitmap, Paint paint) { in describeBitmap()
115 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { in drawBitmap()
137 public Paint getDrawnPathPaint(int i) { in getDrawnPathPaint()
154 public Paint getDrawnPaint() { in getDrawnPaint()
160 private Paint pathPaint;
162 PathPaintHistoryEvent(Path drawnPath, Paint pathPaint) { in PathPaintHistoryEvent()
[all …]
DShadowShapeDrawable.java3 import android.graphics.Paint;
11 private Paint paint = new Paint();
14 public android.graphics.Paint getPaint() { in getPaint()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPaintTest.java6 import android.graphics.Paint;
20 Paint paint = Robolectric.newInstanceOf(Paint.class); in shouldGetIsDitherInfo()
29 Paint paint = Robolectric.newInstanceOf(Paint.class); in shouldGetIsAntiAlias()
38 Paint paint = Robolectric.newInstanceOf(Paint.class); in testCtor()
41 shadowPaint.__constructor__( Paint.ANTI_ALIAS_FLAG ); in testCtor()
DCanvasTest.java29 canvas.drawBitmap(imageBitmap, 1, 2, new Paint()); in shouldDescribeBitmapDrawing()
30 canvas.drawBitmap(imageBitmap, 100, 200, new Paint()); in shouldDescribeBitmapDrawing()
42 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix()
43 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix()
55 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription()
56 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription()
79 Paint paint = new Paint(); in drawPath_shouldRecordThePathAndThePaint()
99 Paint paint = new Paint(); in drawPath_shouldAppendDescriptionToBitmap()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DFontUtils.java19 import android.graphics.Paint;
29 public static float getFontHeight(Paint paint) { in getFontHeight()
30 Paint.FontMetrics metrics = paint.getFontMetrics(); in getFontHeight()
41 public static Rect getPackedStringDimensions(String text, Paint paint) { in getPackedStringDimensions()
55 public static Rect getStringDimensions(String text, Paint paint) { in getStringDimensions()
DPaintUtils.java18 import android.graphics.Paint;
36 public static void setLineSizeDp(Paint paint, float lineSizeDp){ in setLineSizeDp()
45 public static void setFontSizeDp(Paint paint, float fontSizeDp){ in setFontSizeDp()
57 public static void setShadowDp(Paint paint, float radiusDp, float dxDp, float dyDp, int color) { in setShadowDp()
DPlotStatistics.java21 import android.graphics.Paint;
49 private Paint paint;
51 paint = new Paint();
52 paint.setTextAlign(Paint.Align.CENTER);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslatorClassIntrumentedTest.java4 import android.graphics.Paint;
23 Paint paint = new Paint(); in testNativeMethodsAreDelegated()
87 @Implements(Paint.class)
103 public static class CustomPaint extends Paint {
131 public static class CustomXmasPaint extends Paint {
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DGlideBitmapDrawable.java7 import android.graphics.Paint;
140 private static final int DEFAULT_PAINT_FLAGS = Paint.FILTER_BITMAP_FLAG | Paint.DITHER_FLAG;
141 private static final Paint DEFAULT_PAINT = new Paint(DEFAULT_PAINT_FLAGS);
147 Paint paint = DEFAULT_PAINT;
173 paint = new Paint(DEFAULT_PAINT_FLAGS); in mutatePaint()
DTransformationUtils.java7 import android.graphics.Paint;
20 …public static final int PAINT_FLAGS = Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG | Paint.FILTER_BIT…
70 Paint paint = new Paint(PAINT_FLAGS); in centerCrop()
128 Paint paint = new Paint(PAINT_FLAGS); in fitCenter()
279 final Paint paint = new Paint(PAINT_FLAGS); in rotateImageExif()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DTextLabelWidget.java28 private Paint labelPaint;
35 labelPaint = new Paint();
38 labelPaint.setTextAlign(Paint.Align.CENTER);
142 public Paint getLabelPaint() { in getLabelPaint()
146 public void setLabelPaint(Paint labelPaint) { in setLabelPaint()
DWidget.java33 private Paint borderPaint;
34 private Paint backgroundPaint;
364 public Paint getBorderPaint() { in getBorderPaint()
368 public void setBorderPaint(Paint borderPaint) { in setBorderPaint()
372 public Paint getBackgroundPaint() { in getBackgroundPaint()
376 public void setBackgroundPaint(Paint backgroundPaint) { in setBackgroundPaint()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
DPlot.java113 private Paint borderPaint;
114 private Paint backgroundPaint;
145 borderPaint = new Paint();
147 borderPaint.setStyle(Paint.Style.STROKE);
150 backgroundPaint = new Paint();
152 backgroundPaint.setStyle(Paint.Style.FILL);
750 public Paint getBackgroundPaint() { in getBackgroundPaint()
754 public void setBackgroundPaint(Paint backgroundPaint) { in setBackgroundPaint()
850 public Paint getBorderPaint() { in getBorderPaint()
860 public void setBorderPaint(Paint borderPaint) { in setBorderPaint()
[all …]

123