diff options
Diffstat (limited to 'src/de')
3 files changed, 9 insertions, 5 deletions
diff --git a/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java b/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java index ba1ce2864..266dfe3a2 100644 --- a/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java +++ b/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java @@ -94,11 +94,12 @@ public class FeedlistAdapter extends ArrayAdapter<Feed> { holder.newEpisodes.setVisibility(View.INVISIBLE); } holder.image.setTag(feed.getImage()); - if (PodcastApp.getInstance().isLargeScreen()) { + /*if (PodcastApp.getInstance().isLargeScreen()) { imageLoader.loadCoverBitmap(feed.getImage(), holder.image); - } else { + + } else {*/ imageLoader.loadThumbnailBitmap(feed.getImage(), holder.image); - } + //} return convertView; } diff --git a/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java b/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java index 5e99c52af..c18763d48 100644 --- a/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java +++ b/src/de/danoeh/antennapod/asynctask/BitmapDecodeWorkerTask.java @@ -40,6 +40,9 @@ public abstract class BitmapDecodeWorkerTask extends Thread { this.fileUrl = fileUrl; this.baseLength = length; this.PREFERRED_LENGTH = (int) (length * PodcastApp.getLogicalDensity() + 0.5f); + if (PodcastApp.getInstance().isLargeScreen()) { + this.PREFERRED_LENGTH *= 2.0; + } } /** diff --git a/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java b/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java index 76e44c443..4b6855a18 100644 --- a/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java +++ b/src/de/danoeh/antennapod/asynctask/FeedImageLoader.java @@ -25,7 +25,7 @@ public class FeedImageLoader { private static final String TAG = "FeedImageLoader"; private static FeedImageLoader singleton; - public static final int LENGTH_BASE_COVER = 200; + public static final int LENGTH_BASE_COVER = 300; public static final int LENGTH_BASE_THUMBNAIL = 100; private static final String CACHE_DIR = "miroguide_thumbnails"; @@ -44,7 +44,7 @@ public class FeedImageLoader { .getSystemService(Context.ACTIVITY_SERVICE)).getMemoryClass(); // Use 1/8th of the available memory for this memory cache. - final int coverCacheSize = 1024 * 1024 * memClass / 10; + final int coverCacheSize = 1024 * 1024 * memClass / 8; final int thumbnailCacheSize = 1024 * 1024 * memClass / 6; private LruCache<String, Bitmap> coverCache; |