summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-04-08 09:11:28 -0400
committerCary Clark <cary@android.com>2010-04-08 09:11:28 -0400
commitab168ba86162b4e89e74d0a077b9c618437cbce4 (patch)
treeb08729005549c628c0000ffe282ce73a0c62ec39 /src/com/android
parent63a45b8ff2254ca9309abd1c1880f6af5a6712ce (diff)
downloadpackages_apps_Browser-ab168ba86162b4e89e74d0a077b9c618437cbce4.zip
packages_apps_Browser-ab168ba86162b4e89e74d0a077b9c618437cbce4.tar.gz
packages_apps_Browser-ab168ba86162b4e89e74d0a077b9c618437cbce4.tar.bz2
use 565 bitmap instead of 4444 to improve quality
http://b/2577416 Change-Id: I74f00f700bbe7bc1be9b790e075fec111765341c
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/browser/BrowserActivity.java2
1 files changed, 1 insertions, 1 deletions
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