diff options
| author | 2023-02-16 13:48:20 -0800 | |
|---|---|---|
| committer | 2023-02-22 21:38:52 +0000 | |
| commit | de466db1a5b20095532622487363a0632648e335 (patch) | |
| tree | ab4b828fb3c8ac7239c3146b31f56d99eb9ba8c8 /libs/androidfw/FileStream.cpp | |
| parent | 0053ac9038b86dcf4caa26442f257e9ae54f2363 (diff) | |
feat(non linear font scaling): interpolate between two tables if one cannot be found for a given scale
If a new scale is defined in the OEM’s Settings XML that doesn't match
one of the hardcoded default tables, one will be generated by
interpolating between two default tables. This way the experience is
guaranteed for the user, even if the OEM forgets to define their tables
to match their font scaling settings.
Test: atest FrameworksCoreTests:android.content.res.FontScaleConverterFactoryTest
Bug: b/247861716
Change-Id: If9c7f87f6dd4b99afa8579cfa0b52e313d761beb
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions