fredsa / forplay

Automatically exported from code.google.com/p/forplay
Apache License 2.0
12 stars 4 forks source link

Android image loader uses BitmapOptions for URLs, but not resources #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This code should either be in both bitmap load paths or neither. Needs testing 
on lower-end devices to see if this improves performance or not:

          BitmapFactory.Options options = new BitmapFactory.Options();
          options.inDither = true;
          options.inPreferredConfig = AndroidPlatform.instance.preferredBitmapConfig;
          options.inScaled = false;

Original issue reported on code.google.com by mmast...@gmail.com on 4 Jul 2011 at 4:12