diff options
author | Seigo Nonaka <nona@google.com> | 2018-11-09 00:48:58 -0800 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2018-11-14 13:18:38 -0800 |
commit | 888dbca2f720ae2ae52dce1d88063e46e3b53c28 (patch) | |
tree | ed2a3cae9df1d72f67a10e77ae2f475cc4b8fff7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e9f5e860547e7314c4c0e03fa4838c5b06164f5d (diff) |
Refactor TextLine class
Did following refactoring:
- The surrogate composition is not necessary since this method is only
interested in TAB character.
- Move BiDi information interpretation logic to Layout.Directions.
- The short circuit for DIRS_ALL_LEFT_TO_RIGHT/DIRS_ALL_RIGHT_TO_LEFT
is not necessary.
- Renamed the variables.
Bug: 119312268
Test: atest TextLineTest
Test: TreeHugger
Test: Verified locally this doesn't cause performance regression
Change-Id: If987387673ec5a22f703952dfbe45b084664ee59
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions