diff options
| author | 2023-04-13 23:57:08 +0000 | |
|---|---|---|
| committer | 2023-04-13 23:57:08 +0000 | |
| commit | da94513967737d605b58bffbaccbe90b1f152e1c (patch) | |
| tree | ea2977f1b982965a6467a5d096427ec1f47a0df6 /libs/androidfw/StringPool.cpp | |
| parent | d5494efd55d034b6f862df96f584e4e7becb6499 (diff) | |
feat(non linear font scaling): add FontScaleConverterFactory.isNonLinearFontScalingActive()
This helps us determine if we can skip certain calculations as a
performance optimization, for instance when calculating line height
proportionally.
Bug: 273326061
Test: atest frameworks/base/core/java/android/content/res/FontScaleConverterFactory.java
Change-Id: I364a978b457c9b7a7073b34fa8cc1f3abaeabbac
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions