No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Noah Anleitner c17e82ed5c Element: show the small clock as a centred row of two element cells
The small Element clock, shown on the lock screen while notifications
are there, drew hour and minute as two tilted tiles of 60 dp at the
start of the 114 dp high area of a small clock. Its digits were about
23 dp high, and SystemUI wrote the date and the alarm beside it.

The small clock is now one glass row of the periodic table, 232 x
102 dp, in the middle of the 114 dp high area. Its two cells show the
hour and the minute as the element with that atomic number: the
number, about 36 dp high, the symbol, the atomic weight and the name,
which shrinks where it is wider than its cell. 00 shows only the
number. Below the row, the day, the date and the next alarm stand in
one row of capitals, as on the Symmetra clock. That row starts 8 dp
below the thick side of the glass, which reaches about 8 dp below the
row itself, and has a band of 22 sp. The notifications start below it.

The large tiles are now ElementTilesFaceView and draw as before. The
content of a tile or a cell moved into ElementContent, which both
faces use.

Test: none
Category: customization
2026-11-16 19:49:29 +01:00
element Element: show the small clock as a centred row of two element cells 2026-11-16 19:49:29 +01:00
orbital ClockStyles: draw day, date and alarm of a periodic table face in one place 2026-11-10 22:49:35 +01:00
periodictable ClockStyles: let a periodic table face span the screen and write a date row 2026-11-16 19:49:29 +01:00
symmetra Symmetra: format SymmetraClockController with ktfmt 2026-11-11 18:28:13 +01:00
Android.bp ClockStyles: add the Orbital clock style 2026-11-08 09:07:10 +01:00