diff options
author | Beverly <beverlyt@google.com> | 2020-11-16 14:29:59 -0500 |
---|---|---|
committer | Beverly <beverlyt@google.com> | 2020-11-17 14:20:02 -0500 |
commit | 192b7c9eaabd746ebdedb306a5a93d8740716d22 (patch) | |
tree | 5ec685938a4d1d702c093b0ab8f17390c69f3988 /packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java | |
parent | 06f759835a1d4384b4dfc7fa20b7adb2e9d07828 (diff) |
Add support for LS Clock to use > 1 Paint object
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
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java')
0 files changed, 0 insertions, 0 deletions