From ab168ba86162b4e89e74d0a077b9c618437cbce4 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Thu, 8 Apr 2010 09:11:28 -0400 Subject: use 565 bitmap instead of 4444 to improve quality http://b/2577416 Change-Id: I74f00f700bbe7bc1be9b790e075fec111765341c --- src/com/android/browser/BrowserActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android') diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index 8a70c56..1c136b3 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -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 -- cgit v1.1