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
2011-04-27 17:40:20 -07:00
parent 9e87bd8ee7
commit 4b576be59e
10 changed files with 424 additions and 41 deletions

View File

@@ -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