/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
D | SegmentFormatter.java | 20 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPaintTest.java | 9 import android.graphics.Paint; 20 Paint paint = Shadow.newInstanceOf(Paint.class); in shouldGetIsDitherInfo() 29 Paint paint = Shadow.newInstanceOf(Paint.class); in shouldGetIsAntiAlias() 40 assertThat(new Paint(Paint.ANTI_ALIAS_FLAG).isAntiAlias()).isTrue(); in testCtor() 41 assertThat(new Paint(0).isAntiAlias()).isFalse(); in testCtor() 46 Paint paint = new Paint(); in testCtorWithPaint() 51 Paint other = new Paint(paint); in testCtorWithPaint() 59 Paint paint = Shadow.newInstanceOf(Paint.class); in shouldGetAndSetTextAlignment() 60 assertThat(paint.getTextAlign()).isEqualTo(Paint.Align.LEFT); in shouldGetAndSetTextAlignment() 61 paint.setTextAlign(Paint.Align.CENTER); in shouldGetAndSetTextAlignment() [all …]
|
D | ShadowCanvasTest.java | 13 import android.graphics.Paint; 37 canvas.drawBitmap(imageBitmap, 1, 2, new Paint()); in shouldDescribeBitmapDrawing() 38 canvas.drawBitmap(imageBitmap, 100, 200, new Paint()); in shouldDescribeBitmapDrawing() 50 canvas.drawBitmap(imageBitmap, new Rect(1,2,3,4), new Rect(5,6,7,8), new Paint()); in shouldDescribeBitmapDrawing_withDestinationRect() 58 canvas.drawBitmap(imageBitmap, new Rect(1,2,3,4), new RectF(5.0f,6.0f,7.5f,8.5f), new Paint()); in shouldDescribeBitmapDrawing_withDestinationRectF() 66 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix() 67 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix() 79 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription() 80 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription() 103 Paint paint = new Paint(); in drawPath_shouldRecordThePathAndThePaint() [all …]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYGraphWidget.java | 82 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 …]
|
D | BarFormatter.java | 18 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 …]
|
D | LineAndPointFormatter.java | 21 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 …]
|
D | ValueMarker.java | 20 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 …]
|
D | PointLabelFormatter.java | 21 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()
|
D | XYRegionFormatter.java | 20 import android.graphics.Paint; 29 private Paint paint = new Paint(); 32 paint.setStyle(Paint.Style.FILL); 70 public Paint getPaint() { in getPaint()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPaint.java | 6 import android.graphics.Paint; 17 @Implements(Paint.class) 21 private Paint.Style style; 22 private Paint.Cap cap; 23 private Paint.Join join; 37 @RealObject Paint paint; 40 private Paint.Align textAlign = Paint.Align.LEFT; 43 protected void __constructor__(Paint otherPaint) { in __constructor__() 62 Shadow.invokeConstructor(Paint.class, paint, ClassParameter.from(Paint.class, otherPaint)); in __constructor__() 112 protected void setStyle(Paint.Style style) { in setStyle() [all …]
|
D | ShadowCanvas.java | 9 import android.graphics.Paint; 36 private Paint drawnPaint; 77 protected void drawText(String text, float x, float y, Paint paint) { in drawText() 82 protected void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { in drawText() 88 protected void drawText(char[] text, int index, int count, float x, float y, Paint paint) { in drawText() 93 protected void drawText(String text, int start, int end, float x, float y, Paint paint) { in drawText() 116 protected void drawPaint(Paint paint) { in drawPaint() 126 protected void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap() 141 protected void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { in drawBitmap() 157 protected void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { in drawBitmap() [all …]
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
D | LayoutManager.java | 30 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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | GlitchAndCallbackHeatMapView.java | 23 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 …]
|
D | HistogramView.java | 22 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 …]
|
D | WavePlotView.java | 23 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/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/ |
D | DrawManager.java | 26 import android.graphics.Paint; 113 Paint p = new Paint(); in drawCircle() 132 Paint p = new Paint(); in drawAnimatedRoundRect() 148 Paint p = new Paint(); in drawRect() 165 Paint p = new Paint(); in drawText() 215 Paint p = new Paint(); in drawFingerPainting() 216 p.setStyle(Paint.Style.STROKE); in drawFingerPainting() 273 Paint p = new Paint(); in drawPointCloud() 275 p.setStrokeCap(Paint.Cap.SQUARE); in drawPointCloud() 335 Paint p = new Paint(); in drawPlaneOutline() [all …]
|
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/ |
D | DrawManager.java | 26 import android.graphics.Paint; 113 Paint p = new Paint(); in drawCircle() 132 Paint p = new Paint(); in drawAnimatedRoundRect() 148 Paint p = new Paint(); in drawRect() 165 Paint p = new Paint(); in drawText() 215 Paint p = new Paint(); in drawFingerPainting() 216 p.setStyle(Paint.Style.STROKE); in drawFingerPainting() 273 Paint p = new Paint(); in drawPointCloud() 275 p.setStrokeCap(Paint.Cap.SQUARE); in drawPointCloud() 335 Paint p = new Paint(); in drawPlaneOutline() [all …]
|
/external/skia/experimental/go-skia/ |
D | skia.go | 101 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/skqp/experimental/go-skia/ |
D | skia.go | 101 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/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
D | UberColorPickerDialog.java | 43 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/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/ |
D | BorderedText.java | 20 import android.graphics.Paint; 21 import android.graphics.Paint.Align; 22 import android.graphics.Paint.Style; 31 private final Paint interiorPaint; 32 private final Paint exteriorPaint; 55 interiorPaint = new Paint(); in BorderedText() 62 exteriorPaint = new Paint(); in BorderedText()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
D | BorderedText.java | 20 import android.graphics.Paint; 21 import android.graphics.Paint.Align; 22 import android.graphics.Paint.Style; 31 private final Paint interiorPaint; 32 private final Paint exteriorPaint; 55 interiorPaint = new Paint(); in BorderedText() 62 exteriorPaint = new Paint(); in BorderedText()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | FontUtils.java | 19 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()
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
D | RecognitionScoreView.java | 20 import android.graphics.Paint; 31 private final Paint fgPaint; 32 private final Paint bgPaint; 40 fgPaint = new Paint(); in RecognitionScoreView() 43 bgPaint = new Paint(); in RecognitionScoreView()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | RecognitionScoreView.java | 20 import android.graphics.Paint; 33 private final Paint fgPaint; 34 private final Paint bgPaint; 42 fgPaint = new Paint(); in RecognitionScoreView() 45 bgPaint = new Paint(); in RecognitionScoreView()
|