Searched refs:maxCellCountX (Results 1 – 2 of 2) sorted by relevance
362 public void calculateCellCount(int width, int height, int maxCellCountX, int maxCellCountY) { in calculateCellCount() argument363 mCellCountX = Math.min(maxCellCountX, estimateCellHSpan(width)); in calculateCellCount()
450 int maxCellCountX = Integer.MAX_VALUE; in onDataReady() local453 maxCellCountX = (isLandscape ? LauncherModel.getCellCountX() : in onDataReady()459 maxCellCountX = Math.min(maxCellCountX, mMaxAppCellCountX); in onDataReady()470 mWidgetSpacingLayout.calculateCellCount(width, height, maxCellCountX, maxCellCountY); in onDataReady()