commit | 0c17ccc4af2b28823a12cf846e9222c3c8b472de | [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:36:07 2021 +0000 |
tree | cda1ad6b986ad5fb58c37d2a70463f2799e95ecb | |
parent | 0f311f7b28b405f127405e47a1989977a37d873c [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)