Merge "Update bottom area alpha when stack height changes" into mnc-dev
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user