summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Tyler Freeman <fuego@google.com> 2023-12-13 10:16:09 -0800
committer Tyler Freeman <fuego@google.com> 2023-12-13 13:39:05 -0800
commita407ee86dcb452c3609898d6a95da755428456aa (patch)
treee282afc09d99a549ea7f6038d7d9eb626c8dc082 /libs/androidfw/BackupHelpers.cpp
parentf23efb69cebaf3f51966fdfe7007d99dff2f0ab9 (diff)
feat(non linear font scaling): optimization: cache any generated tables to reduce duplicate calculations
Some clients (e.g. Compose) might call this every time they convert, in which case we need to ensure it is fast and avoids unnecessary allocations. Bug: b/239736383 Flag: android.content.res.font_scale_converter_public Test: atest FrameworksCoreTests:android.content.res.FontScaleConverterFactoryTest Change-Id: Ie73fa6d49e7605eea12a37930c82db7747dd8e2c
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions