commit | a0cc8642cc03f02d27d0d3c81ff7398817f47c87 | [log] [tgz] |
---|---|---|
author | Shimeng (Simon) Wang <swang@google.com> | Thu Feb 03 10:24:03 2011 -0800 |
committer | Shimeng (Simon) Wang <swang@google.com> | Thu Feb 03 10:24:03 2011 -0800 |
tree | e9755f2a272e7d39a7d90842c78a15432be2509c | |
parent | 6f6ef48dc9a40d6afe2b66db4d1a411771e85a5b [diff] |
Use more accurate height/width ratio. When calculating the view height, use more accurate height/width ratio, instead of the second hand ratio after height and width are calculated and rounded. This prevents the height value to be fluctuated by 1 sometimes when zooming. issue: 3385757 Change-Id: I08bf5478ae8b8fd799df892e19f450cb558d8b7f