diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2015-01-04 20:17:58 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2015-01-04 20:17:58 +0100 |
commit | b738fc268edc33dcc5064aece79babeaad6a3143 (patch) | |
tree | 7c6e6cfc4fdffdab7fef6a87c6e120d45e386fc2 /core/src/main/java | |
parent | e127fa79c7d1cb6baf38c9a50125b5dc9be7bde7 (diff) | |
download | AntennaPod-b738fc268edc33dcc5064aece79babeaad6a3143.zip |
Blur effect improvements
- Reduce time it takes to blur image
- Fixed IndexOutOfBoundsException by reducing radius
Diffstat (limited to 'core/src/main/java')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/asynctask/PicassoProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/asynctask/PicassoProvider.java b/core/src/main/java/de/danoeh/antennapod/core/asynctask/PicassoProvider.java index 0b136afe7..b6ece6dc8 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/asynctask/PicassoProvider.java +++ b/core/src/main/java/de/danoeh/antennapod/core/asynctask/PicassoProvider.java @@ -211,7 +211,8 @@ public class PicassoProvider { } } - public static final int BLUR_RADIUS = 10; + public static final int BLUR_RADIUS = 1; + public static final int BLUR_IMAGE_SIZE = 100; public static final String BLUR_KEY = "blur"; public static final Transformation blurTransformation = new Transformation() { |