diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-09-10 12:09:13 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-09-10 12:09:13 -0700 |
commit | edea08b5a14d68f9fa4f4e1c24982e58c57651cf (patch) | |
tree | 5561bea1343676cb8e353a96fa70a9ee4d420d4b /src | |
parent | 9067a38fb57802725a5c102dc2404fffe090f38c (diff) | |
download | dsub-edea08b5a14d68f9fa4f4e1c24982e58c57651cf.tar.gz dsub-edea08b5a14d68f9fa4f4e1c24982e58c57651cf.tar.bz2 dsub-edea08b5a14d68f9fa4f4e1c24982e58c57651cf.zip |
Lower threshold for scaling to 400 to cover mdpi
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/util/FileUtil.java | 2 |
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); |