diff options
| author | 2021-06-04 16:07:23 -0700 | |
|---|---|---|
| committer | 2021-06-08 19:36:07 +0000 | |
| commit | 0c17ccc4af2b28823a12cf846e9222c3c8b472de (patch) | |
| tree | cda1ad6b986ad5fb58c37d2a70463f2799e95ecb /libs/androidfw/AttributeResolution.cpp | |
| 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)
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions