aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-12-04 21:15:20 -0800
committerScott Jackson <daneren2005@gmail.com>2013-12-04 21:15:20 -0800
commit61d534dc5fe78d36458022aad9ec0feffa2ebf39 (patch)
tree5cbb16b18d98adbb8285944a6cb096258e572d5c /src
parent3a71eece405c1ef624768fdcda0d06cc20c90ee8 (diff)
downloaddsub-61d534dc5fe78d36458022aad9ec0feffa2ebf39.tar.gz
dsub-61d534dc5fe78d36458022aad9ec0feffa2ebf39.tar.bz2
dsub-61d534dc5fe78d36458022aad9ec0feffa2ebf39.zip
#202 Increase small album art, even more for tablets
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/util/ImageLoader.java2
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;
}