summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-02-11 09:55:33 -0800
committernicolasroard <nicolasroard@google.com>2013-02-11 13:49:11 -0800
commit6900cad45d240c9a54b92991538b6a33652e766c (patch)
tree1eabeedd80a3fd05c4ea607377ea277c4ce249a2 /src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
parentcef6ad5d4a60a6e2960f7f72de624d5e60b3908a (diff)
downloadandroid_packages_apps_Gallery2-6900cad45d240c9a54b92991538b6a33652e766c.tar.gz
android_packages_apps_Gallery2-6900cad45d240c9a54b92991538b6a33652e766c.tar.bz2
android_packages_apps_Gallery2-6900cad45d240c9a54b92991538b6a33652e766c.zip
Cleaning filters
Change-Id: I413b935f90cebdab37d3db73d7fcb0fe77a64579
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
index 569a6f276..e36f096ad 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
@@ -30,19 +30,11 @@ public class ImageFilterExposure extends SimpleImageFilter {
FilterRepresentation representation = super.getDefaultRepresentation();
representation.setName("Exposure");
representation.setFilterClass(ImageFilterExposure.class);
+ representation.setTextId(R.string.exposure);
+ representation.setButtonId(R.id.exposureButton);
return representation;
}
- @Override
- public int getButtonId() {
- return R.id.exposureButton;
- }
-
- @Override
- public int getTextId() {
- return R.string.exposure;
- }
-
native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float bright);
@Override