Home
last modified time | relevance | path

Searched refs:cellCountX (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DFocusHelper.java144 final int cellCountX = parent.getCellCountX(); in handlePagedViewGridLayoutWidgetKeyEvent() local
146 final int x = widgetIndex % cellCountX; in handlePagedViewGridLayoutWidgetKeyEvent()
147 final int y = widgetIndex / cellCountX; in handlePagedViewGridLayoutWidgetKeyEvent()
195 int newWidgetIndex = ((y - 1) * cellCountX) + x; in handlePagedViewGridLayoutWidgetKeyEvent()
208 int newWidgetIndex = Math.min(widgetCount - 1, ((y + 1) * cellCountX) + x); in handlePagedViewGridLayoutWidgetKeyEvent()
570 final int cellCountX = layout.getCountX(); in getCellLayoutChildrenSortedSpatially() local
581 int lvIndex = (llp.cellY * cellCountX) + llp.cellX; in getCellLayoutChildrenSortedSpatially()
582 int rvIndex = (rlp.cellY * cellCountX) + rlp.cellX; in getCellLayoutChildrenSortedSpatially()
DPagedViewGridLayout.java35 public PagedViewGridLayout(Context context, int cellCountX, int cellCountY) { in PagedViewGridLayout() argument
37 mCellCountX = cellCountX; in PagedViewGridLayout()
DWorkspace.java295 int cellCountX = DEFAULT_CELL_COUNT_X; in Workspace() local
314 cellCountX = 1; in Workspace()
315 while (CellLayout.widthInPortrait(res, cellCountX + 1) <= minDims.x) { in Workspace()
316 cellCountX++; in Workspace()
333 cellCountX = a.getInt(R.styleable.Workspace_cellCountX, cellCountX); in Workspace()
340 LauncherModel.updateWorkspaceLayoutCells(cellCountX, cellCountY); in Workspace()
DLauncherModel.java1651 int cellCountX = LauncherModel.getCellCountX(); in sortWorkspaceItemsSpatially()
1653 int screenOffset = cellCountX * cellCountY; in sortWorkspaceItemsSpatially()
1656 lhs.cellY * cellCountX + lhs.cellX); in sortWorkspaceItemsSpatially()
1658 rhs.cellY * cellCountX + rhs.cellX); in sortWorkspaceItemsSpatially()
DLauncher.java3688 int cellCountX = LauncherModel.getCellCountX(); in runNewAppsAnimation()
3689 return (alp.cellY * cellCountX + alp.cellX) - (blp.cellY * cellCountX + blp.cellX); in runNewAppsAnimation()
DAppsCustomizePagedView.java1099 int cellWidth, int cellHeight, int cellCountX) { in prepareLoadWidgetPreviewsTask() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java2474 int cellCountX = (int) profile.numColumns; in sortWorkspaceItemsSpatially()
2476 int screenOffset = cellCountX * cellCountY; in sortWorkspaceItemsSpatially()
2479 lhs.cellY * cellCountX + lhs.cellX); in sortWorkspaceItemsSpatially()
2481 rhs.cellY * cellCountX + rhs.cellX); in sortWorkspaceItemsSpatially()