Home
last modified time | relevance | path

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

1234

/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()
/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/v1/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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DGlitchAndCallbackHeatMapView.java23 import android.graphics.Paint;
94 canvas.drawBitmap(bmpResult, tmpCanvas.getMatrix(), new Paint(Paint.ANTI_ALIAS_FLAG)); in onDraw()
106 final Paint heatPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in fillCanvas()
107 heatPaint.setStyle(Paint.Style.FILL); in fillCanvas()
109 final Paint textPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in fillCanvas()
112 textPaint.setTextAlign(Paint.Align.CENTER); in fillCanvas()
114 final Paint titlePaint = new Paint(Paint.ANTI_ALIAS_FLAG); in fillCanvas()
116 titlePaint.setTextAlign(Paint.Align.CENTER); in fillCanvas()
119 final Paint linePaint = new Paint(Paint.ANTI_ALIAS_FLAG); in fillCanvas()
121 linePaint.setStyle(Paint.Style.STROKE); in fillCanvas()
[all …]
DHistogramView.java22 import android.graphics.Paint;
37 private Paint mHistPaint;
38 private Paint mTextPaint;
39 private Paint mLinePaint;
40 private Paint mXLabelPaint;
67 mHistPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in initPaints()
68 mHistPaint.setStyle(Paint.Style.FILL); in initPaints()
71 mTextPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in initPaints()
75 mXLabelPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in initPaints()
79 mLinePaint = new Paint(Paint.ANTI_ALIAS_FLAG); in initPaints()
[all …]
DWavePlotView.java23 import android.graphics.Paint;
25 import android.graphics.Paint.Style;
66 private Paint mMyPaint;
67 private Paint mPaintZoomBox;
68 private Paint mPaintInsetBackground;
69 private Paint mPaintInsetBorder;
70 private Paint mPaintInset;
71 private Paint mPaintGrid;
72 private Paint mPaintGridText;
104 mMyPaint = new Paint(); in initPaints()
[all …]
/external/robolectric/v1/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/skia/src/gpu/text/
DGrTextUtils.h48 class Paint {
50 explicit Paint(const SkPaint* paint, in Paint() function
76 Paint() = default;
91 class RunPaint : public Paint {
93 RunPaint(const Paint* paint, SkDrawFilter* filter, const SkSurfaceProps& props) in RunPaint()
106 const Paint* fOriginalPaint;
113 const SkSurfaceProps&, const Paint& paint, uint32_t scalerContextFlags,
118 const SkSurfaceProps&, const Paint& paint,
128 const SkSurfaceProps&, const Paint& paint, uint32_t scalerContextFlags,
133 const SkSurfaceProps&, const Paint& paint,
/external/skia/experimental/go-skia/
Dskia.go101 func (c *Canvas) DrawPaint(paint *Paint) {
105 func (c *Canvas) DrawOval(rect *Rect, paint *Paint) {
110 func (c *Canvas) DrawRect(rect *Rect, paint *Paint) {
115 func (c *Canvas) DrawPath(path *Path, paint *Paint) {
123 type Paint struct { struct
127 func NewPaint() *Paint {
128 ret := &Paint{ptr: C.sk_paint_new()}
129 runtime.SetFinalizer(ret, func(p *Paint) {
135 func (p *Paint) SetColor(color Color) { argument
139 func (p *Paint) SetAntiAlias(antiAlias bool) { argument
[all …]
/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()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java43 import android.graphics.Paint;
173 private Paint mSwatchOld, mSwatchNew;
177 private Paint mOvalHueSat;
185 private Paint mValDimmer;
189 private Paint mOvalHueSatSmall;
191 private Paint mPosMarker;
192 private Paint mText;
298 mSwatchOld = new Paint(Paint.ANTI_ALIAS_FLAG); in ColorPickerView()
299 mSwatchOld.setStyle(Paint.Style.FILL); in ColorPickerView()
302 mSwatchNew = new Paint(Paint.ANTI_ALIAS_FLAG); in ColorPickerView()
[all …]
/external/robolectric/v1/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()

1234