diff options
author | Chris Craik <ccraik@google.com> | 2015-05-13 13:16:56 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-05-13 13:16:56 -0700 |
commit | b846b58f7a27f19431bf0af3f39a514ad4761690 (patch) | |
tree | fba61a5d757d04ace7030914887b35c0abeef18e /graphics | |
parent | 55e603ee9de06125751292c84f1b25fb9a78d4e4 (diff) | |
download | frameworks_base-b846b58f7a27f19431bf0af3f39a514ad4761690.zip frameworks_base-b846b58f7a27f19431bf0af3f39a514ad4761690.tar.gz frameworks_base-b846b58f7a27f19431bf0af3f39a514ad4761690.tar.bz2 |
Anti-Alias ColorDrawable
Change-Id: I4d0ee2a496de908b99b0f1d8bef1b6f861c94c6f
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/drawable/ColorDrawable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/drawable/ColorDrawable.java b/graphics/java/android/graphics/drawable/ColorDrawable.java index 8e91621..5ad31f7 100644 --- a/graphics/java/android/graphics/drawable/ColorDrawable.java +++ b/graphics/java/android/graphics/drawable/ColorDrawable.java @@ -43,7 +43,7 @@ import java.io.IOException; * @attr ref android.R.styleable#ColorDrawable_color */ public class ColorDrawable extends Drawable { - private final Paint mPaint = new Paint(); + private final Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); @ViewDebug.ExportedProperty(deepExport = true, prefix = "state_") private ColorState mColorState; |