diff options
| author | Seigo Nonaka <nona@google.com> | 2021-06-04 16:07:23 -0700 |
|---|---|---|
| committer | Seigo Nonaka <nona@google.com> | 2021-06-08 19:37:25 +0000 |
| commit | 599f1b76fad4876fb060240db6d11de7da605834 (patch) | |
| tree | d8a60d9dd25f48cf3c4dd6ec4d1ce27e7e2506f0 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
| 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)
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions
