summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/AnimatableClockView.java
AgeCommit message (Collapse)Author
2022-03-15Merge SP2A.220305.013Haamed Gheibi
Bug: 220074017 Change-Id: Idfdd94e902f656ac65a2a75dfdd199f6f85ba472
2021-07-07Bring back time formatting for single line clockBeverly
Use old date format for the single line clock, so that we now support (for single line clock) different clock representations. For example, French Canadian uses an h instead of a colon (13 h 01 instead of 13:01). Test: manual Bug: 186726401 Fixes: 191761465 Change-Id: If97a49780029f24dc99625a310729630b69e7a68
2021-06-29Fix clock font weight animation to always match the latest doze state.Shan Huang
Bug:189296201 Fixes:189296201 Test: Turn off AOD, put screen off, plugin charger, checks the font weight after phone wakes up. Change-Id: I1206efbf213e6fbbfddfc2eb884f66a9321bf993
2021-05-14Don't animate large clock appearance on AODMatt Pietal
Just don't do it. Fixes: 188205862 Test: manual Change-Id: I0e13658f1bd478dca55203ea5ccf40801859b56e
2021-05-13Smartspace - Animate vertically with clock changeMatt Pietal
When the large clock appears, move smartspace up to take the place of the small clock. Reverse that when notifications appear and the small clock shows up. Animate the large clock weight on appear. Fixes: 185301988 Test: manual (swipe away notifications) Change-Id: Ic293cebad4e7a5311c024a4d9cdc7b206689fde7
2021-04-29AOD/LS - Fix 24 hour clockMatt Pietal
Single line format was incorrect Fixes: 183895396 Test: manual Change-Id: Ic80e2ab11d2fc46d6a330f6b2fe2c72611a5b043
2021-04-28Animate clock weight to 0 on bypass face authBeverly
Test: manual Fixes: 186631254 Change-Id: Ib9ceb4c23c06717404845535ee86987d7f43686f
2021-04-12Animate LockScreen and AOD clock text for charging eventsShan Huang
Test: Manual Bug: 182719493 Change-Id: I57f7cd834a08d8846a35cdf731611fc7a239b85a
2021-03-18Clock and padding updatesMatt Pietal
Single line clock for the small clock only. Align padding to specs Bug: 172360102 Test: manual Change-Id: I2d1a3f20f23886166a67ca40bf6d8e703eff3298
2021-02-09Update LS/AOD clockBeverly
- only use one paint for hours and minutes - customize vertical line spacing for Burmese numerals to account for long ascenders and descenders Note: Burmese numerals sometimes get cutoff at the bottom, bug filed at b/179815528 Test: manual Fixes: 177206446 Bug: 179781576 Change-Id: Iac71eabdcf1ed06962f38414253a2038651168c7
2021-01-29Update clock to 2x2Beverly
Instead of pyramid single digit hour of minutes. Also, adjust vertical spacing to between minutes and hours to be further. Test: manual Bug: 170228350 Change-Id: Ic91b7e973fbe0b28d1520e0febcf9835a095e162
2021-01-13Update LS/AOD clockBeverly
- Center hours, only show one digit for hours if starts with 0. - Decrease vertical spacing - Remove horizontal letterSpacing adjustment (will be taken care within the font file) - Update color to use textColorPrimary Test: manual Bug: 170228350 Change-Id: I66d990eef8579ff56876ff12e1398198e515ec41
2020-12-03Update AOD/LS clockBeverly
- Update clock sizes (large clock = 200dp, small clock = 100dp) - Update clock weights (large = 100-400, small = 200-300) - Update clocks on time zone and time format changes (Settings > System > Date & Time) Test: manual, atest SystemUITests Bug: 170228350 Change-Id: I446a2625fdd776c15e744f1601b3ea0e2a873cf1
2020-11-17Add support for LS Clock to use > 1 Paint objectBeverly
Updated TextInterpolator and TextAnimator to support a Paint object for each line of text. Now we can interpolate between the colors when animating. Clock colors are now based on the theme (for now, wallpaper text color). ie: first line (of vertical clock) is one color, second line is another color. Also adjusted Keyguard clock logic to animate on doze changes instead of animating incrementally on setDarkAmount. Test: atest TextInterpolatorTest TextAnimatorTest Bug: 170228350 Change-Id: Ia62f2de48534be2007afc5a95eac46b3c44ec880