commit | 599f1b76fad4876fb060240db6d11de7da605834 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Fri Jun 04 16:07:23 2021 -0700 |
committer | Seigo Nonaka <nona@google.com> | Tue Jun 08 19:37:25 2021 +0000 |
tree | d8a60d9dd25f48cf3c4dd6ec4d1ce27e7e2506f0 | |
parent | aa72b51c17cf40bc479989198009800a05d9262e [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 (cherry picked from commit 2c6121f3e3c52965ae33317e4fe7a273fd1742c6)