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

Skip to content
Commit 98d5501c authored by Brad Hinegardner's avatar Brad Hinegardner
Browse files

Migrate Burmese support to FlexClockView

Changes detailed:
1. Adjust large clock to be vertically centered on BASELINE
2. Calculate the bottom location of each textview using descent, ascent
3. Made this extensible, so if more languages are wanted that don't have
   "mono" vertically-spaced numerals, we can just add them to
   `nonMonoVerticalNumericLineSpacingLanguages` and they will be
   rendered properly, assuming the font has support for them.
4. Remove the need for "magic numbers" which is different from the prior
   implementation
4. Remove allocation in onDraw

Bug: 364674467
Test: manual
Flag: com.android.systemui.clock_reactive_variants
Change-Id: I6b33997cd8a1481398293ddd7e28e7197ce9930a
parent b6af45d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment