diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-12-04 21:15:20 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-12-04 21:15:20 -0800 |
commit | 61d534dc5fe78d36458022aad9ec0feffa2ebf39 (patch) | |
tree | 5cbb16b18d98adbb8285944a6cb096258e572d5c /src/github | |
parent | 3a71eece405c1ef624768fdcda0d06cc20c90ee8 (diff) | |
download | dsub-61d534dc5fe78d36458022aad9ec0feffa2ebf39.tar.gz dsub-61d534dc5fe78d36458022aad9ec0feffa2ebf39.tar.bz2 dsub-61d534dc5fe78d36458022aad9ec0feffa2ebf39.zip |
#202 Increase small album art, even more for tablets
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/util/ImageLoader.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/util/ImageLoader.java b/src/github/daneren2005/dsub/util/ImageLoader.java index 9e9875aa..8653dfb7 100644 --- a/src/github/daneren2005/dsub/util/ImageLoader.java +++ b/src/github/daneren2005/dsub/util/ImageLoader.java @@ -66,9 +66,11 @@ public class ImageLoader implements Runnable { this.context = context; final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024); final int cacheSize = maxMemory / 4; + Log.d(TAG, "Max: " + cacheSize); cache = new LruCache<String, Bitmap>(cacheSize) { @Override protected int sizeOf(String key, Bitmap bitmap) { + Log.d(TAG, "size: " + (bitmap.getRowBytes() * bitmap.getHeight() / 1024)); return bitmap.getRowBytes() * bitmap.getHeight() / 1024; } |