diff options
author | John Hoford <hoford@google.com> | 2013-02-27 08:41:19 -0800 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-02-27 17:32:01 -0800 |
commit | 63cc04c3b51d544598c8af5c8c16a29b1e902a26 (patch) | |
tree | 36a75fe6a9765e0c332f840a50d761511ce7b5c2 /src/com/android/gallery3d/filtershow/imageshow/ImageStraighten.java | |
parent | 7c3ff29f5d187a9f8c660f8571a43f5a91b46836 (diff) | |
download | android_packages_apps_Snap-63cc04c3b51d544598c8af5c8c16a29b1e902a26.tar.gz android_packages_apps_Snap-63cc04c3b51d544598c8af5c8c16a29b1e902a26.tar.bz2 android_packages_apps_Snap-63cc04c3b51d544598c8af5c8c16a29b1e902a26.zip |
refactor the geometry code
Change-Id: I5b0381ec5e127aabf37924af64fbeb490755bc9a
Diffstat (limited to 'src/com/android/gallery3d/filtershow/imageshow/ImageStraighten.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/imageshow/ImageStraighten.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/imageshow/ImageStraighten.java b/src/com/android/gallery3d/filtershow/imageshow/ImageStraighten.java index dfd950565..be116bda7 100644 --- a/src/com/android/gallery3d/filtershow/imageshow/ImageStraighten.java +++ b/src/com/android/gallery3d/filtershow/imageshow/ImageStraighten.java @@ -26,11 +26,13 @@ import android.graphics.RectF; import android.util.AttributeSet; import com.android.gallery3d.R; +import com.android.gallery3d.filtershow.editors.EditorStraighten; public class ImageStraighten extends ImageGeometry { private float mBaseAngle = 0; private float mAngle = 0; + private EditorStraighten mEditorStraighten; private static final String LOGTAG = "ImageStraighten"; private static final Paint gPaint = new Paint(); @@ -134,4 +136,8 @@ public class ImageStraighten extends ImageGeometry { } } + public void setEditor(EditorStraighten editorStraighten) { + mEditorStraighten = editorStraighten; + } + } |