Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a407ee86 authored by Tyler Freeman's avatar Tyler Freeman
Browse files

feat(non linear font scaling): optimization: cache any generated tables to...

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
parent f23efb69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment