From b40d4b485777176d9670a4445ecc1237165c8150 Mon Sep 17 00:00:00 2001 From: Matt Pietal Date: Thu, 13 May 2021 13:08:33 -0400 Subject: [PATCH] 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 --- .../keyguard/AnimatableClockController.java | 5 +++ .../android/keyguard/AnimatableClockView.java | 25 ++++++++++++ .../android/keyguard/KeyguardClockSwitch.java | 38 +++++++++++++++++-- .../KeyguardClockSwitchController.java | 6 ++- 4 files changed, 69 insertions(+), 5 deletions(-) diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java index 825e008263fa1..4b9bf8c27f8a1 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