aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-10 12:09:13 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-10 12:09:13 -0700
commitedea08b5a14d68f9fa4f4e1c24982e58c57651cf (patch)
tree5561bea1343676cb8e353a96fa70a9ee4d420d4b /src/github/daneren2005
parent9067a38fb57802725a5c102dc2404fffe090f38c (diff)
downloaddsub-edea08b5a14d68f9fa4f4e1c24982e58c57651cf.tar.gz
dsub-edea08b5a14d68f9fa4f4e1c24982e58c57651cf.tar.bz2
dsub-edea08b5a14d68f9fa4f4e1c24982e58c57651cf.zip
Lower threshold for scaling to 400 to cover mdpi
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/util/FileUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/util/FileUtil.java b/src/github/daneren2005/dsub/util/FileUtil.java
index 59504ad0..8dc71971 100644
--- a/src/github/daneren2005/dsub/util/FileUtil.java
+++ b/src/github/daneren2005/dsub/util/FileUtil.java
@@ -257,7 +257,7 @@ public class FileUtil {
public static Bitmap getScaledBitmap(Bitmap bitmap, int size) {
// Don't waste time scaling if the difference is minor
// Large album arts still need to be scaled since displayed as is on now playing!
- if(size < 500 && bitmap.getWidth() < (size * 1.1)) {
+ if(size < 400 && bitmap.getWidth() < (size * 1.1)) {
return bitmap;
} else {
return Bitmap.createScaledBitmap(bitmap, size, Util.getScaledHeight(bitmap, size), true);