commit | 4eb76f6c17edc9bcc20856bcd54ede0228fb2e83 | [log] [tgz] |
---|---|---|
author | richard.yt.chang <richard.yt.chang@acer.com> | Fri Aug 02 15:50:25 2013 +0800 |
committer | Nicholas Sauer <nicksauer@google.com> | Thu Feb 06 03:44:13 2014 +0000 |
tree | 9f21a80d680969afa3627aea75a1d3f8e5dcc162 | |
parent | 2739fb79501efbaa38175149262e322223346b55 [diff] |
Use real screen width/height to calculate aspect ratio Cherry pick from: https://android-review.googlesource.com/62983 Get the full screen size directly (including system bar) to calculate aspect ratio. With this, the screen orientation doesn't affect the aspect ratio value anymore. Test that the aspect ratio is within the range. Change-Id: I9c9bd4d03c1e4136e8f08aab42cfae204d9022bf