Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Use transformend size to get bitmap in slideshow
Browse files Browse the repository at this point in the history
Change-Id: I0ff77c87147eef0908275649b88f5a6a82c554ab
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
  • Loading branch information
cxr514033970 authored and Gerrit Code Review committed Nov 16, 2012
1 parent 3858272 commit 7459fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/android/mms/ui/SlideshowPresenter.java
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ protected void presentImage(SlideViewInterface view, ImageModel image,
} }


if (dataChanged) { if (dataChanged) {
view.setImage(image.getSrc(), image.getBitmap(r.getWidth(), r.getHeight())); view.setImage(image.getSrc(), image.getBitmap(transformedWidth, transformedHeight));
} }


if (view instanceof AdaptableSlideViewInterface) { if (view instanceof AdaptableSlideViewInterface) {
Expand Down

0 comments on commit 7459fa2

Please sign in to comment.