Home
last modified time | relevance | path

Searched refs:mCellCountY (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java38 private int mCellCountY; field in PagedViewCellLayout
70 mCellCountY = LauncherModel.getCellCountY(); in PagedViewCellLayout()
108 lp.cellY >= 0 && (lp.cellY <= mCellCountY - 1)) { in addViewToCellLayout()
112 if (lp.cellVSpan < 0) lp.cellVSpan = mCellCountY; in addViewToCellLayout()
167 return mCellCountY; in getCellCountY()
182 int numHeightGaps = mCellCountY - 1; in onMeasure()
188 int vFreeSpace = vSpace - (mCellCountY * mOriginalCellHeight); in onMeasure()
204 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) + in onMeasure()
205 ((mCellCountY - 1) * mHeightGap); in onMeasure()
229 if (mCellCountY > 0) { in getContentHeight()
[all …]
DHotseat.java39 private int mCellCountY; field in Hotseat
60 mCellCountY = a.getInt(R.styleable.Hotseat_cellCountY, -1); in Hotseat()
100 if (mCellCountY < 0) mCellCountY = LauncherModel.getCellCountY(); in onFinishInflate()
102 mContent.setGridSize(mCellCountX, mCellCountY); in onFinishInflate()
DPagedViewGridLayout.java32 private int mCellCountY; field in PagedViewGridLayout
38 mCellCountY = cellCountY; in PagedViewGridLayout()
46 return mCellCountY; in getCellCountY()
DAppsCustomizePagedView.java300 int numItemsPerPage = mCellCountX * mCellCountY; in getMiddleComponentIndexOnCurrentPage()
333 int numItemsPerPage = mCellCountX * mCellCountY; in getPageForComponent()
350 mNumAppsPages = (int) Math.ceil((float) mApps.size() / (mCellCountX * mCellCountY)); in updatePageCounts()
385 mCellCountY = mWidgetSpacingLayout.getCellCountY(); in onDataReady()
1005 layout.setCellCount(mCellCountX, mCellCountY); in setupPage()
1025 int numCells = mCellCountX * mCellCountY; in syncAppsPageItems()
DLauncherModel.java146 private static int mCellCountY; field in LauncherModel
672 return mCellCountY; in getCellCountY()
681 mCellCountY = longAxisCellCount; in updateWorkspaceLayoutCells()
1281 new ItemInfo[Launcher.SCREEN_COUNT + 1][mCellCountX + 1][mCellCountY + 1]; in loadWorkspace()
1503 for (int y = 0; y < mCellCountY; y++) { in loadWorkspace()
DPagedView.java132 protected int mCellCountY = 0; field in PagedView