Loading packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/MenuListViewTouchHandler.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -107,6 +107,7 @@ class MenuListViewTouchHandler implements RecyclerView.OnItemTouchListener { mVelocityTracker.computeCurrentVelocity(VELOCITY_UNIT_SECONDS); mVelocityTracker.computeCurrentVelocity(VELOCITY_UNIT_SECONDS); mMenuAnimationController.flingMenuThenSpringToEdge(endX, mMenuAnimationController.flingMenuThenSpringToEdge(endX, mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); mMenuAnimationController.fadeOutIfEnabled(); } } // Avoid triggering the listener of the item. // Avoid triggering the listener of the item. return true; return true; Loading Loading
packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/MenuListViewTouchHandler.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -107,6 +107,7 @@ class MenuListViewTouchHandler implements RecyclerView.OnItemTouchListener { mVelocityTracker.computeCurrentVelocity(VELOCITY_UNIT_SECONDS); mVelocityTracker.computeCurrentVelocity(VELOCITY_UNIT_SECONDS); mMenuAnimationController.flingMenuThenSpringToEdge(endX, mMenuAnimationController.flingMenuThenSpringToEdge(endX, mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); mMenuAnimationController.fadeOutIfEnabled(); } } // Avoid triggering the listener of the item. // Avoid triggering the listener of the item. return true; return true; Loading