commit | 649b504185826c2f88c1d70ac06544adb586ba2c | [log] [tgz] |
---|---|---|
author | Evan Laird <evanlaird@google.com> | Fri May 13 16:56:24 2022 -0400 |
committer | Evan Laird <evanlaird@google.com> | Mon May 16 14:25:20 2022 -0400 |
tree | f65c294c324ae483006436cd640caa5a864d1c07 | |
parent | 3d790a167398321eca2b462df83bfc7422b0b91f [diff] |
Change the status bar clock's measuring scheme This change implements a measuring scheme such that the clock will only get wider to accomodate wider numbers, but will never shrink until either: - The number of characters changes (e.g. going from 12:59 -> 1:00) - The density or font scale changes Test: atest ClockTest Test: manual Fixes: 163909570 Change-Id: I8382a479f5cf1afb594d1e6238868f76c1220da9