code cleanup, preparing for spring-loaded adding to screens
Change-Id: Ic52b8df2b4c4998272fbfe2b1b195c177cac9a23
This commit is contained in:
@@ -16,9 +16,7 @@
|
||||
|
||||
package com.android.launcher2;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
import com.android.launcher.R;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
@@ -30,7 +28,9 @@ import android.view.animation.AnimationUtils;
|
||||
import android.widget.Checkable;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.android.launcher.R;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
|
||||
/**
|
||||
* An implementation of PagedView that populates the pages of the workspace
|
||||
@@ -43,9 +43,6 @@ public class AllAppsPagedView extends PagedView
|
||||
private static final String TAG = "AllAppsPagedView";
|
||||
private static final boolean DEBUG = false;
|
||||
|
||||
private static final int MENU_DELETE_APP = 1;
|
||||
private static final int MENU_APP_INFO = 2;
|
||||
|
||||
private Launcher mLauncher;
|
||||
private DragController mDragController;
|
||||
|
||||
@@ -199,7 +196,7 @@ public class AllAppsPagedView extends PagedView
|
||||
}
|
||||
|
||||
private void setupDragMode() {
|
||||
mLauncher.getWorkspace().shrinkToBottomVisible();
|
||||
mLauncher.getWorkspace().shrink(Workspace.ShrinkState.BOTTOM_VISIBLE);
|
||||
|
||||
ApplicationInfoDropTarget infoButton =
|
||||
(ApplicationInfoDropTarget) mLauncher.findViewById(R.id.info_button);
|
||||
|
||||
Reference in New Issue
Block a user