diff options
author | Seigo Nonaka <nona@google.com> | 2018-04-30 16:32:18 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2018-04-30 17:18:50 -0700 |
commit | 2a6fb346dccd50eb800aaaedad2a74991c706a00 (patch) | |
tree | 55966b1dcdc08cacb621a6410f99b879774cb69c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9f359cc213713ec21bad23ff0fb424d02efe02a8 (diff) |
Stop copying PrecomputedText buffer
PrecomputedText already has a copy of the text. No need to copy the
buffer.
android.text.StaticLayoutPerfTest:
draw
PrecomputedText NoStyle: 610 -> 616: ( +6, +1.0%)
PrecomputedText Style : 811 -> 831: ( +20, +2.5%)
RandomText NoStyle : 547 -> 544: ( -3, -0.5%)
RandomText Style : 730 -> 744: ( +14, +1.9%)
Bug: 72461923
Test: atest CtsWidgetTestCases:EditTextTest
CtsWidgetTestCases:TextViewFadingEdgeTest
FrameworksCoreTests:TextViewFallbackLineSpacingTest
FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest
CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest
CtsTextTestCases FrameworksCoreTests:android.text
CtsWidgetTestCases:TextViewPrecomputedTextTest
Change-Id: I4b9d1c003f127a796d7d4f0d4aecfa7d016b89f6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions