diff options
author | John Hoford <hoford@google.com> | 2012-10-11 09:13:40 -0700 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2012-10-11 09:13:40 -0700 |
commit | 6f1dfae8dff9114b59d4ae4e44a6cec68d791950 (patch) | |
tree | 387caf5cc0a3e04a98d4c50d8f08d20a77f6b70c /src/com/android/gallery3d/filtershow/filters/ImageFilterFx.java | |
parent | 823824122d04c9b0073f3bd13c292abdec210de9 (diff) | |
download | android_packages_apps_Snap-6f1dfae8dff9114b59d4ae4e44a6cec68d791950.tar.gz android_packages_apps_Snap-6f1dfae8dff9114b59d4ae4e44a6cec68d791950.tar.bz2 android_packages_apps_Snap-6f1dfae8dff9114b59d4ae4e44a6cec68d791950.zip |
Fix application of FX to not wipe out borders etc.
bug:7289442
Change-Id: I9efdfdc1d8a8c02a718e91a089b531ff26fd582d
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterFx.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/ImageFilterFx.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterFx.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterFx.java index 00fd20cf5..1575b18bb 100644 --- a/src/com/android/gallery3d/filtershow/filters/ImageFilterFx.java +++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterFx.java @@ -13,8 +13,9 @@ public class ImageFilterFx extends ImageFilter { private static final String TAG = "ImageFilterFx"; Bitmap fxBitmap; - public ImageFilterFx(Bitmap fxBitmap) { - mName = "fx"; + public ImageFilterFx(Bitmap fxBitmap,String name) { + setFilterType(TYPE_FX); + mName = name; this.fxBitmap = fxBitmap; } |