OSDN Git Service

Introduced the visual stability manager
authorSelim Cinek <cinek@google.com>
Tue, 6 Dec 2016 22:34:47 +0000 (14:34 -0800)
committerSelim Cinek <cinek@google.com>
Thu, 12 Jan 2017 01:05:59 +0000 (01:05 +0000)
commitadd9526b1dd91360d0413296f2dbcb2053480162
tree1af0c0a3776436f4c6342b9ae70e7996b83f8cb8
parent5e018206e24c6067d43319c4c9e887ff71b8d7ed
Introduced the visual stability manager

Notifications used to roam around and reorder whenever
they wished. Those little beasts must be tamed, hence
a new visual stability manager is introduced that
dictates the terms of their interplay.

Test: manual: add heads-up and see if they correctly appear
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/notification/VisualStabilityManagerTest.java
Bug: 33773401
Merged-In: I8d7596fa7c14e0df68459a77d445f618d517ad51
Change-Id: I8d7596fa7c14e0df68459a77d445f618d517ad51
14 files changed:
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
packages/SystemUI/src/com/android/systemui/statusbar/notification/VisibilityLocationProvider.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/notification/VisualStabilityManager.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/OnHeadsUpChangedListener.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackViewState.java
packages/SystemUI/tests/src/com/android/systemui/notification/VisualStabilityManagerTest.java [new file with mode: 0644]