Files
frameworks_base/core/java/android
Shimeng (Simon) Wang a0cc8642cc 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
2011-02-03 10:24:03 -08:00
..
2011-02-01 15:21:21 -08:00