summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java
diff options
context:
space:
mode:
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