commit | 41e61af1bc6282f47b6cb6d47597c75db00f062b | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Fri Jun 04 16:07:23 2021 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jul 01 11:00:10 2021 +0000 |
tree | 43fab01898a2a403375addfb86bee7e9391bc0e4 | |
parent | f996aa26326d9361772bc3fae1f9568efb44fc4d [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) (cherry picked from commit 40d7a4535aba93073264bf8998daf588f0923986)