commit | ae1912b62f7dfa361acfbe472cb8a49cd60f746e | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Tue Jun 08 16:12:39 2021 -0700 |
committer | Seigo Nonaka <nona@google.com> | Tue Jun 08 20:38:08 2021 -0700 |
tree | 864f98716b9ae7ab9844134a4bf97c99ad87052a | |
parent | 0684e7a64a2c449363b3a8f5f4a420acddf6bd51 [diff] |
Improve ellipsize performance Instead of iterate all ellipsized characters, only iterate the necessary ranges for copying. Bug: 188913943 Test: atest CtsTextTestCases CtsGraphicsTestCases CtsWidgetTestCases Change-Id: I3d03b1e3897e427c23fbe51315f412c57a4ce9e9 Merged-In: I3d03b1e3897e427c23fbe51315f412c57a4ce9e9