Searched refs:borderSpacing (Results 1 – 1 of 1) sorted by relevance
980 public static int calculateCellWidth(int width, int borderSpacing, int countX) { in calculateCellWidth() argument981 return (width - ((countX - 1) * borderSpacing)) / countX; in calculateCellWidth()984 public static int calculateCellHeight(int height, int borderSpacing, int countY) { in calculateCellHeight() argument985 return (height - ((countY - 1) * borderSpacing)) / countY; in calculateCellHeight()