Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +1 −1 Original line number Diff line number Diff line Loading @@ -2489,7 +2489,7 @@ public class NotificationPanelView extends PanelView implements } protected void setVerticalPanelTranslation(float translation) { mNotificationStackScroller.setTranslationX(translation); mNotificationStackScroller.setVerticalPanelTranslation(translation); mQsFrame.setTranslationX(translation); int size = mVerticalTranslationListener.size(); for (int i = 0; i < size; i++) { Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +10 −4 Original line number Diff line number Diff line Loading @@ -422,6 +422,7 @@ public class NotificationStackScrollLayout extends ViewGroup private int mHeadsUpInset; private HeadsUpAppearanceController mHeadsUpAppearanceController; private NotificationIconAreaController mIconAreaController; private float mVerticalPanelTranslation; public NotificationStackScrollLayout(Context context) { this(context, null); Loading Loading @@ -4003,8 +4004,13 @@ public class NotificationStackScrollLayout extends ViewGroup notifyHeightChangeListener(mShelf); } private void updateAntiBurnInTranslation() { setTranslationX(mAntiBurnInOffsetX * mDarkAmount); private void updatePanelTranslation() { setTranslationX(mVerticalPanelTranslation + mAntiBurnInOffsetX * mDarkAmount); } public void setVerticalPanelTranslation(float verticalPanelTranslation) { mVerticalPanelTranslation = verticalPanelTranslation; updatePanelTranslation(); } /** Loading Loading @@ -4034,7 +4040,7 @@ public class NotificationStackScrollLayout extends ViewGroup } updateAlgorithmHeightAndPadding(); updateBackgroundDimming(); updateAntiBurnInTranslation(); updatePanelTranslation(); requestChildrenUpdate(); } Loading Loading @@ -4602,7 +4608,7 @@ public class NotificationStackScrollLayout extends ViewGroup public void setAntiBurnInOffsetX(int antiBurnInOffsetX) { mAntiBurnInOffsetX = antiBurnInOffsetX; updateAntiBurnInTranslation(); updatePanelTranslation(); } public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +1 −1 Original line number Diff line number Diff line Loading @@ -2489,7 +2489,7 @@ public class NotificationPanelView extends PanelView implements } protected void setVerticalPanelTranslation(float translation) { mNotificationStackScroller.setTranslationX(translation); mNotificationStackScroller.setVerticalPanelTranslation(translation); mQsFrame.setTranslationX(translation); int size = mVerticalTranslationListener.size(); for (int i = 0; i < size; i++) { Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +10 −4 Original line number Diff line number Diff line Loading @@ -422,6 +422,7 @@ public class NotificationStackScrollLayout extends ViewGroup private int mHeadsUpInset; private HeadsUpAppearanceController mHeadsUpAppearanceController; private NotificationIconAreaController mIconAreaController; private float mVerticalPanelTranslation; public NotificationStackScrollLayout(Context context) { this(context, null); Loading Loading @@ -4003,8 +4004,13 @@ public class NotificationStackScrollLayout extends ViewGroup notifyHeightChangeListener(mShelf); } private void updateAntiBurnInTranslation() { setTranslationX(mAntiBurnInOffsetX * mDarkAmount); private void updatePanelTranslation() { setTranslationX(mVerticalPanelTranslation + mAntiBurnInOffsetX * mDarkAmount); } public void setVerticalPanelTranslation(float verticalPanelTranslation) { mVerticalPanelTranslation = verticalPanelTranslation; updatePanelTranslation(); } /** Loading Loading @@ -4034,7 +4040,7 @@ public class NotificationStackScrollLayout extends ViewGroup } updateAlgorithmHeightAndPadding(); updateBackgroundDimming(); updateAntiBurnInTranslation(); updatePanelTranslation(); requestChildrenUpdate(); } Loading Loading @@ -4602,7 +4608,7 @@ public class NotificationStackScrollLayout extends ViewGroup public void setAntiBurnInOffsetX(int antiBurnInOffsetX) { mAntiBurnInOffsetX = antiBurnInOffsetX; updateAntiBurnInTranslation(); updatePanelTranslation(); } public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { Loading