Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +6 −1 Original line number Diff line number Diff line Loading @@ -78,6 +78,7 @@ public class NotificationPanelView extends PanelView implements private boolean mQsExpansionEnabled = true; private ValueAnimator mQsExpansionAnimator; private FlingAnimationUtils mFlingAnimationUtils; private int mStatusBarMinHeight; public NotificationPanelView(Context context, AttributeSet attrs) { super(context, attrs); Loading Loading @@ -116,6 +117,8 @@ public class NotificationPanelView extends PanelView implements R.dimen.notifications_top_padding); mMinStackHeight = getResources().getDimensionPixelSize(R.dimen.collapsed_stack_height); mFlingAnimationUtils = new FlingAnimationUtils(getContext()); mStatusBarMinHeight = getResources().getDimensionPixelSize( com.android.internal.R.dimen.status_bar_height); } @Override Loading Loading @@ -520,7 +523,9 @@ public class NotificationPanelView extends PanelView implements int notificationMarginBottom = mStackScrollerContainer.getPaddingBottom(); int emptyBottomMargin = notificationMarginBottom + mNotificationStackScroller.getEmptyBottomMargin(); return maxPanelHeight - emptyBottomMargin; int maxHeight = maxPanelHeight - emptyBottomMargin; maxHeight = Math.max(maxHeight, mStatusBarMinHeight); return maxHeight; } return super.getMaxPanelHeight(); } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java +0 −1 Original line number Diff line number Diff line Loading @@ -224,6 +224,5 @@ public class PanelBar extends FrameLayout { public void onTrackingStopped(PanelView panel) { mTracking = false; panelExpansionChanged(panel, panel.getExpandedFraction()); } } packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelHolder.java +0 −6 Original line number Diff line number Diff line Loading @@ -77,12 +77,6 @@ public class PanelHolder extends FrameLayout { event.getActionMasked(), (int) event.getX(), (int) event.getY()); } } switch (event.getAction()) { case MotionEvent.ACTION_DOWN: PanelBar.LOG("PanelHolder got touch in open air, closing panels"); mBar.collapseAllPanels(true); break; } return false; } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +6 −1 Original line number Diff line number Diff line Loading @@ -78,6 +78,7 @@ public class NotificationPanelView extends PanelView implements private boolean mQsExpansionEnabled = true; private ValueAnimator mQsExpansionAnimator; private FlingAnimationUtils mFlingAnimationUtils; private int mStatusBarMinHeight; public NotificationPanelView(Context context, AttributeSet attrs) { super(context, attrs); Loading Loading @@ -116,6 +117,8 @@ public class NotificationPanelView extends PanelView implements R.dimen.notifications_top_padding); mMinStackHeight = getResources().getDimensionPixelSize(R.dimen.collapsed_stack_height); mFlingAnimationUtils = new FlingAnimationUtils(getContext()); mStatusBarMinHeight = getResources().getDimensionPixelSize( com.android.internal.R.dimen.status_bar_height); } @Override Loading Loading @@ -520,7 +523,9 @@ public class NotificationPanelView extends PanelView implements int notificationMarginBottom = mStackScrollerContainer.getPaddingBottom(); int emptyBottomMargin = notificationMarginBottom + mNotificationStackScroller.getEmptyBottomMargin(); return maxPanelHeight - emptyBottomMargin; int maxHeight = maxPanelHeight - emptyBottomMargin; maxHeight = Math.max(maxHeight, mStatusBarMinHeight); return maxHeight; } return super.getMaxPanelHeight(); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java +0 −1 Original line number Diff line number Diff line Loading @@ -224,6 +224,5 @@ public class PanelBar extends FrameLayout { public void onTrackingStopped(PanelView panel) { mTracking = false; panelExpansionChanged(panel, panel.getExpandedFraction()); } }
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelHolder.java +0 −6 Original line number Diff line number Diff line Loading @@ -77,12 +77,6 @@ public class PanelHolder extends FrameLayout { event.getActionMasked(), (int) event.getX(), (int) event.getY()); } } switch (event.getAction()) { case MotionEvent.ACTION_DOWN: PanelBar.LOG("PanelHolder got touch in open air, closing panels"); mBar.collapseAllPanels(true); break; } return false; } Loading