diff options
author | Seigo Nonaka <nona@google.com> | 2021-06-08 16:12:39 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2021-06-08 20:38:08 -0700 |
commit | ae1912b62f7dfa361acfbe472cb8a49cd60f746e (patch) | |
tree | 864f98716b9ae7ab9844134a4bf97c99ad87052a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0684e7a64a2c449363b3a8f5f4a420acddf6bd51 (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
Merged-In: I3d03b1e3897e427c23fbe51315f412c57a4ce9e9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions