OSDN Git Service
(root)
/
android-x86
/
packages-apps-Browser.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a45b8
)
use 565 bitmap instead of 4444 to improve quality
author
Cary Clark
<cary@android.com>
Thu, 8 Apr 2010 13:11:28 +0000
(09:11 -0400)
committer
Cary 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
patch
|
blob
|
history
diff --git
a/src/com/android/browser/BrowserActivity.java
b/src/com/android/browser/BrowserActivity.java
index
8a70c56
..
1c136b3
100644
(file)
--- 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