commit | 14d1f1383fd44081fa797c21f68beefcfc4f2b24 | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Thu Jun 04 12:56:00 2015 -0700 |
committer | Adam Powell <adamp@google.com> | Fri Jun 05 08:51:45 2015 -0700 |
tree | 776574b7d5b797b2b8b86ec79f6bed432a82b060 | |
parent | e790c97787dbc05930ad0c4a708fad7cd7d3f2b9 [diff] |
Use real rounding in ImageView bounds configuration While a useful tactic in previous years, the (int) (float + 0.5f) trick is inaccurate in some cases. Tradeoffs have changed; do the real thing now. Bug 20145160 Change-Id: I8af31bcb1945dc113fd36e094f5970ebd4ec0304