commit | ab2cf6dafe1dbc9e7533562f146087901e79f389 | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Wed Nov 26 14:34:36 2014 -0800 |
committer | Alan Viverette <alanv@google.com> | Wed Nov 26 14:34:36 2014 -0800 |
tree | 91b0b969822a097dd38d40b02373ed7bcfd39a1f | |
parent | bc3226e21dfe881bf1ccae62e10b660d97b2b232 [diff] |
Fix visible rect computation for views with padding Previously, the computation was double-counting the left and top padding because it was treating the third and fourth Rect.intersect() arguments as width and height rather than right and bottom. BUG: 18418091 Change-Id: I2ab669ee5060372ae11cfe804dcc05c7426be1ec