Searched refs:smallerSize (Results 1 – 2 of 2) sorted by relevance
294 int smallerSize = Math.min(mCellWidth, mCellHeight); in getCellCountForDimensions() local297 int spanX = (width + smallerSize) / smallerSize; in getCellCountForDimensions()298 int spanY = (height + smallerSize) / smallerSize; in getCellCountForDimensions()
2999 int smallerSize = Math.min(actualWidth, actualHeight); in rectToCell() local3002 int spanX = (int) Math.ceil(width / (float) smallerSize); in rectToCell()3003 int spanY = (int) Math.ceil(height / (float) smallerSize); in rectToCell()