Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableView.java +1 −1 Original line number Diff line number Diff line Loading @@ -422,7 +422,7 @@ public abstract class ExpandableView extends FrameLayout implements Dumpable { outRect.top += getTop() + getTranslationY(); } outRect.bottom = outRect.top + getActualHeight(); outRect.top += getClipTopAmount(); outRect.top += Math.max(0, getClipTopAmount()); } public boolean isSummaryWithChildren() { Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationChildrenContainer.java +1 −1 Original line number Diff line number Diff line Loading @@ -855,7 +855,7 @@ public class NotificationChildrenContainer extends ViewGroup for (int childIdx = 0; childIdx < count; childIdx++) { ExpandableNotificationRow slidingChild = mAttachedChildren.get(childIdx); float childTop = slidingChild.getTranslationY(); float top = childTop + slidingChild.getClipTopAmount(); float top = childTop + Math.max(0, slidingChild.getClipTopAmount()); float bottom = childTop + slidingChild.getActualHeight(); if (y >= top && y <= bottom) { return slidingChild; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableView.java +1 −1 Original line number Diff line number Diff line Loading @@ -422,7 +422,7 @@ public abstract class ExpandableView extends FrameLayout implements Dumpable { outRect.top += getTop() + getTranslationY(); } outRect.bottom = outRect.top + getActualHeight(); outRect.top += getClipTopAmount(); outRect.top += Math.max(0, getClipTopAmount()); } public boolean isSummaryWithChildren() { Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationChildrenContainer.java +1 −1 Original line number Diff line number Diff line Loading @@ -855,7 +855,7 @@ public class NotificationChildrenContainer extends ViewGroup for (int childIdx = 0; childIdx < count; childIdx++) { ExpandableNotificationRow slidingChild = mAttachedChildren.get(childIdx); float childTop = slidingChild.getTranslationY(); float top = childTop + slidingChild.getClipTopAmount(); float top = childTop + Math.max(0, slidingChild.getClipTopAmount()); float bottom = childTop + slidingChild.getActualHeight(); if (y >= top && y <= bottom) { return slidingChild; Loading