Loading src/com/android/launcher3/allapps/AllAppsTransitionController.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -97,6 +97,9 @@ public class AllAppsTransitionController implements TouchController, VerticalPul } else if (!mLauncher.isAllAppsVisible() && !shouldPossiblyIntercept(ev)) { } else if (!mLauncher.isAllAppsVisible() && !shouldPossiblyIntercept(ev)) { mNoIntercept = true; mNoIntercept = true; } else { } else { // This controller is now going to handle all the touch events. // First cancel any animation that is in progress. cancelAnimation(); // Now figure out which direction scroll events the controller will start // Now figure out which direction scroll events the controller will start // calling the callbacks. // calling the callbacks. int conditionsToReportScroll = 0; int conditionsToReportScroll = 0; Loading Loading @@ -162,7 +165,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul @Override @Override public void onScrollStart(boolean start) { public void onScrollStart(boolean start) { cancelAnimation(); mCurrentAnimation = LauncherAnimUtils.createAnimatorSet(); mCurrentAnimation = LauncherAnimUtils.createAnimatorSet(); mShiftStart = mAppsView.getTranslationY(); mShiftStart = mAppsView.getTranslationY(); preparePull(start); preparePull(start); Loading Loading
src/com/android/launcher3/allapps/AllAppsTransitionController.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -97,6 +97,9 @@ public class AllAppsTransitionController implements TouchController, VerticalPul } else if (!mLauncher.isAllAppsVisible() && !shouldPossiblyIntercept(ev)) { } else if (!mLauncher.isAllAppsVisible() && !shouldPossiblyIntercept(ev)) { mNoIntercept = true; mNoIntercept = true; } else { } else { // This controller is now going to handle all the touch events. // First cancel any animation that is in progress. cancelAnimation(); // Now figure out which direction scroll events the controller will start // Now figure out which direction scroll events the controller will start // calling the callbacks. // calling the callbacks. int conditionsToReportScroll = 0; int conditionsToReportScroll = 0; Loading Loading @@ -162,7 +165,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul @Override @Override public void onScrollStart(boolean start) { public void onScrollStart(boolean start) { cancelAnimation(); mCurrentAnimation = LauncherAnimUtils.createAnimatorSet(); mCurrentAnimation = LauncherAnimUtils.createAnimatorSet(); mShiftStart = mAppsView.getTranslationY(); mShiftStart = mAppsView.getTranslationY(); preparePull(start); preparePull(start); Loading