diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-05-27 10:24:24 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-05-27 10:24:24 -0700 |
commit | 5a1f53b306a4fcf56aad577987386ea1b2dfe6b9 (patch) | |
tree | cedc1754114e1aad95bba0bdef6f85592b2150bc /src/com/android/launcher3/Workspace.java | |
parent | bbcf5ac7aa73a3ce07215d77a0b496cf7fb00f29 (diff) | |
download | android_packages_apps_Trebuchet-5a1f53b306a4fcf56aad577987386ea1b2dfe6b9.tar.gz android_packages_apps_Trebuchet-5a1f53b306a4fcf56aad577987386ea1b2dfe6b9.tar.bz2 android_packages_apps_Trebuchet-5a1f53b306a4fcf56aad577987386ea1b2dfe6b9.zip |
Removing SmoothPagedView as all its methods are disabled
Change-Id: I83c99bb3d3546693200d64e2233957b4c679e7e6
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index d2c37d209..c0a1cfc1e 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -83,7 +83,7 @@ import java.util.concurrent.atomic.AtomicInteger; * Each page contains a number of icons, folders or widgets the user can * interact with. A workspace is meant to be used with a fixed width only. */ -public class Workspace extends SmoothPagedView +public class Workspace extends PagedView implements DropTarget, DragSource, DragScroller, View.OnTouchListener, DragController.DragListener, LauncherTransitionable, ViewGroup.OnHierarchyChangeListener, Insettable, UninstallSource, AccessibilityDragSource { @@ -458,11 +458,6 @@ public class Workspace extends SmoothPagedView } @Override - protected int getScrollMode() { - return SmoothPagedView.X_LARGE_MODE; - } - - @Override public void onChildViewAdded(View parent, View child) { if (!(child instanceof CellLayout)) { throw new IllegalArgumentException("A Workspace can only have CellLayout children."); |