diff options
author | James Lemieux <jplemieux@google.com> | 2016-03-09 14:31:44 -0800 |
---|---|---|
committer | James Lemieux <jplemieux@google.com> | 2016-03-14 11:22:18 -0700 |
commit | 1415d4cd56f67b4a7a0aca254a698c65c5eecffd (patch) | |
tree | 1742a448daf6fc6b0cd5eb9234ec1918629fd3f6 /assets | |
parent | 05c70f92d6a830884036d0bd177d18b83dcda0b8 (diff) | |
download | android_packages_apps_DeskClock-1415d4cd56f67b4a7a0aca254a698c65c5eecffd.tar.gz android_packages_apps_DeskClock-1415d4cd56f67b4a7a0aca254a698c65c5eecffd.tar.bz2 android_packages_apps_DeskClock-1415d4cd56f67b4a7a0aca254a698c65c5eecffd.zip |
Overhaul the digital clock widget
Bug: 7346144
Bug: 26747882
Bug: 27391440
Bug: 27226990
Bug: 27282291
Bug: 18410094
Bug: 22124815
Bug: 27459689
Bug: 24003653
Bug: 27118501
The digital clock widget now scales to the size it is granted by the user.
The scaling is accomplished by dynamically choosing a font size, and
testing (through offscreen measurement) if the chosen font will
successfully fit in the widget's allocated space. This technique should
be successful across all locales, fonts and sizes.
Note, as of this CL, digital clock widget no longer contains world cities.
It only displays the current time, date, and next alarm time. Plans exist
to create a new stand-alone widget for just the world cities.
Change-Id: I2890f7a1aa8687218f1bbef485dc1154c65bde15
Diffstat (limited to 'assets')
-rw-r--r-- | assets/fonts/clock.ttf | bin | 0 -> 3368 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/assets/fonts/clock.ttf b/assets/fonts/clock.ttf Binary files differnew file mode 100644 index 000000000..fb986de34 --- /dev/null +++ b/assets/fonts/clock.ttf |