diff options
| author | Nicolo' Mazzucato <nicomazz@google.com> | 2022-01-31 16:22:02 +0100 |
|---|---|---|
| committer | Nicolo' Mazzucato <nicomazz@google.com> | 2022-01-31 19:22:27 +0100 |
| commit | 4b40d32ae4556fc1b9103a3c405f1b96e50fe993 (patch) | |
| tree | f38601d21e2131f93cf92495f7e0cfa68e1aa86f /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | d42a4f09c69daf8b991bb0fca95d0d8ebd717fca (diff) | |
Animate notification shade during unfold
Adds some constant translation to elements of the notification shade during fold/unfold. This is only applied when the device is in natural rotation.
KeyguardUnfoldTransition was doing the same: the logic has been extracted in UnfoldConstantTranslateAnimator, that is now used by both classes.
KeyguardUnfoldTransition's tests related to the animator have been moved to UnfoldConstantTranslateAnimatorTest.kt.
+ Minor formatting issues fixed (using ktfmt)
Bug: 201411030
Test: atest UnfoldConstantTranslateAnimatorTest KeyguardUnfoldTransitionTest + Tested manually on lockscreen and notification shade
Change-Id: Ic8d4cf5d7b2a9f8fc366842623c87c15cf79766f
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
