summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorAnish Athalye <aathalye@google.com>2014-07-24 18:03:21 -0700
committerAnish Athalye <aathalye@google.com>2014-07-25 17:55:46 +0000
commitc14b3ada5cccfdd872ccf72d928fb0088f3ce00d (patch)
treea1a5ddc5fad3cfd206c11ea5684cfbfba040d295 /libs/hwui/renderthread/DrawFrameTask.cpp
parent5ec618e3c3163928bd4c1109756764fcd9f90dae (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
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions