diff options
| author | nicolasroard <nicolasroard@google.com> | 2013-01-29 13:37:33 -0800 |
|---|---|---|
| committer | nicolasroard <nicolasroard@google.com> | 2013-01-29 13:38:01 -0800 |
| commit | c03c4360a10ac519b00cc75dd02794536c72182b (patch) | |
| tree | 5ea90d87dcbfac8ed78da85f741d6db26e75bf9b /src | |
| parent | 7bbdf56b74ec0ba029b1fc5f0d96cf8e8c1e7618 (diff) | |
| download | android_packages_apps_Gallery2-c03c4360a10ac519b00cc75dd02794536c72182b.tar.gz android_packages_apps_Gallery2-c03c4360a10ac519b00cc75dd02794536c72182b.tar.bz2 android_packages_apps_Gallery2-c03c4360a10ac519b00cc75dd02794536c72182b.zip | |
Fix thumbnail generation
Change-Id: I03a290bf8eb80bd1687bfd37640dec29ef213cdb
Diffstat (limited to 'src')
| -rw-r--r-- | src/com/android/gallery3d/filtershow/FilterShowActivity.java | 2 | ||||
| -rw-r--r-- | src/com/android/gallery3d/filtershow/ui/IconButton.java | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/FilterShowActivity.java b/src/com/android/gallery3d/filtershow/FilterShowActivity.java index 1e2bad34e..654175210 100644 --- a/src/com/android/gallery3d/filtershow/FilterShowActivity.java +++ b/src/com/android/gallery3d/filtershow/FilterShowActivity.java @@ -418,7 +418,7 @@ public class FilterShowActivity extends Activity implements OnItemClickListener, cannotLoadImage(); } - Bitmap bmap = mImageShow.getFilteredImage(); + Bitmap bmap = mImageLoader.getOriginalBitmapSmall(); if (bmap != null && bmap.getWidth() > 0 && bmap.getHeight() > 0) { float w = bmap.getWidth(); float h = bmap.getHeight(); diff --git a/src/com/android/gallery3d/filtershow/ui/IconButton.java b/src/com/android/gallery3d/filtershow/ui/IconButton.java index 1ebc1abda..55dfb8043 100644 --- a/src/com/android/gallery3d/filtershow/ui/IconButton.java +++ b/src/com/android/gallery3d/filtershow/ui/IconButton.java @@ -65,6 +65,7 @@ public class IconButton extends Button { public void setIcon(Bitmap image) { mImageMirror = image; stale_icon = true; + invalidate(); } /** |
