diff options
author | Lucas Dupin <dupin@google.com> | 2018-05-21 14:41:52 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2018-05-21 15:09:34 -0700 |
commit | b9afc96b8fb7549913e165e03ed79af8a5a40884 (patch) | |
tree | b308cfb1d58d56f85828c7022755782609db29a3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 402e2a2b6f47ca955db084255d642e9f3765e4eb (diff) |
Measure text in 1 pass
Before we were setting the text again using setText, and this
would trigger a second measure/layout pass, which is unnecessary.
Now we're using the same mesure pass to calculate the view's
best line break.
Fixes: 79714443
Test: manual. set various meeting names animated or static
Change-Id: Ia911fae8f820b703ca385a10211073bae37f3258
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions