diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2016-09-23 11:01:10 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2016-09-23 16:02:49 -0700 |
commit | 6ad72f02fd233f2294222477102e83d721100493 (patch) | |
tree | ac28c5bebd8667249545b8829ec9e3332040fcbb /src/com/android/launcher3/shortcuts | |
parent | f09bfab404fa0118a6c3cb6a317edaab3907eb0b (diff) | |
download | android_packages_apps_Trebuchet-6ad72f02fd233f2294222477102e83d721100493.tar.gz android_packages_apps_Trebuchet-6ad72f02fd233f2294222477102e83d721100493.tar.bz2 android_packages_apps_Trebuchet-6ad72f02fd233f2294222477102e83d721100493.zip |
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
Diffstat (limited to 'src/com/android/launcher3/shortcuts')
-rw-r--r-- | src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java b/src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java index b02e8abda..5b308feb9 100644 --- a/src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java +++ b/src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java @@ -447,7 +447,7 @@ public class DeepShortcutsContainer extends LinearLayout implements View.OnLongC cleanupDeferredDrag(true); mDeferredDragIcon.getParent().requestDisallowInterceptTouchEvent(false); mDeferredDragIcon.getOnLongClickListener().onLongClick(mDeferredDragIcon); - mLauncher.getDragController().onTouchEvent(ev); + mLauncher.getDragController().onControllerTouchEvent(ev); return true; } else if (mDistanceDragged > mDragDeadzone) { // After dragging further than a small deadzone, |