Removing SmoothPagedView as all its methods are disabled

Change-Id: I83c99bb3d3546693200d64e2233957b4c679e7e6
This commit is contained in:
Sunny Goyal
2015-05-27 10:24:24 -07:00
parent bbcf5ac7aa
commit 5a1f53b306
4 changed files with 16 additions and 225 deletions

View File

@@ -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 {
@@ -457,11 +457,6 @@ public class Workspace extends SmoothPagedView
setLayoutTransition(null);
}
@Override
protected int getScrollMode() {
return SmoothPagedView.X_LARGE_MODE;
}
@Override
public void onChildViewAdded(View parent, View child) {
if (!(child instanceof CellLayout)) {