am 19be9d31: Merge "Update bottom area alpha when stack height changes" into mnc-dev

* commit '19be9d31c834f7703a4584eba84bbf4d22027a93':
  Update bottom area alpha when stack height changes
This commit is contained in:
Xiyuan Xia
2015-04-29 15:59:59 +00:00
committed by Android Git Automerger

View File

@@ -327,7 +327,7 @@ public class NotificationPanelView extends PanelView implements
} else if (!mQsExpanded) {
setQsExpansion(mQsMinExpansionHeight + mLastOverscroll);
}
mNotificationStackScroller.setStackHeight(getExpandedHeight());
updateStackHeight(getExpandedHeight());
updateHeader();
mNotificationStackScroller.updateIsSmallScreen(
mHeader.getCollapsedHeight() + mQsPeekHeight);
@@ -1457,7 +1457,7 @@ public class NotificationPanelView extends PanelView implements
setQsExpansion(mQsMinExpansionHeight
+ t * (getTempQsMaxExpansion() - mQsMinExpansionHeight));
}
mNotificationStackScroller.setStackHeight(expandedHeight);
updateStackHeight(expandedHeight);
updateHeader();
updateUnlockIcon();
updateNotificationTranslucency();
@@ -2234,4 +2234,9 @@ public class NotificationPanelView extends PanelView implements
mScrollView.setTranslationX(translation);
mHeader.setTranslationX(translation);
}
private void updateStackHeight(float stackHeight) {
mNotificationStackScroller.setStackHeight(stackHeight);
updateKeyguardBottomAreaAlpha();
}
}