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 | 0bb3abc58f7c921451f2870d8679af2377ad7ce9 (patch) | |
tree | 5a6a0fd1682ac98bedfff7947948de6fdc2bfca0 /src/com/android/gallery3d | |
parent | b5317406b1f43f39e5c5847a04b21a1c38a1830e (diff) | |
download | android_packages_apps_Snap-0bb3abc58f7c921451f2870d8679af2377ad7ce9.tar.gz android_packages_apps_Snap-0bb3abc58f7c921451f2870d8679af2377ad7ce9.tar.bz2 android_packages_apps_Snap-0bb3abc58f7c921451f2870d8679af2377ad7ce9.zip |
Fix thumbnail generation
Change-Id: I03a290bf8eb80bd1687bfd37640dec29ef213cdb
Diffstat (limited to 'src/com/android/gallery3d')
-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(); } /** |