Loading packages/SystemUI/src/com/android/systemui/ExpandHelper.java +1 −1 Original line number Diff line number Diff line Loading @@ -437,7 +437,7 @@ public class ExpandHelper implements Gefingerpoken { break; } mLastMotionY = ev.getRawY(); return true; return mResizedView != null; } /** Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +3 −2 Original line number Diff line number Diff line Loading @@ -162,7 +162,7 @@ public abstract class PanelView extends FrameLayout { if (mHeightAnimator != null) { mHeightAnimator.cancel(); // end any outstanding animations } mTouchSlopExceeded = true; mTouchSlopExceeded = (mHeightAnimator != null && !mHintAnimationRunning); onTrackingStarted(); } if (mExpandedHeight == 0) { Loading Loading @@ -219,7 +219,8 @@ public abstract class PanelView extends FrameLayout { case MotionEvent.ACTION_CANCEL: mTrackingPointer = -1; trackMovement(event); if (mTracking && mTouchSlopExceeded) { if ((mTracking && mTouchSlopExceeded) || event.getActionMasked() == MotionEvent.ACTION_CANCEL) { float vel = getCurrentVelocity(); boolean expand = flingExpands(vel); onTrackingStopped(expand); Loading Loading
packages/SystemUI/src/com/android/systemui/ExpandHelper.java +1 −1 Original line number Diff line number Diff line Loading @@ -437,7 +437,7 @@ public class ExpandHelper implements Gefingerpoken { break; } mLastMotionY = ev.getRawY(); return true; return mResizedView != null; } /** Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +3 −2 Original line number Diff line number Diff line Loading @@ -162,7 +162,7 @@ public abstract class PanelView extends FrameLayout { if (mHeightAnimator != null) { mHeightAnimator.cancel(); // end any outstanding animations } mTouchSlopExceeded = true; mTouchSlopExceeded = (mHeightAnimator != null && !mHintAnimationRunning); onTrackingStarted(); } if (mExpandedHeight == 0) { Loading Loading @@ -219,7 +219,8 @@ public abstract class PanelView extends FrameLayout { case MotionEvent.ACTION_CANCEL: mTrackingPointer = -1; trackMovement(event); if (mTracking && mTouchSlopExceeded) { if ((mTracking && mTouchSlopExceeded) || event.getActionMasked() == MotionEvent.ACTION_CANCEL) { float vel = getCurrentVelocity(); boolean expand = flingExpands(vel); onTrackingStopped(expand); Loading