summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/gallery3d/filtershow/presets/ImagePreset.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/com/android/gallery3d/filtershow/presets/ImagePreset.java b/src/com/android/gallery3d/filtershow/presets/ImagePreset.java
index be08e7090..830f3cb70 100644
--- a/src/com/android/gallery3d/filtershow/presets/ImagePreset.java
+++ b/src/com/android/gallery3d/filtershow/presets/ImagePreset.java
@@ -55,13 +55,6 @@ public class ImagePreset {
mGeoData.set(source.mGeoData);
}
- private Bitmap applyGeometry(Bitmap original, float scaleFactor, boolean highQuality) {
- Bitmap bitmap = original;
-
- // TODO: put geometry filters
- return bitmap;
- }
-
public boolean isFx() {
return mIsFxPreset;
}
@@ -143,7 +136,7 @@ public class ImagePreset {
public Bitmap apply(Bitmap original) {
// First we apply any transform -- 90 rotate, flip, straighten, crop
- Bitmap bitmap = applyGeometry(original, mScaleFactor, mIsHighQuality);
+ Bitmap bitmap = mGeoData.apply(original, mScaleFactor, mIsHighQuality);
// TODO -- apply borders separately
ImageFilter borderFilter = null;