summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2022-05-13 16:56:24 -0400
committer Evan Laird <evanlaird@google.com> 2022-05-16 14:25:20 -0400
commit649b504185826c2f88c1d70ac06544adb586ba2c (patch)
treef65c294c324ae483006436cd640caa5a864d1c07 /libs/androidfw/StringPool.cpp
parent3d790a167398321eca2b462df83bfc7422b0b91f (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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions