Searched refs:maxCellCountY (Results 1 – 2 of 2) sorted by relevance
351 public void calculateCellCount(int width, int height, int maxCellCountX, int maxCellCountY) { in calculateCellCount() argument353 mCellCountY = Math.min(maxCellCountY, estimateCellVSpan(height)); in calculateCellCount()
365 int maxCellCountY = Integer.MAX_VALUE; in onDataReady() local369 maxCellCountY = (isLandscape ? LauncherModel.getCellCountY() : in onDataReady()376 int maxWidgetCellCountY = maxCellCountY; in onDataReady()386 mWidgetSpacingLayout.calculateCellCount(width, height, maxCellCountX, maxCellCountY); in onDataReady()