OSDN Git Service

use 565 bitmap instead of 4444 to improve quality
authorCary Clark <cary@android.com>
Thu, 8 Apr 2010 13:11:28 +0000 (09:11 -0400)
committerCary Clark <cary@android.com>
Thu, 8 Apr 2010 13:11:28 +0000 (09:11 -0400)
http://b/2577416

Change-Id: I74f00f700bbe7bc1be9b790e075fec111765341c

src/com/android/browser/BrowserActivity.java

index 8a70c56..1c136b3 100644 (file)
@@ -2380,7 +2380,7 @@ public class BrowserActivity extends Activity
             return null;
         }
         Bitmap bm = Bitmap.createBitmap(getDesiredThumbnailWidth(this),
-                getDesiredThumbnailHeight(this), Bitmap.Config.ARGB_4444);
+                getDesiredThumbnailHeight(this), Bitmap.Config.RGB_565);
         Canvas canvas = new Canvas(bm);
         // May need to tweak these values to determine what is the
         // best scale factor