diff options
author | John Hoford <hoford@google.com> | 2013-02-12 16:59:13 -0800 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-02-12 17:01:49 -0800 |
commit | 4b1e6fbdf437b7a25fb3eb18a2ed43c9ab4eccc8 (patch) | |
tree | e8944decfc49fe60d3941c01adb5a27721551761 /src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java | |
parent | a241341de88c982bc619d25f0455561075d177e8 (diff) | |
download | android_packages_apps_Gallery2-4b1e6fbdf437b7a25fb3eb18a2ed43c9ab4eccc8.tar.gz android_packages_apps_Gallery2-4b1e6fbdf437b7a25fb3eb18a2ed43c9ab4eccc8.tar.bz2 android_packages_apps_Gallery2-4b1e6fbdf437b7a25fb3eb18a2ed43c9ab4eccc8.zip |
fix ranges for various filters
Change-Id: I6790b06c5c4094c442ce19cb2ed7ddb6a4152f3a
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java index 8bb35f853..7a8df71af 100644 --- a/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java +++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java @@ -27,11 +27,15 @@ public class ImageFilterExposure extends SimpleImageFilter { } public FilterRepresentation getDefaultRepresentation() { - FilterRepresentation representation = super.getDefaultRepresentation(); + FilterBasicRepresentation representation = + (FilterBasicRepresentation) super.getDefaultRepresentation(); representation.setName("Exposure"); representation.setFilterClass(ImageFilterExposure.class); representation.setTextId(R.string.exposure); representation.setButtonId(R.id.exposureButton); + representation.setMinimum(-100); + representation.setMaximum(100); + representation.setDefaultValue(0); return representation; } |