Dynamically determine # of rows/cols in All Apps.

Change-Id: Ia8c1b3915325823f7617862e0e4e0db865ea0d5d
This commit is contained in:
Patrick Dubroy
2011-05-19 16:48:48 -07:00
parent dc4682a474
commit 244d74cb35
8 changed files with 106 additions and 53 deletions
+3 -3
View File
@@ -113,8 +113,8 @@ public abstract class PagedView extends ViewGroup {
protected int mPageLayoutWidthGap;
protected int mPageLayoutHeightGap;
protected int mPageLayoutMaxHeight;
protected int mCellCountX;
protected int mCellCountY;
protected int mCellCountX = -1;
protected int mCellCountY = -1;
protected boolean mCenterPagesVertically;
protected boolean mAllowOverScroll = true;
protected int mUnboundedScrollX;
@@ -1549,7 +1549,7 @@ public abstract class PagedView extends ViewGroup {
*/
public abstract void syncPageItems(int page);
public void invalidatePageData() {
protected void invalidatePageData() {
if (mContentIsRefreshable) {
// Update all the pages
syncPages();