summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2012-12-13 23:31:51 -0800
committerRuben Brunk <rubenbrunk@google.com>2012-12-13 23:31:51 -0800
commit0ff6da23784a3bae03bcad6d97840815e70c977a (patch)
tree3df2b98fbd2d4eff6a3ff81a32ccf13aab9b9e2e
parenta0e4fb160e5e8e66f4e749933824d127d725f0aa (diff)
downloadandroid_packages_apps_Snap-0ff6da23784a3bae03bcad6d97840815e70c977a.tar.gz
android_packages_apps_Snap-0ff6da23784a3bae03bcad6d97840815e70c977a.tar.bz2
android_packages_apps_Snap-0ff6da23784a3bae03bcad6d97840815e70c977a.zip
Remove preview dithering from Geometry editor in filtershow.
Bug: 7739904 Change-Id: I25c3cbe8907dd921aeb68f217fa9703e703d34a8
-rw-r--r--src/com/android/gallery3d/filtershow/imageshow/ImageCrop.java1
-rw-r--r--src/com/android/gallery3d/filtershow/imageshow/ImageFlip.java1
-rw-r--r--src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/filtershow/imageshow/ImageCrop.java b/src/com/android/gallery3d/filtershow/imageshow/ImageCrop.java
index 594e008a2..acf07ff59 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/ImageCrop.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/ImageCrop.java
@@ -562,7 +562,6 @@ public class ImageCrop extends ImageGeometry {
protected void drawShape(Canvas canvas, Bitmap image) {
gPaint.setAntiAlias(true);
gPaint.setFilterBitmap(true);
- gPaint.setDither(true);
gPaint.setARGB(255, 255, 255, 255);
if (mFirstDraw) {
diff --git a/src/com/android/gallery3d/filtershow/imageshow/ImageFlip.java b/src/com/android/gallery3d/filtershow/imageshow/ImageFlip.java
index 5d6fe502f..7bc0d97be 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/ImageFlip.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/ImageFlip.java
@@ -137,7 +137,6 @@ public class ImageFlip extends ImageGeometry {
protected void drawShape(Canvas canvas, Bitmap image) {
gPaint.setAntiAlias(true);
gPaint.setFilterBitmap(true);
- gPaint.setDither(true);
gPaint.setARGB(255, 255, 255, 255);
drawTransformedCropped(canvas, image, gPaint);
}
diff --git a/src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java b/src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java
index a4131ff80..2fd7d5adf 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java
@@ -82,7 +82,6 @@ public class ImageRotate extends ImageGeometry {
protected void drawShape(Canvas canvas, Bitmap image) {
gPaint.setAntiAlias(true);
gPaint.setFilterBitmap(true);
- gPaint.setDither(true);
gPaint.setARGB(255, 255, 255, 255);
drawTransformedCropped(canvas, image, gPaint);
}