commit | 40d7a4535aba93073264bf8998daf588f0923986 | [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:39 2021 +0000 |
tree | 5625f528a870fa9ef21bbc74ab2d152bc4317c22 | |
parent | f7f27429dd46d50a886858fae084638515c5d8a6 [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)