Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +9 −6 Original line number Diff line number Diff line Loading @@ -264,6 +264,13 @@ public class NotificationStackScrollLayout extends ViewGroup : mPaddingBetweenElementsNormal; mBottomStackSlowDownHeight = mStackScrollAlgorithm.getBottomStackSlowDownLength(); updateContentHeight(); notifyHeightChangeListener(null); } private void notifyHeightChangeListener(ExpandableView view) { if (mOnHeightChangedListener != null) { mOnHeightChangedListener.onHeightChanged(view); } } @Override Loading Loading @@ -402,9 +409,7 @@ public class NotificationStackScrollLayout extends ViewGroup mNeedsAnimation = true; } requestChildrenUpdate(); if (mOnHeightChangedListener != null) { mOnHeightChangedListener.onHeightChanged(null); } notifyHeightChangeListener(null); } } Loading Loading @@ -1725,9 +1730,7 @@ public class NotificationStackScrollLayout extends ViewGroup public void onHeightChanged(ExpandableView view) { updateContentHeight(); updateScrollPositionIfNecessary(); if (mOnHeightChangedListener != null) { mOnHeightChangedListener.onHeightChanged(view); } notifyHeightChangeListener(view); requestChildrenUpdate(); } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +9 −6 Original line number Diff line number Diff line Loading @@ -264,6 +264,13 @@ public class NotificationStackScrollLayout extends ViewGroup : mPaddingBetweenElementsNormal; mBottomStackSlowDownHeight = mStackScrollAlgorithm.getBottomStackSlowDownLength(); updateContentHeight(); notifyHeightChangeListener(null); } private void notifyHeightChangeListener(ExpandableView view) { if (mOnHeightChangedListener != null) { mOnHeightChangedListener.onHeightChanged(view); } } @Override Loading Loading @@ -402,9 +409,7 @@ public class NotificationStackScrollLayout extends ViewGroup mNeedsAnimation = true; } requestChildrenUpdate(); if (mOnHeightChangedListener != null) { mOnHeightChangedListener.onHeightChanged(null); } notifyHeightChangeListener(null); } } Loading Loading @@ -1725,9 +1730,7 @@ public class NotificationStackScrollLayout extends ViewGroup public void onHeightChanged(ExpandableView view) { updateContentHeight(); updateScrollPositionIfNecessary(); if (mOnHeightChangedListener != null) { mOnHeightChangedListener.onHeightChanged(view); } notifyHeightChangeListener(view); requestChildrenUpdate(); } Loading