Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java37 private int mCellCountX; field in PagedViewCellLayout
69 mCellCountX = LauncherModel.getCellCountX(); in PagedViewCellLayout()
107 if (lp.cellX >= 0 && lp.cellX <= (mCellCountX - 1) && in addViewToCellLayout()
111 if (lp.cellHSpan < 0) lp.cellHSpan = mCellCountX; in addViewToCellLayout()
163 return mCellCountX; in getCellCountX()
181 int numWidthGaps = mCellCountX - 1; in onMeasure()
187 int hFreeSpace = hSpace - (mCellCountX * mOriginalCellWidth); in onMeasure()
202 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) + in onMeasure()
203 ((mCellCountX - 1) * mWidthGap); in onMeasure()
236 if (mCellCountX > 0) { in getWidthBeforeFirstLayout()
[all …]
DHotseat.java38 private int mCellCountX; field in Hotseat
59 mCellCountX = a.getInt(R.styleable.Hotseat_cellCountX, -1); in Hotseat()
99 if (mCellCountX < 0) mCellCountX = LauncherModel.getCellCountX(); in onFinishInflate()
102 mContent.setGridSize(mCellCountX, mCellCountY); in onFinishInflate()
DPagedViewGridLayout.java31 private int mCellCountX; field in PagedViewGridLayout
37 mCellCountX = cellCountX; in PagedViewGridLayout()
42 return mCellCountX; in getCellCountX()
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()
387 mCellCountX = mWidgetSpacingLayout.getCellCountX(); in onDataReady()
1000 layout.setCellCount(mCellCountX, mCellCountY); in setupPage()
1020 int numCells = mCellCountX * mCellCountY; in syncAppsPageItems()
1039 int x = index % mCellCountX; in syncAppsPageItems()
1040 int y = index / mCellCountX; in syncAppsPageItems()
1042 x = mCellCountX - x - 1; in syncAppsPageItems()
DLauncherModel.java148 private static int mCellCountX; field in LauncherModel
687 return mCellCountX; in getCellCountX()
699 mCellCountX = shortAxisCellCount; in updateWorkspaceLayoutCells()
1294 new ItemInfo[Launcher.SCREEN_COUNT + 1][mCellCountX + 1][mCellCountY + 1]; in loadWorkspace()
1534 for (int x = 0; x < mCellCountX; x++) { in loadWorkspace()
DPagedView.java131 protected int mCellCountX = 0; field in PagedView