Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +4 −3 Original line number Diff line number Diff line Loading @@ -1360,9 +1360,7 @@ public class NotificationPanelView extends PanelView implements mQsExpansionHeight = height; updateQsExpansion(); requestScrollerTopPaddingUpdate(false /* animate */); if (mKeyguardShowing) { updateHeaderKeyguardAlpha(); } if (mStatusBarState == StatusBarState.SHADE_LOCKED || mStatusBarState == StatusBarState.KEYGUARD) { updateKeyguardBottomAreaAlpha(); Loading Loading @@ -1765,6 +1763,9 @@ public class NotificationPanelView extends PanelView implements } private void updateHeaderKeyguardAlpha() { if (!mKeyguardShowing) { return; } float alphaQsExpansion = 1 - Math.min(1, getQsExpansionFraction() * 2); mKeyguardStatusBar.setAlpha(Math.min(getKeyguardContentsAlpha(), alphaQsExpansion) * mKeyguardStatusBarAnimateAlpha); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +4 −3 Original line number Diff line number Diff line Loading @@ -1360,9 +1360,7 @@ public class NotificationPanelView extends PanelView implements mQsExpansionHeight = height; updateQsExpansion(); requestScrollerTopPaddingUpdate(false /* animate */); if (mKeyguardShowing) { updateHeaderKeyguardAlpha(); } if (mStatusBarState == StatusBarState.SHADE_LOCKED || mStatusBarState == StatusBarState.KEYGUARD) { updateKeyguardBottomAreaAlpha(); Loading Loading @@ -1765,6 +1763,9 @@ public class NotificationPanelView extends PanelView implements } private void updateHeaderKeyguardAlpha() { if (!mKeyguardShowing) { return; } float alphaQsExpansion = 1 - Math.min(1, getQsExpansionFraction() * 2); mKeyguardStatusBar.setAlpha(Math.min(getKeyguardContentsAlpha(), alphaQsExpansion) * mKeyguardStatusBarAnimateAlpha); Loading