Lines Matching refs:countX
343 final int countX = mContent.getCountX();
345 int x = i % countX;
346 int y = i / countX;
761 int countX = mContent.getCountX();
766 int oldCountX = countX;
768 if (countX * countY < count) {
770 if ((countX <= countY || countY == mMaxCountY) && countX < mMaxCountX) {
771 countX++;
776 } else if ((countY - 1) * countX >= count && countY >= countX) {
778 } else if ((countX - 1) * countY >= count) {
779 countX = Math.max(0, countX - 1);
781 done = countX == oldCountX && countY == oldCountY;
783 mContent.setGridSize(countX, countY);