Resize only one widget at a time

> Removing logic to have multiple widgets in resize mode
> Making ResizeFrame a touch controller, so that it fits well with
other touch interaction in drag layer
> Chaning the method names in touch controller, so that it do not
overlaps with the default View methods

Change-Id: I85d4dbdfc82d078781adbce137dfaaea59c9c83d
This commit is contained in:
Sunny Goyal committed 2016-09-23 16:02:49 -07:00
1 parent f09bfab404
commit 6ad72f02fd
9 files changed
+113 -87

No files matched your search

@@ -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.getWorkspace().isInOverviewMode() || mLauncher.isWidgetsViewVisible()) {
@@ -173,7 +173,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
}
@Override
public boolean onTouchEvent(MotionEvent ev) {
public boolean onControllerTouchEvent(MotionEvent ev) {
return mDetector.onTouchEvent(ev);
}