Loading packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java +14 −2 Original line number Diff line number Diff line Loading @@ -1117,7 +1117,8 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump collectFlow(mView, mKeyguardTransitionInteractor.getDreamingToLockscreenTransition(), mDreamingToLockscreenTransition, mMainDispatcher); collectFlow(mView, mDreamingToLockscreenTransitionViewModel.getLockscreenAlpha(), setTransitionAlpha(mNotificationStackScrollLayoutController), mMainDispatcher); setDreamLockscreenTransitionAlpha(mNotificationStackScrollLayoutController), mMainDispatcher); collectFlow(mView, mDreamingToLockscreenTransitionViewModel.lockscreenTranslationY( mDreamingToLockscreenTransitionTranslationY), setTransitionY(mNotificationStackScrollLayoutController), mMainDispatcher); Loading Loading @@ -1153,7 +1154,8 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump collectFlow(mView, mKeyguardTransitionInteractor.getLockscreenToDreamingTransition(), mLockscreenToDreamingTransition, mMainDispatcher); collectFlow(mView, mLockscreenToDreamingTransitionViewModel.getLockscreenAlpha(), setTransitionAlpha(mNotificationStackScrollLayoutController), mMainDispatcher); setDreamLockscreenTransitionAlpha(mNotificationStackScrollLayoutController), mMainDispatcher); collectFlow(mView, mLockscreenToDreamingTransitionViewModel.lockscreenTranslationY( mLockscreenToDreamingTransitionTranslationY), setTransitionY(mNotificationStackScrollLayoutController), mMainDispatcher); Loading Loading @@ -4742,6 +4744,16 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump mCurrentPanelState = state; } private Consumer<Float> setDreamLockscreenTransitionAlpha( NotificationStackScrollLayoutController stackScroller) { return (Float alpha) -> { // Also animate the status bar's alpha during transitions between the lockscreen and // dreams. mKeyguardStatusBarViewController.setAlpha(alpha); setTransitionAlpha(stackScroller).accept(alpha); }; } private Consumer<Float> setTransitionAlpha( NotificationStackScrollLayoutController stackScroller) { return (Float alpha) -> { Loading Loading
packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java +14 −2 Original line number Diff line number Diff line Loading @@ -1117,7 +1117,8 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump collectFlow(mView, mKeyguardTransitionInteractor.getDreamingToLockscreenTransition(), mDreamingToLockscreenTransition, mMainDispatcher); collectFlow(mView, mDreamingToLockscreenTransitionViewModel.getLockscreenAlpha(), setTransitionAlpha(mNotificationStackScrollLayoutController), mMainDispatcher); setDreamLockscreenTransitionAlpha(mNotificationStackScrollLayoutController), mMainDispatcher); collectFlow(mView, mDreamingToLockscreenTransitionViewModel.lockscreenTranslationY( mDreamingToLockscreenTransitionTranslationY), setTransitionY(mNotificationStackScrollLayoutController), mMainDispatcher); Loading Loading @@ -1153,7 +1154,8 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump collectFlow(mView, mKeyguardTransitionInteractor.getLockscreenToDreamingTransition(), mLockscreenToDreamingTransition, mMainDispatcher); collectFlow(mView, mLockscreenToDreamingTransitionViewModel.getLockscreenAlpha(), setTransitionAlpha(mNotificationStackScrollLayoutController), mMainDispatcher); setDreamLockscreenTransitionAlpha(mNotificationStackScrollLayoutController), mMainDispatcher); collectFlow(mView, mLockscreenToDreamingTransitionViewModel.lockscreenTranslationY( mLockscreenToDreamingTransitionTranslationY), setTransitionY(mNotificationStackScrollLayoutController), mMainDispatcher); Loading Loading @@ -4742,6 +4744,16 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump mCurrentPanelState = state; } private Consumer<Float> setDreamLockscreenTransitionAlpha( NotificationStackScrollLayoutController stackScroller) { return (Float alpha) -> { // Also animate the status bar's alpha during transitions between the lockscreen and // dreams. mKeyguardStatusBarViewController.setAlpha(alpha); setTransitionAlpha(stackScroller).accept(alpha); }; } private Consumer<Float> setTransitionAlpha( NotificationStackScrollLayoutController stackScroller) { return (Float alpha) -> { Loading