OSDN Git Service
(root)
/
android-x86
/
packages-apps-Camera.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b49e3
)
Revise due to ThumbnailUtils api change.
author
Ray Chen
<raychen@google.com>
Mon, 8 Feb 2010 07:04:41 +0000
(15:04 +0800)
committer
Ray Chen
<raychen@google.com>
Thu, 11 Feb 2010 02:26:57 +0000
(10:26 +0800)
src/com/android/camera/ThumbnailController.java
patch
|
blob
|
history
diff --git
a/src/com/android/camera/ThumbnailController.java
b/src/com/android/camera/ThumbnailController.java
index
44ce7f2
..
6b67cb0
100644
(file)
--- a/
src/com/android/camera/ThumbnailController.java
+++ b/
src/com/android/camera/ThumbnailController.java
@@
-157,9
+157,8
@@
public class ThumbnailController {
- mButton.getPaddingLeft() - mButton.getPaddingRight();
final int miniThumbHeight = param.height
- mButton.getPaddingTop() - mButton.getPaddingBottom();
- mThumb = ThumbnailUtils.extractMiniThumb(
- original, miniThumbWidth, miniThumbHeight,
- ThumbnailUtils.NO_RECYCLE_INPUT);
+ mThumb = ThumbnailUtils.extractThumbnail(
+ original, miniThumbWidth, miniThumbHeight);
Drawable drawable;
if (mThumbs == null) {
mThumbs = new Drawable[2];