commit | 6ad7a457b15d5f709a118fcd34ab85381bb65141 | [log] [tgz] |
---|---|---|
author | Likai Ding <likaid@codeaurora.org> | Thu Jul 30 14:27:43 2015 +0800 |
committer | Likai Ding <likaid@codeaurora.org> | Thu Jul 30 14:34:32 2015 +0800 |
tree | b50b1cafadebcab4ca8dd26c12915edc11dd7347 | |
parent | 69a6c4f032c0acc993b009b0275c39de1e756057 [diff] |
SnapdragonCamera: fix thumbnail display Thumbnail image is usually larger than needed due to the choice of down-sampling factor. When the decoded bitmap is square, it's width and height is not correctly set in CircularDrawable, so only the left-top part of the cropped image is shown. Set the size and only decode exactly the region for display. Change-Id: I5f4af66a08f0dc02d84bda605b74c9e2b782fe63 CRs-Fixed: 881895