diff options
| author | 2023-09-06 10:38:35 +0000 | |
|---|---|---|
| committer | 2023-09-20 17:53:00 +0000 | |
| commit | 61d6984773c2ca07ca40b79ca5ae9408f12cb6af (patch) | |
| tree | 86694bdca6cb65929496945bb687534b23e1920a /libs/androidfw/StringPool.cpp | |
| parent | 31af7513962ae0e18b4bd4b44a23da93245bbdcd (diff) | |
Apply PrecomputedText only ImageFloatingTV and its children
TextView might use different text layout than StaticLayout such as BoringLayout.
BoringLayout does not use PrecomputedText and benchmarks show that PrecomputedText(Custom Spannable String) could increase onMeasure time of TextView.
That's why we only apply PrecomputedText to ImageFloatingTV and MessagingTextMessage.
Bug: 289250881
Test: SystemUITests and perfetto
Change-Id: I6fa6bbb9fd8fae855228eeac266d33ce95d99319
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions