Adding back the widgets pane to the merged AllApps.

- Fixing issue with holographic drag outlines being drawn offset

Change-Id: Ie0e89d76ce6714b44f9cd2ddf99ad608b51bf005
This commit is contained in:
Winson Chung committed 2011-04-28 14:53:51 -07:00
1 parent 9e87bd8ee7
commit 4b576be59e
10 files changed
+424 -41

No files matched your search

@@ -267,8 +267,12 @@ public class PagedViewCellLayout extends ViewGroup implements Page {
}
}
int getContentHeight() {
return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap);
}
int getWidthBeforeFirstLayout() {
return mCellCountX * mCellWidth + (mCellCountX - 1) * mWidthGap;
return mCellCountX * mCellWidth + (mCellCountX - 1) * Math.max(0, mWidthGap);
}
@Override