commit | c14b3ada5cccfdd872ccf72d928fb0088f3ce00d | [log] [tgz] |
---|---|---|
author | Anish Athalye <aathalye@google.com> | Thu Jul 24 18:03:21 2014 -0700 |
committer | Anish Athalye <aathalye@google.com> | Fri Jul 25 17:55:46 2014 +0000 |
tree | a1a5ddc5fad3cfd206c11ea5684cfbfba040d295 | |
parent | 5ec618e3c3163928bd4c1109756764fcd9f90dae [diff] |
Fix bug in measurement of paragraphs This fixes b/16510772. When measuring paragraphs, leading margins should be taken into account. When computing line width, the margin should be added to the absolute value of the extent (there were missing parenthesis). Both of these caused views with leading margins to be rendered incorrectly. Change-Id: I5029b2790a249192a858eb226d7b793d0622a70d