Dynamically determine # of rows/cols in All Apps.

Change-Id: Ia8c1b3915325823f7617862e0e4e0db865ea0d5d
This commit is contained in:
Patrick Dubroy committed 2011-05-20 14:03:14 -07:00
1 parent dc4682a474
commit 244d74cb35
8 files changed
+106 -53

No files matched your search

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