Refactor and simplify home transitions

Change-Id: I499ba571c889b684a759ee84c2a626ef94977855
This commit is contained in:
Adam Cohen
2011-08-18 18:58:38 -07:00
parent 11ffa5ffb3
commit 7777d967a6
4 changed files with 195 additions and 522 deletions
@@ -529,7 +529,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
// Go into spring loaded mode (must happen before we startDrag())
int currentPageIndex = mLauncher.getWorkspace().getCurrentPage();
CellLayout currentPage = (CellLayout) mLauncher.getWorkspace().getChildAt(currentPageIndex);
mLauncher.enterSpringLoadedDragMode(currentPage);
mLauncher.enterSpringLoadedDragMode();
if (v instanceof PagedViewIcon) {
beginDraggingApplication(v);