diff options
author | John Hoford <hoford@google.com> | 2013-02-21 15:18:37 -0800 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-02-21 15:19:49 -0800 |
commit | 2fc7efdcd75279649091471dda3ee600db25a995 (patch) | |
tree | ae2aba8db0a064b3637d9941a6b0ba5c67594603 /src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java | |
parent | 8539fc1a5406af9edd5414fba3615cc045aa63ec (diff) | |
download | android_packages_apps_Gallery2-2fc7efdcd75279649091471dda3ee600db25a995.tar.gz android_packages_apps_Gallery2-2fc7efdcd75279649091471dda3ee600db25a995.tar.bz2 android_packages_apps_Gallery2-2fc7efdcd75279649091471dda3ee600db25a995.zip |
fix draw and ellipse to handle pinch to zoom
Change-Id: I8af9b37dcd98425959742a4142756963363d1cec
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java index e41f0a622..8b8504bbc 100644 --- a/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java +++ b/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java @@ -150,6 +150,10 @@ public class FilterDrawRepresentation extends FilterRepresentation { mCurrent = null; } + public void clearCurrentSection() { + mCurrent = null; + } + public void clear() { mCurrent = null; mDrawing.clear(); |