Searched refs:mFillPaint (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ShapesActivity.java | 40 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/ |
D | GradientDrawable.java | 159 private final Paint mFillPaint = new Paint(Paint.ANTI_ALIAS_FLAG); field in GradientDrawable 693 final int prevFillAlpha = mFillPaint.getAlpha(); in draw() 735 mFillPaint.setColorFilter(null); in draw() 741 mFillPaint.setAlpha(currFillAlpha); in draw() 742 mFillPaint.setDither(st.mDither); in draw() 743 mFillPaint.setColorFilter(colorFilter); in draw() 745 mFillPaint.setColor(mAlpha << 24); in draw() 758 canvas.drawPath(mPath, mFillPaint); in draw() 770 canvas.drawRoundRect(mRect, rad, rad, mFillPaint); in draw() 775 if (mFillPaint.getColor() != 0 || colorFilter != null || in draw() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | UsageGraph.java | 42 private final Paint mFillPaint; field in UsageGraph 81 mFillPaint = new Paint(mLinePaint); in UsageGraph() 82 mFillPaint.setStyle(Style.FILL); in UsageGraph() 192 mFillPaint.setShader(new LinearGradient(0, 0, 0, getHeight(), in updateGradient() 265 canvas.drawPath(mPath, mFillPaint); in drawFilledPath()
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 77 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/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 949 if (copy.mVPathRenderer.mFillPaint != null) { in VectorDrawableCompatState() 950 mVPathRenderer.mFillPaint = new Paint(copy.mVPathRenderer.mFillPaint); in VectorDrawableCompatState() 1074 private Paint mFillPaint; field in VectorDrawableCompat.VPathRenderer 1215 if (mFillPaint == null) { in drawPath() 1216 mFillPaint = new Paint(); in drawPath() 1217 mFillPaint.setStyle(Paint.Style.FILL); in drawPath() 1218 mFillPaint.setAntiAlias(true); in drawPath() 1221 final Paint fillPaint = mFillPaint; in drawPath()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 1056 private Paint mFillPaint; field in VectorDrawable_Delegate.VPathRenderer_Delegate 1164 if (mFillPaint == null) { in drawPath() 1165 mFillPaint = new Paint(); in drawPath() 1166 mFillPaint.setStyle(Style.FILL); in drawPath() 1167 mFillPaint.setAntiAlias(true); in drawPath() 1170 final Paint fillPaint = mFillPaint; in drawPath()
|