diff options
author | John Hoford <hoford@google.com> | 2013-02-12 11:55:50 -0800 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-02-12 12:11:35 -0800 |
commit | c04f50dd1ed5523c21e587bc899e7d3610e68b25 (patch) | |
tree | c968e18872ef3ef9a155f440eef9e3389667f132 /src/com/android/gallery3d/filtershow/editors | |
parent | 3d3a66695f3d022a71e8b9c77326eb68cd15b31d (diff) | |
download | android_packages_apps_Snap-c04f50dd1ed5523c21e587bc899e7d3610e68b25.tar.gz android_packages_apps_Snap-c04f50dd1ed5523c21e587bc899e7d3610e68b25.tar.bz2 android_packages_apps_Snap-c04f50dd1ed5523c21e587bc899e7d3610e68b25.zip |
refactor quality to be int
Change-Id: I0470abdbe75cf48c5228e80b9dc060ae6f3d8bbd
Diffstat (limited to 'src/com/android/gallery3d/filtershow/editors')
-rw-r--r-- | src/com/android/gallery3d/filtershow/editors/EditorDraw.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorDraw.java b/src/com/android/gallery3d/filtershow/editors/EditorDraw.java index 128af8ec7..907d1083e 100644 --- a/src/com/android/gallery3d/filtershow/editors/EditorDraw.java +++ b/src/com/android/gallery3d/filtershow/editors/EditorDraw.java @@ -120,6 +120,10 @@ public class EditorDraw extends Editor { } else if (item.getItemId() == R.id.draw_menu_style_line) { ImageDraw idraw = (ImageDraw) mImageShow; idraw.setStyle(ImageFilterDraw.SIMPLE_STYLE); + } else if (item.getItemId() == R.id.draw_menu_clear) { + FilterDrawRepresentation drawRep = (FilterDrawRepresentation) getLocalRepresentation(); + drawRep.clear(); + commitLocalRepresentation(); } mView.invalidate(); return true; |