Animate split shade media container on Smartspace visibility changes.
In split shade, media is part of the Keyguard status view.
This CL uses the KeyguardClockSwitch view height as a proxy for the
Smartspace visibility. This is a relatively straightforward solution,
since it avoids having to pass states between the SystemUI library and
the Smartspace implementation library.
Other transitions tested include:
- Same transiton not in split shade
- AOD <-> Lockscreen <-> Launcher
- Fold / unfold, and rotate
- Pick a different wallpaper/clock
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e804daf6fcfbd8bcad4ffaf42db7edd5c85d07df)
To fix merge conflicts resulted from recent enabling of use_resource_processor (b/295208392).
Fix: 296907535
Test: On split shade with media, turn on/off flashlight via shortcut.
Test: With CHANGING duration = 10000, test other transitions with media.
Test: KeyguardStatusViewControllerTest
Test: KeyguardStatusViewTest
Test: KeyguardPresentationTest
Change-Id: I7df08fe6f8e15eb3cec2b020634cd20784a37577
7 files changed