Age | Commit message (Collapse) | Author |
|
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
|
|
Bug: 172305675
Test: atest TextInterpolatorTest
Test: atest FontInterpolatorTest
Test: atest KeyguardClockSwitchTest
Test: atest TextAnimatorTest
Change-Id: I704b8f403a05480749589d22b1414e57fe1c3938
|
|
Use a custom variable width font on AOD/LS. Use weight 200 on AOD and weight
400 on LS. The animation currently re-layouts throughout the animation,
and eventually should animate using new TextAPIs.
To toggle on the new lockscreen:
adb shell settings put global show_new_lockscreen 1
Test: manual
Bug: 170228350
Change-Id: I62072a3e4a045f10606f8c7ed3f5214107e1670d
|
|
Also updates "new lockscreen" smart space layout.
Currently TimeBasedColorsClockController will change the TextClock's
colors based on hardcoded times.
To toggle on the new lockscreen:
adb shell settings put global show_new_lockscreen 1
Test: atest KeyguardSliceViewTest
Test: manual
Bug: 170228350
Change-Id: Ib72b45aad34fe4483538a9094154d6c473910612
|