diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2013-08-06 20:58:03 +0200 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2013-08-06 20:58:03 +0200 |
commit | 1ed15c65670d601dd53461024538a4e56df5b6de (patch) | |
tree | 3955961dd1212129cbf0c6cdef37427c5a211ea6 /src/org/cyanogenmod/wallpapers/photophase/effects | |
parent | 0fb42affb3fe71753efc8cd9a19446b79ddd61d9 (diff) | |
download | android_packages_wallpapers_PhotoPhase-1ed15c65670d601dd53461024538a4e56df5b6de.tar.gz android_packages_wallpapers_PhotoPhase-1ed15c65670d601dd53461024538a4e56df5b6de.tar.bz2 android_packages_wallpapers_PhotoPhase-1ed15c65670d601dd53461024538a4e56df5b6de.zip |
Fix vignette name
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'src/org/cyanogenmod/wallpapers/photophase/effects')
-rw-r--r-- | src/org/cyanogenmod/wallpapers/photophase/effects/Effects.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/org/cyanogenmod/wallpapers/photophase/effects/Effects.java b/src/org/cyanogenmod/wallpapers/photophase/effects/Effects.java index 4e09c7c..42d4d98 100644 --- a/src/org/cyanogenmod/wallpapers/photophase/effects/Effects.java +++ b/src/org/cyanogenmod/wallpapers/photophase/effects/Effects.java @@ -97,9 +97,9 @@ public class Effects { */ TINT, /** - * @see EffectFactory#EFFECT_VIGNETE + * @see EffectFactory#EFFECT_VIGNETTE */ - VIGNETE; + VIGNETTE; } @@ -109,6 +109,7 @@ public class Effects { * @param effectContext The android media effects context * @return Effect The next effect to use or null if no need to apply any effect */ + @SuppressWarnings("boxing") public static Effect getNextEffect(EffectContext effectContext) { // Get a new instance of a effect factory EffectFactory effectFactory = effectContext.getFactory(); @@ -186,7 +187,7 @@ public class Effects { if (EffectFactory.isEffectSupported(EffectFactory.EFFECT_TINT)) { effect = effectFactory.createEffect(EffectFactory.EFFECT_TINT); } - } else if (type == EFFECTS.VIGNETE.ordinal()) { + } else if (type == EFFECTS.VIGNETTE.ordinal()) { if (EffectFactory.isEffectSupported(EffectFactory.EFFECT_VIGNETTE)) { effect = effectFactory.createEffect(EffectFactory.EFFECT_VIGNETTE); effect.setParameter("scale", .5f); |