diff options
author | Mike Reed <reed@google.com> | 2009-09-15 14:31:54 -0400 |
---|---|---|
committer | Mike Reed <reed@google.com> | 2009-09-15 16:16:05 -0400 |
commit | df4cf29715146d67306595108c565d9848a6ae1a (patch) | |
tree | c6b200877b049d0c25a340188633900fae1024db /graphics | |
parent | e727f18cf2649d07a89aba19ecefed93c9d0b305 (diff) | |
download | frameworks_base-df4cf29715146d67306595108c565d9848a6ae1a.zip frameworks_base-df4cf29715146d67306595108c565d9848a6ae1a.tar.gz frameworks_base-df4cf29715146d67306595108c565d9848a6ae1a.tar.bz2 |
redraw once more on a touch-up if we've been dragging, so we can redraw in high-quality mode
update dox on BlurMaskFilter
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/BlurMaskFilter.java | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/graphics/java/android/graphics/BlurMaskFilter.java b/graphics/java/android/graphics/BlurMaskFilter.java index dbf57ac..5eafe76 100644 --- a/graphics/java/android/graphics/BlurMaskFilter.java +++ b/graphics/java/android/graphics/BlurMaskFilter.java @@ -16,13 +16,19 @@ package android.graphics; +/** + * This takes a mask, and blurs its edge by the specified radius. Whether or + * or not to include the original mask, and whether the blur goes outside, + * inside, or straddles, the original mask's border, is controlled by the + * Blur enum. + */ public class BlurMaskFilter extends MaskFilter { public enum Blur { - NORMAL(0), //!< fuzzy inside and outside - SOLID(1), //!< solid inside, fuzzy outside - OUTER(2), //!< nothing inside, fuzzy outside - INNER(3); //!< fuzzy inside, nothing outside + NORMAL(0), //!< blur inside and outside of the original border + SOLID(1), //!< include the original mask, blur outside + OUTER(2), //!< just blur outside the original border + INNER(3); //!< just blur inside the original border Blur(int value) { native_int = value; |