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 | c67da3cdf3cc655a384d9d591fee051fdafb4630 (patch) | |
tree | d94130e4cf16a89b1f89881eedf2fdb710b749ba /src/com/android/gallery3d/filtershow/filters | |
parent | 8ae11144fc1fc15062297d03fb86d6bfb443953a (diff) | |
download | android_packages_apps_Snap-c67da3cdf3cc655a384d9d591fee051fdafb4630.tar.gz android_packages_apps_Snap-c67da3cdf3cc655a384d9d591fee051fdafb4630.tar.bz2 android_packages_apps_Snap-c67da3cdf3cc655a384d9d591fee051fdafb4630.zip |
fix draw and ellipse to handle pinch to zoom
Change-Id: I8af9b37dcd98425959742a4142756963363d1cec
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters')
-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(); |