Fix border bug and filter application
- fix layout (use framelayout)
- fix copy imagepreset
- added a current image state panel
- remove title for border images for now
bug:7256090
bug:7249672
bug:7234317
bug:7225150
Change-Id: I958628a1604c7e436e5d121556c8744f5748b1ec
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterSaturated.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterSaturated.java
index f44c6a1..d3db441 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterSaturated.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterSaturated.java
@@ -5,12 +5,8 @@
public class ImageFilterSaturated extends ImageFilter {
- public String name() {
- return "Saturated";
- }
-
- public ImageFilter copy() {
- return new ImageFilterSaturated();
+ public ImageFilterSaturated() {
+ mName = "Saturated";
}
native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float saturation);