diff options
author | Matt Pietal <mpietal@google.com> | 2021-05-13 13:08:33 -0400 |
---|---|---|
committer | Matt Pietal <mpietal@google.com> | 2021-05-13 16:19:46 -0400 |
commit | b40d4b485777176d9670a4445ecc1237165c8150 (patch) | |
tree | df78dd9af36d606810286f4528994d270bf0c205 /packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java | |
parent | c15af1085c64bf288da84c87560fe2f40944bd65 (diff) |
Smartspace - Animate vertically with clock change
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
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java index 825e008263fa..4b9bf8c27f8a 100644 --- a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java +++ b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java @@ -131,6 +131,11 @@ public class AnimatableClockController extends ViewController<AnimatableClockVie mKeyguardUpdateMonitor.removeCallback(mKeyguardUpdateMonitorCallback); } + /** Animate the clock appearance */ + public void animateAppear() { + mView.animateAppear(); + } + /** * Updates the time for the view. */ |