summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilterShadows.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterShadows.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterShadows.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterShadows.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterShadows.java
index c39580fd2..a2560b99e 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterShadows.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterShadows.java
@@ -31,19 +31,11 @@ public class ImageFilterShadows extends SimpleImageFilter {
FilterRepresentation representation = super.getDefaultRepresentation();
representation.setName("Shadows");
representation.setFilterClass(ImageFilterShadows.class);
+ representation.setTextId(R.string.shadow_recovery);
+ representation.setButtonId(R.id.shadowRecoveryButton);
return representation;
}
- @Override
- public int getButtonId() {
- return R.id.shadowRecoveryButton;
- }
-
- @Override
- public int getTextId() {
- return R.string.shadow_recovery;
- }
-
native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float factor);
@Override