Home
last modified time | relevance | path

Searched refs:mFillPaint (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DShapesActivity.java40 private final Paint mFillPaint; field in ShapesActivity.ShapesView
63 mFillPaint = new Paint(); in ShapesView()
64 mFillPaint.setAntiAlias(true); in ShapesView()
65 mFillPaint.setColor(0xff0000ff); in ShapesView()
66 mFillPaint.setStyle(Paint.Style.FILL); in ShapesView()
90 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mFillPaint); in onDraw()
101 canvas.drawCircle(80.0f, 45.0f, 45.0f, mFillPaint); in onDraw()
112 canvas.drawOval(mOval, mFillPaint); in onDraw()
123 canvas.drawRect(0.0f, 0.0f, 160.0f, 90.0f, mFillPaint); in onDraw()
134 canvas.drawArc(mArc, -30.0f, 70.0f, true, mFillPaint); in onDraw()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java166 private final Paint mFillPaint = new Paint(Paint.ANTI_ALIAS_FLAG); field in GradientDrawable
724 final int prevFillAlpha = mFillPaint.getAlpha(); in draw()
766 mFillPaint.setColorFilter(null); in draw()
772 mFillPaint.setAlpha(currFillAlpha); in draw()
773 mFillPaint.setDither(st.mDither); in draw()
774 mFillPaint.setColorFilter(colorFilter); in draw()
776 mFillPaint.setColor(mAlpha << 24); in draw()
789 canvas.drawPath(mPath, mFillPaint); in draw()
801 canvas.drawRoundRect(mRect, rad, rad, mFillPaint); in draw()
806 if (mFillPaint.getColor() != 0 || colorFilter != null || in draw()
[all …]
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java77 private final Paint mFillPaint = new Paint(Paint.ANTI_ALIAS_FLAG); field in TestWallpaper.ClockEngine
98 Paint paint = mFillPaint; in onCreate()
210 final Paint paint = mFillPaint; in drawFrame()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1068 private Paint mFillPaint; field in VectorDrawable_Delegate.VPathRenderer_Delegate
1178 if (mFillPaint == null) { in drawPath()
1179 mFillPaint = new Paint(); in drawPath()
1180 mFillPaint.setStyle(Style.FILL); in drawPath()
1181 mFillPaint.setAntiAlias(mAntiAlias); in drawPath()
1184 final Paint fillPaint = mFillPaint; in drawPath()