Searched refs:cellCountX (Results 1 – 7 of 7) sorted by relevance
144 final int cellCountX = parent.getCellCountX(); in handlePagedViewGridLayoutWidgetKeyEvent() local146 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() local581 int lvIndex = (llp.cellY * cellCountX) + llp.cellX; in getCellLayoutChildrenSortedSpatially()582 int rvIndex = (rlp.cellY * cellCountX) + rlp.cellX; in getCellLayoutChildrenSortedSpatially()
35 public PagedViewGridLayout(Context context, int cellCountX, int cellCountY) { in PagedViewGridLayout() argument37 mCellCountX = cellCountX; in PagedViewGridLayout()
295 int cellCountX = DEFAULT_CELL_COUNT_X; in Workspace() local314 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()
1651 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()
3688 int cellCountX = LauncherModel.getCellCountX(); in runNewAppsAnimation()3689 return (alp.cellY * cellCountX + alp.cellX) - (blp.cellY * cellCountX + blp.cellX); in runNewAppsAnimation()
1099 int cellWidth, int cellHeight, int cellCountX) { in prepareLoadWidgetPreviewsTask() argument
2474 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()