Merge "Reduce unnecessary layout passes" into ics-mr1

This commit is contained in:
Michael Jurka
2011-11-10 15:02:00 -08:00
committed by Android (Google) Code Review
9 changed files with 47 additions and 80 deletions
-1
View File
@@ -2978,7 +2978,6 @@ public class Workspace extends SmoothPagedView
addInScreen(view, container, screen, mTargetCell[0], mTargetCell[1], info.spanX,
info.spanY, insertAtFirst);
cellLayout.onDropChild(view);
cellLayout.animateDrop();
CellLayout.LayoutParams lp = (CellLayout.LayoutParams) view.getLayoutParams();
cellLayout.getChildrenLayout().measureChild(view);