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.java303 int numItemsPerPage = mCellCountX * mCellCountY; in getMiddleComponentIndexOnCurrentPage()
336 int numItemsPerPage = mCellCountX * mCellCountY; in getPageForComponent()
353 mNumAppsPages = (int) Math.ceil((float) mApps.size() / (mCellCountX * mCellCountY)); in updatePageCounts()
388 mCellCountY = mWidgetSpacingLayout.getCellCountY(); in onDataReady()
1000 layout.setCellCount(mCellCountX, mCellCountY); in setupPage()
1020 int numCells = mCellCountX * mCellCountY; in syncAppsPageItems()
DLauncherModel.java149 private static int mCellCountY; field in LauncherModel
691 return mCellCountY; in getCellCountY()
700 mCellCountY = longAxisCellCount; in updateWorkspaceLayoutCells()
1294 new ItemInfo[Launcher.SCREEN_COUNT + 1][mCellCountX + 1][mCellCountY + 1]; in loadWorkspace()
1528 for (int y = 0; y < mCellCountY; y++) { in loadWorkspace()
DPagedView.java132 protected int mCellCountY = 0; field in PagedView