OSDN Git Service

Refactoring Geometry handling.
authorRuben Brunk <rubenbrunk@google.com>
Thu, 18 Jul 2013 23:37:30 +0000 (16:37 -0700)
committerRuben Brunk <rubenbrunk@google.com>
Thu, 1 Aug 2013 16:46:44 +0000 (09:46 -0700)
commitb0f7a8f7f7d95ae12e92f529fd9a8a37f75b105c
tree1033ee02b2d8f873f3ae1b00eddcc0f1c7219921
parent8f442fae60e0154867d2a6927eb9a35bcb7014e6
Refactoring Geometry handling.

Bug: 9170644
Bug: 9366654
Bug: 9366263

- Consolidates all the geometry transforms in GeometryMathUtils and
  significantly reduces complexity.
- Removes GeometryMetadata object and dependent code.
- Removes ImageGeometry and geometry update callbacks.

Change-Id: I59add51907459593244c9ebaadef585efc7486d5
39 files changed:
src/com/android/gallery3d/filtershow/EditorPlaceHolder.java
src/com/android/gallery3d/filtershow/FilterShowActivity.java
src/com/android/gallery3d/filtershow/crop/BoundedRect.java
src/com/android/gallery3d/filtershow/crop/CropMath.java
src/com/android/gallery3d/filtershow/crop/CropObject.java
src/com/android/gallery3d/filtershow/crop/CropView.java
src/com/android/gallery3d/filtershow/editors/Editor.java
src/com/android/gallery3d/filtershow/editors/EditorCrop.java
src/com/android/gallery3d/filtershow/editors/EditorMirror.java [moved from src/com/android/gallery3d/filtershow/editors/EditorFlip.java with 54% similarity]
src/com/android/gallery3d/filtershow/editors/EditorPanel.java
src/com/android/gallery3d/filtershow/editors/EditorRotate.java
src/com/android/gallery3d/filtershow/editors/EditorStraighten.java
src/com/android/gallery3d/filtershow/filters/BaseFiltersManager.java
src/com/android/gallery3d/filtershow/filters/FilterCropRepresentation.java
src/com/android/gallery3d/filtershow/filters/FilterMirrorRepresentation.java
src/com/android/gallery3d/filtershow/filters/FilterRotateRepresentation.java
src/com/android/gallery3d/filtershow/filters/FilterStraightenRepresentation.java
src/com/android/gallery3d/filtershow/filters/ImageFilter.java
src/com/android/gallery3d/filtershow/filters/ImageFilterGeometry.java [deleted file]
src/com/android/gallery3d/filtershow/filters/ImageFilterStraighten.java [deleted file]
src/com/android/gallery3d/filtershow/imageshow/GeometryListener.java [deleted file]
src/com/android/gallery3d/filtershow/imageshow/GeometryMath.java [deleted file]
src/com/android/gallery3d/filtershow/imageshow/GeometryMathUtils.java [new file with mode: 0644]
src/com/android/gallery3d/filtershow/imageshow/GeometryMetadata.java [deleted file]
src/com/android/gallery3d/filtershow/imageshow/ImageCrop.java
src/com/android/gallery3d/filtershow/imageshow/ImageDraw.java
src/com/android/gallery3d/filtershow/imageshow/ImageFlip.java [deleted file]
src/com/android/gallery3d/filtershow/imageshow/ImageGeometry.java [deleted file]
src/com/android/gallery3d/filtershow/imageshow/ImageMirror.java [new file with mode: 0644]
src/com/android/gallery3d/filtershow/imageshow/ImagePoint.java
src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java
src/com/android/gallery3d/filtershow/imageshow/ImageShow.java
src/com/android/gallery3d/filtershow/imageshow/ImageStraighten.java
src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
src/com/android/gallery3d/filtershow/pipeline/CacheProcessing.java
src/com/android/gallery3d/filtershow/pipeline/CachingPipeline.java
src/com/android/gallery3d/filtershow/pipeline/FilterEnvironment.java
src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
src_pd/com/android/gallery3d/filtershow/editors/EditorManager.java