Loading packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java +5 −1 Original line number Diff line number Diff line Loading @@ -374,7 +374,11 @@ public abstract class ExpandableView extends FrameLayout { } private void updateClipping() { mClipRect.set(0, mClipTopOptimization, getWidth(), getActualHeight()); int top = mClipTopOptimization; if (top >= getActualHeight()) { top = getActualHeight() - 1; } mClipRect.set(0, top, getWidth(), getActualHeight()); setClipBounds(mClipRect); } Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java +3 −1 Original line number Diff line number Diff line Loading @@ -413,7 +413,9 @@ public class StackScrollAlgorithm { ExpandableNotificationRow topHeadsUpEntry = ambientState.getTopHeadsUpEntry(); int childCount = algorithmState.visibleChildren.size(); int numberOfElementsCompletelyIn = (int) algorithmState.itemsInTopStack; int numberOfElementsCompletelyIn = algorithmState.partialInTop == 1.0f ? algorithmState.lastTopStackIndex : (int) algorithmState.itemsInTopStack; for (int i = 0; i < childCount; i++) { ExpandableView child = algorithmState.visibleChildren.get(i); StackViewState childViewState = resultState.getViewStateForView(child); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableView.java +5 −1 Original line number Diff line number Diff line Loading @@ -374,7 +374,11 @@ public abstract class ExpandableView extends FrameLayout { } private void updateClipping() { mClipRect.set(0, mClipTopOptimization, getWidth(), getActualHeight()); int top = mClipTopOptimization; if (top >= getActualHeight()) { top = getActualHeight() - 1; } mClipRect.set(0, top, getWidth(), getActualHeight()); setClipBounds(mClipRect); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java +3 −1 Original line number Diff line number Diff line Loading @@ -413,7 +413,9 @@ public class StackScrollAlgorithm { ExpandableNotificationRow topHeadsUpEntry = ambientState.getTopHeadsUpEntry(); int childCount = algorithmState.visibleChildren.size(); int numberOfElementsCompletelyIn = (int) algorithmState.itemsInTopStack; int numberOfElementsCompletelyIn = algorithmState.partialInTop == 1.0f ? algorithmState.lastTopStackIndex : (int) algorithmState.itemsInTopStack; for (int i = 0; i < childCount; i++) { ExpandableView child = algorithmState.visibleChildren.get(i); StackViewState childViewState = resultState.getViewStateForView(child); Loading