Merge "Reduce unnecessary layout passes" into ics-mr1

This commit is contained in:
Michael Jurka authored and Android (Google) Code Review committed 2011-11-10 15:02:00 -08:00
commit e6dcf26512
9 files changed
+47 -80

No files matched your search

-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);