Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +0 −45 Original line number Diff line number Diff line Loading @@ -89,7 +89,6 @@ import com.android.systemui.ExpandHelper; import com.android.systemui.flags.FeatureFlags; import com.android.systemui.flags.Flags; import com.android.systemui.plugins.ActivityStarter; import com.android.systemui.plugins.statusbar.NotificationSwipeActionHelper; import com.android.systemui.res.R; import com.android.systemui.scene.shared.flag.SceneContainerFlag; import com.android.systemui.shade.TouchLogger; Loading Loading @@ -620,8 +619,6 @@ public class NotificationStackScrollLayout @Nullable private OnClickListener mManageButtonClickListener; @Nullable private OnNotificationRemovedListener mOnNotificationRemovedListener; public NotificationStackScrollLayout(Context context, AttributeSet attrs) { super(context, attrs, 0, 0); Loading Loading @@ -773,10 +770,6 @@ public class NotificationStackScrollLayout && !mIsRemoteInputActive; } public NotificationSwipeActionHelper getSwipeActionHelper() { return mSwipeHelper; } void updateBgColor() { for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); Loading Loading @@ -1980,17 +1973,6 @@ public class NotificationStackScrollLayout return insets; } private final Runnable mReclamp = new Runnable() { @Override public void run() { int range = getScrollRange(); mScroller.startScroll(mScrollX, mOwnScrollY, 0, range - mOwnScrollY); mDontReportNextOverScroll = true; mDontClampNextScroll = true; animateScroll(); } }; public void setExpandingEnabled(boolean enable) { mExpandHelper.setEnabled(enable); } Loading Loading @@ -2444,17 +2426,6 @@ public class NotificationStackScrollLayout return null; } private ExpandableNotificationRow getLastRowNotGone() { int childCount = getChildCount(); for (int i = childCount - 1; i >= 0; i--) { View child = getChildAt(i); if (child instanceof ExpandableNotificationRow && child.getVisibility() != View.GONE) { return (ExpandableNotificationRow) child; } } return null; } /** * @return the number of children which have visibility unequal to GONE */ Loading Loading @@ -2704,10 +2675,6 @@ public class NotificationStackScrollLayout return mTopPaddingOverflow; } private int clampPadding(int desiredPadding) { return Math.max(desiredPadding, mIntrinsicPadding); } private float getRubberBandFactor(boolean onTop) { if (!onTop) { return RUBBER_BAND_FACTOR_NORMAL; Loading Loading @@ -6583,16 +6550,4 @@ public class NotificationStackScrollLayout void onAnimationEnd( List<ExpandableNotificationRow> viewsToRemove, @SelectedRows int selectedRows); } /** * */ public interface OnNotificationRemovedListener { /** * * @param child * @param isTransferInProgress */ void onNotificationRemoved(ExpandableView child, boolean isTransferInProgress); } } Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +0 −45 Original line number Diff line number Diff line Loading @@ -89,7 +89,6 @@ import com.android.systemui.ExpandHelper; import com.android.systemui.flags.FeatureFlags; import com.android.systemui.flags.Flags; import com.android.systemui.plugins.ActivityStarter; import com.android.systemui.plugins.statusbar.NotificationSwipeActionHelper; import com.android.systemui.res.R; import com.android.systemui.scene.shared.flag.SceneContainerFlag; import com.android.systemui.shade.TouchLogger; Loading Loading @@ -620,8 +619,6 @@ public class NotificationStackScrollLayout @Nullable private OnClickListener mManageButtonClickListener; @Nullable private OnNotificationRemovedListener mOnNotificationRemovedListener; public NotificationStackScrollLayout(Context context, AttributeSet attrs) { super(context, attrs, 0, 0); Loading Loading @@ -773,10 +770,6 @@ public class NotificationStackScrollLayout && !mIsRemoteInputActive; } public NotificationSwipeActionHelper getSwipeActionHelper() { return mSwipeHelper; } void updateBgColor() { for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); Loading Loading @@ -1980,17 +1973,6 @@ public class NotificationStackScrollLayout return insets; } private final Runnable mReclamp = new Runnable() { @Override public void run() { int range = getScrollRange(); mScroller.startScroll(mScrollX, mOwnScrollY, 0, range - mOwnScrollY); mDontReportNextOverScroll = true; mDontClampNextScroll = true; animateScroll(); } }; public void setExpandingEnabled(boolean enable) { mExpandHelper.setEnabled(enable); } Loading Loading @@ -2444,17 +2426,6 @@ public class NotificationStackScrollLayout return null; } private ExpandableNotificationRow getLastRowNotGone() { int childCount = getChildCount(); for (int i = childCount - 1; i >= 0; i--) { View child = getChildAt(i); if (child instanceof ExpandableNotificationRow && child.getVisibility() != View.GONE) { return (ExpandableNotificationRow) child; } } return null; } /** * @return the number of children which have visibility unequal to GONE */ Loading Loading @@ -2704,10 +2675,6 @@ public class NotificationStackScrollLayout return mTopPaddingOverflow; } private int clampPadding(int desiredPadding) { return Math.max(desiredPadding, mIntrinsicPadding); } private float getRubberBandFactor(boolean onTop) { if (!onTop) { return RUBBER_BAND_FACTOR_NORMAL; Loading Loading @@ -6583,16 +6550,4 @@ public class NotificationStackScrollLayout void onAnimationEnd( List<ExpandableNotificationRow> viewsToRemove, @SelectedRows int selectedRows); } /** * */ public interface OnNotificationRemovedListener { /** * * @param child * @param isTransferInProgress */ void onNotificationRemoved(ExpandableView child, boolean isTransferInProgress); } }