Merge "Revert "Cancel animation whenever MotionEvent.ACTION_DOWN is detected"" into ub-launcher3-calgary
This commit is contained in:
committed by
Android (Google) Code Review
commit
136a822e02
@@ -97,9 +97,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
|
||||
} else if (!mLauncher.isAllAppsVisible() && !shouldPossiblyIntercept(ev)) {
|
||||
mNoIntercept = true;
|
||||
} 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
|
||||
// calling the callbacks.
|
||||
int conditionsToReportScroll = 0;
|
||||
@@ -165,6 +162,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
|
||||
|
||||
@Override
|
||||
public void onScrollStart(boolean start) {
|
||||
cancelAnimation();
|
||||
mCurrentAnimation = LauncherAnimUtils.createAnimatorSet();
|
||||
mShiftStart = mAppsView.getTranslationY();
|
||||
preparePull(start);
|
||||
|
||||
Reference in New Issue
Block a user