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 | 1335f1395bdc518cbb6dd13f2faabdd4631a0253 (patch) | |
tree | de6ce03edea22069aa0aa660c3b1e55129a2d83f /src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java | |
parent | ec0610102caf5353c07c8b271763d2509db474ee (diff) | |
download | android_packages_apps_Snap-1335f1395bdc518cbb6dd13f2faabdd4631a0253.tar.gz android_packages_apps_Snap-1335f1395bdc518cbb6dd13f2faabdd4631a0253.tar.bz2 android_packages_apps_Snap-1335f1395bdc518cbb6dd13f2faabdd4631a0253.zip |
fix ranges for various filters
Change-Id: I6790b06c5c4094c442ce19cb2ed7ddb6a4152f3a
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java index c0208765b..34cd052eb 100644 --- a/src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java +++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java @@ -3,6 +3,7 @@ package com.android.gallery3d.filtershow.filters; import android.graphics.Bitmap; import com.android.gallery3d.R; +import com.android.gallery3d.filtershow.editors.ImageOnlyEditor; public class ImageFilterNegative extends ImageFilter { @@ -17,6 +18,7 @@ public class ImageFilterNegative extends ImageFilter { representation.setButtonId(R.id.negativeButton); representation.setShowEditingControls(false); representation.setShowParameterValue(false); + representation.setEditorId(ImageOnlyEditor.ID); return representation; } |