Merge "Resize only one widget at a time" into ub-launcher3-master

This commit is contained in:
Sunny Goyal
2016-09-23 23:23:03 +00:00
committed by Android (Google) Code Review
9 changed files with 113 additions and 85 deletions

View File

@@ -106,7 +106,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
}
@Override
public boolean onInterceptTouchEvent(MotionEvent ev) {
public boolean onControllerInterceptTouchEvent(MotionEvent ev) {
if (ev.getAction() == MotionEvent.ACTION_DOWN) {
mNoIntercept = false;
if (!mLauncher.isAllAppsVisible() && mLauncher.getWorkspace().workspaceInModalState()) {
@@ -172,7 +172,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
}
@Override
public boolean onTouchEvent(MotionEvent ev) {
public boolean onControllerTouchEvent(MotionEvent ev) {
return mDetector.onTouchEvent(ev);
}