summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2016-08-31 21:40:53 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2016-09-05 17:45:37 +0900
commitf5af4a344e086efa87740a0154cace064465fe54 (patch)
tree1d55632c171717fe0f766c9a7ffe1039e3889d1f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent499c15963a1721a63e8303a198ec898f70102206 (diff)
Always redraw text that protrude from line bounds.
With I63af3a6ecbf92, we create RenderNode lazily, but blocks containing contents that protrude from line top or bottom cannot be simply lazily redrawn after edit or scroll. With this CL, we check if the contents protrude from line top or bottom by comparing the text bounds with relevant font metrics values and we always redrawn such blocks after edit or scroll. Bug: 27889485 Change-Id: I666da5eeb39f780c341597f347bfcba21eb34295
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions