diff options
author | nicolasroard <nicolasroard@google.com> | 2013-02-12 19:40:08 -0800 |
---|---|---|
committer | nicolasroard <nicolasroard@google.com> | 2013-02-12 19:40:08 -0800 |
commit | 94327736e3e16d5d7c8dae084c09b8e41496dd03 (patch) | |
tree | 98f7fdd22f91c550482906e1b566bbd919f55021 /src | |
parent | 7caa8cc9073e5cdf195c73f1eb0fe06df1efe569 (diff) | |
download | android_packages_apps_Snap-94327736e3e16d5d7c8dae084c09b8e41496dd03.tar.gz android_packages_apps_Snap-94327736e3e16d5d7c8dae084c09b8e41496dd03.tar.bz2 android_packages_apps_Snap-94327736e3e16d5d7c8dae084c09b8e41496dd03.zip |
Fix curves slowness
Change-Id: If25f3ce1c3da02daa90405987075b87ce676c84e
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/gallery3d/filtershow/ui/ImageCurves.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/ui/ImageCurves.java b/src/com/android/gallery3d/filtershow/ui/ImageCurves.java index 2e31db935..f581fc733 100644 --- a/src/com/android/gallery3d/filtershow/ui/ImageCurves.java +++ b/src/com/android/gallery3d/filtershow/ui/ImageCurves.java @@ -65,11 +65,13 @@ public class ImageCurves extends ImageShow { public ImageCurves(Context context) { super(context); + setLayerType(LAYER_TYPE_SOFTWARE, gPaint); resetCurve(); } public ImageCurves(Context context, AttributeSet attrs) { super(context, attrs); + setLayerType(LAYER_TYPE_SOFTWARE, gPaint); resetCurve(); } |