summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2012-10-24 22:02:40 -0700
committernicolasroard <nicolasroard@google.com>2012-10-24 22:02:40 -0700
commit31c9a0ff9b2a732e76e03dd38c511b22b4e8c0f1 (patch)
tree2cff377687811e3b27db087c814095464c65394f /src
parent1aa5f5b7c8a44cd7f002fd7838b95a6297e4e46b (diff)
downloadandroid_packages_apps_Snap-31c9a0ff9b2a732e76e03dd38c511b22b4e8c0f1.tar.gz
android_packages_apps_Snap-31c9a0ff9b2a732e76e03dd38c511b22b4e8c0f1.tar.bz2
android_packages_apps_Snap-31c9a0ff9b2a732e76e03dd38c511b22b4e8c0f1.zip
Fix default for tiny planet
bug:7410938 Change-Id: If43317c2ad1e22ca1a3d3de1eef91ea2556252dd
Diffstat (limited to 'src')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java
index 7ec136766..61aa21b33 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterTinyPlanet.java
@@ -66,6 +66,11 @@ public class ImageFilterTinyPlanet extends ImageFilter {
return mAngle;
}
+ public boolean isNil() {
+ // TinyPlanet always has an effect
+ return false;
+ }
+
native protected void nativeApplyFilter(
Bitmap bitmapIn, int width, int height, Bitmap bitmapOut, int outSize, float scale,
float angle);