diff options
author | Seigo Nonaka <nona@google.com> | 2017-10-06 11:41:00 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2017-10-10 20:44:47 +0000 |
commit | 2dd1a55b41170c26434fe3eb72bdd4e5e610daf9 (patch) | |
tree | 10337f8cd2aaa7574075b4c65d549764dea6e8d0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 34e83d28f03432f2447928241886c9c668299061 (diff) |
Remove nGetWidths and pass the jfloat[] as nComputeLineBreaks argument.
nGetWidths was always called just before nComputeLineBreaks. It would be
an improvement to pass the result array as the argument of
nComputeLineBreaks.
Bug: 65024629
Test: bit FrameworksCoreTests:android.text.StaticLayoutLineBreakingTest
Test: bit CtsTextTestCase:*
Test: Manually checked no regression in TextViewOnMeasurePerfTest
Test: Manually checked no regression in StaticLayoutPerfTest result
Change-Id: I566be66558a22b3a3ff79d502bebbbfec75dd065
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions