summaryrefslogtreecommitdiffstats
path: root/src
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
commit531e398d68b45d3be2e131e37236bcf08552ae70 (patch)
tree5dd0aa1a57ef6e69163105da38071bf2d495ae41 /src
parentaf2ea50e6d635ac348fbfbf8cbafb048f04d8f67 (diff)
downloadandroid_packages_apps_Gallery2-531e398d68b45d3be2e131e37236bcf08552ae70.tar.gz
android_packages_apps_Gallery2-531e398d68b45d3be2e131e37236bcf08552ae70.tar.bz2
android_packages_apps_Gallery2-531e398d68b45d3be2e131e37236bcf08552ae70.zip
Remove preview dithering from Geometry editor in filtershow.
Bug: 7739904 Change-Id: I25c3cbe8907dd921aeb68f217fa9703e703d34a8
Diffstat (limited to 'src')
-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);
}