sysui: small refactor

Bug: 26161831
Change-Id: I020176d49cb12c7f7b56ad6eb1221e678312f798
This commit is contained in:
Xiaohui Chen
2016-02-01 12:19:35 -08:00
parent 76855d322b
commit f43491f8f2
2 changed files with 3 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ public class NotificationPanelView extends PanelView implements
public static final long DOZE_ANIMATION_DURATION = 700;
private KeyguardAffordanceHelper mAfforanceHelper;
private BaseStatusBarHeader mHeader;
protected BaseStatusBarHeader mHeader;
private KeyguardUserSwitcher mKeyguardUserSwitcher;
private KeyguardStatusBarView mKeyguardStatusBar;
private QSContainer mQsContainer;
@@ -2404,7 +2404,7 @@ public class NotificationPanelView extends PanelView implements
setVerticalPanelTranslation(0f);
}
private void setVerticalPanelTranslation(float translation) {
protected void setVerticalPanelTranslation(float translation) {
mNotificationStackScroller.setTranslationX(translation);
mScrollView.setTranslationX(translation);
mHeader.setTranslationX(translation);

View File

@@ -795,7 +795,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
mKeyguardBottomArea.getLockIcon());
mKeyguardBottomArea.setKeyguardIndicationController(mKeyguardIndicationController);
// set the inital view visibility
// set the initial view visibility
setAreThereNotifications();
mIconController = new StatusBarIconController(
@@ -2339,8 +2339,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
}
Animator mScrollViewAnim, mClearButtonAnim;
@Override
public void animateExpandNotificationsPanel() {
if (SPEW) Log.d(TAG, "animateExpand: mExpandedVisible=" + mExpandedVisible);