Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +2 −1 Original line number Diff line number Diff line Loading @@ -282,7 +282,7 @@ public abstract class PanelView extends FrameLayout { onTrackingStarted(); } } final float newHeight = h + mInitialOffsetOnTouch; final float newHeight = Math.max(0, h + mInitialOffsetOnTouch); if (newHeight > mPeekHeight) { if (mPeekAnimator != null) { mPeekAnimator.cancel(); Loading Loading @@ -565,6 +565,7 @@ public abstract class PanelView extends FrameLayout { } } mExpandedHeight = Math.max(0, mExpandedHeight); onHeightUpdated(mExpandedHeight); mExpandedFraction = Math.min(1f, fhWithoutOverExpansion == 0 ? 0 Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java +4 −2 Original line number Diff line number Diff line Loading @@ -94,9 +94,11 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener { } public void setPanelExpansion(float fraction) { if (mFraction != fraction) { mFraction = fraction; scheduleUpdate(); } } public void setBouncerShowing(boolean showing) { mBouncerShowing = showing; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +2 −1 Original line number Diff line number Diff line Loading @@ -282,7 +282,7 @@ public abstract class PanelView extends FrameLayout { onTrackingStarted(); } } final float newHeight = h + mInitialOffsetOnTouch; final float newHeight = Math.max(0, h + mInitialOffsetOnTouch); if (newHeight > mPeekHeight) { if (mPeekAnimator != null) { mPeekAnimator.cancel(); Loading Loading @@ -565,6 +565,7 @@ public abstract class PanelView extends FrameLayout { } } mExpandedHeight = Math.max(0, mExpandedHeight); onHeightUpdated(mExpandedHeight); mExpandedFraction = Math.min(1f, fhWithoutOverExpansion == 0 ? 0 Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java +4 −2 Original line number Diff line number Diff line Loading @@ -94,9 +94,11 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener { } public void setPanelExpansion(float fraction) { if (mFraction != fraction) { mFraction = fraction; scheduleUpdate(); } } public void setBouncerShowing(boolean showing) { mBouncerShowing = showing; Loading