diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2013-07-31 18:28:43 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-07-31 18:28:43 +0000 |
commit | 996669f26a5c526561f5779a5d04702a551f4230 (patch) | |
tree | 214cdd33c8d2683c262bde48210e43c13160f5fa /src/com/android/gallery3d/filtershow | |
parent | 28d86a33744fc5ae60949a43ff27930579b9bda8 (diff) | |
parent | d031ce88398f90961a6f1a2cd8f989510d256140 (diff) | |
download | android_packages_apps_Snap-996669f26a5c526561f5779a5d04702a551f4230.tar.gz android_packages_apps_Snap-996669f26a5c526561f5779a5d04702a551f4230.tar.bz2 android_packages_apps_Snap-996669f26a5c526561f5779a5d04702a551f4230.zip |
Merge "Do antialiasing on wallpaper preview." into gb-ub-photos-carlsbad
Diffstat (limited to 'src/com/android/gallery3d/filtershow')
-rw-r--r-- | src/com/android/gallery3d/filtershow/crop/CropView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/crop/CropView.java b/src/com/android/gallery3d/filtershow/crop/CropView.java index 87e454270..0a7950c20 100644 --- a/src/com/android/gallery3d/filtershow/crop/CropView.java +++ b/src/com/android/gallery3d/filtershow/crop/CropView.java @@ -327,6 +327,8 @@ public class CropView extends View { mShadow.draw(canvas); } + mPaint.setAntiAlias(true); + mPaint.setFilterBitmap(true); // Draw actual bitmap canvas.drawBitmap(mBitmap, mDisplayMatrix, mPaint); |