Searched refs:mStrokePaint (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ShapesActivity.java | 39 private final Paint mStrokePaint; field in ShapesActivity.ShapesView 57 mStrokePaint = new Paint(); in ShapesView() 58 mStrokePaint.setAntiAlias(true); in ShapesView() 59 mStrokePaint.setColor(0xff0000ff); in ShapesView() 60 mStrokePaint.setStrokeWidth(6.0f); in ShapesView() 61 mStrokePaint.setStyle(Paint.Style.STROKE); in ShapesView() 87 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mStrokePaint); in onDraw() 98 canvas.drawCircle(80.0f, 45.0f, 45.0f, mStrokePaint); in onDraw() 109 canvas.drawOval(mOval, mStrokePaint); in onDraw() 120 canvas.drawRect(0.0f, 0.0f, 160.0f, 90.0f, mStrokePaint); in onDraw() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 181 private Paint mStrokePaint; // optional, set by the caller field in GradientDrawable 406 if (mStrokePaint == null) { in setStrokeInternal() 407 mStrokePaint = new Paint(Paint.ANTI_ALIAS_FLAG); in setStrokeInternal() 408 mStrokePaint.setStyle(Paint.Style.STROKE); in setStrokeInternal() 410 mStrokePaint.setStrokeWidth(width); in setStrokeInternal() 411 mStrokePaint.setColor(color); in setStrokeInternal() 417 mStrokePaint.setPathEffect(e); in setStrokeInternal() 740 final int prevStrokeAlpha = mStrokePaint != null ? mStrokePaint.getAlpha() : 0; in draw() 745 final boolean haveStroke = currStrokeAlpha > 0 && mStrokePaint != null && in draw() 746 mStrokePaint.getStrokeWidth() > 0; in draw() [all …]
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 78 private final Paint mStrokePaint = new Paint(Paint.ANTI_ALIAS_FLAG); field in TestWallpaper.ClockEngine 101 paint = mStrokePaint; in onCreate() 219 mStrokePaint.setColor(STABLE_COLOR); in drawFrame() 222 mStrokePaint); in drawFrame()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 1067 private Paint mStrokePaint; field in VectorDrawable_Delegate.VPathRenderer_Delegate 1213 if (mStrokePaint == null) { in drawPath() 1214 mStrokePaint = new Paint(); in drawPath() 1215 mStrokePaint.setStyle(Style.STROKE); in drawPath() 1216 mStrokePaint.setAntiAlias(mAntiAlias); in drawPath() 1219 final Paint strokePaint = mStrokePaint; in drawPath()
|