OSDN Git Service

sysui: refactor for extensibility.
authorMuyuan Li <muyuanli@google.com>
Wed, 30 Mar 2016 23:50:11 +0000 (16:50 -0700)
committerMuyuan Li <muyuanli@google.com>
Thu, 7 Apr 2016 19:32:26 +0000 (19:32 +0000)
commit4fe4a409bca01e16c807f3f76633afc1d9797e2a
treee58603bc3b655f78120d997f412281987dc21473
parentb9aef080598c8ff142b22bc46cc3ec16a9fa0d7c
sysui: refactor for extensibility.

1. Refactored container height calculation out of updateBottom of QSContainer;

2. Added a method in QSContainer to return min expansion height.

Bug: 27929808
Change-Id: I5a6d04ffb225bccfc56fa5f4ab98d330ed763a8c
(cherry picked from commit 9e874950195d6b76a64e28c236e8d109d551281f)
packages/SystemUI/src/com/android/systemui/qs/QSContainer.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java