diff options
author | Romain Guy <romainguy@google.com> | 2011-04-26 11:23:08 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-04-26 11:23:08 -0700 |
commit | 4a123c4d69a1a73d0e16834700c3fe95034fe66e (patch) | |
tree | 0cfdf32745e5a08cfe746abe1ff70ff44ca18673 /graphics/java | |
parent | 32b2698a93ac18885abbd9a9a4acb8b0b974c2c5 (diff) | |
download | frameworks_base-4a123c4d69a1a73d0e16834700c3fe95034fe66e.zip frameworks_base-4a123c4d69a1a73d0e16834700c3fe95034fe66e.tar.gz frameworks_base-4a123c4d69a1a73d0e16834700c3fe95034fe66e.tar.bz2 |
Allow bitmap filtering on NinePatchDrawable.
There's no reason to not allow it anymore.
Change-Id: Id1881784e6abb49f1965af6595a77391b88b426f
Diffstat (limited to 'graphics/java')
-rw-r--r-- | graphics/java/android/graphics/drawable/NinePatchDrawable.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/java/android/graphics/drawable/NinePatchDrawable.java b/graphics/java/android/graphics/drawable/NinePatchDrawable.java index a5175c5..c32a5b6 100644 --- a/graphics/java/android/graphics/drawable/NinePatchDrawable.java +++ b/graphics/java/android/graphics/drawable/NinePatchDrawable.java @@ -214,10 +214,8 @@ public class NinePatchDrawable extends Drawable { @Override public void setFilterBitmap(boolean filter) { - // at the moment, we see no quality improvement, but a big slowdown - // with filtering, so ignore this call for now - // - //getPaint().setFilterBitmap(filter); + getPaint().setFilterBitmap(filter); + invalidateSelf(); } @Override |