Lines Matching refs:column

133         int column;
147 * @param column The column of the cell.
149 private Cell(int row, int column) {
150 checkRange(row, column);
152 this.column = column;
160 return column;
165 * @param column The column of the cell.
167 public static synchronized Cell of(int row, int column) {
168 checkRange(row, column);
169 return sCells[row][column];
172 private static void checkRange(int row, int column) {
176 if (column < 0 || column > 2) {
177 throw new IllegalArgumentException("column must be in range 0-2");
182 return "(row=" + row + ",clmn=" + column + ")";
533 int dColumn = cell.column - lastCell.column;
536 int fillInColumn = lastCell.column;
543 fillInColumn = lastCell.column + ((dColumn > 0) ? 1 : -1);
550 !mPatternDrawLookup[fillInGapCell.row][fillInGapCell.column]) {
574 final CellState cellState = mCellStates[cell.row][cell.column];
584 getCenterXForColumn(cell.column), getCenterYForRow(cell.row));
674 * Helper method to find the column x fallis into.
676 * @return The column that x falls in, or -1 if it falls in no column.
773 float lastCellCenterX = getCenterXForColumn(lastCell.column);
786 final float hitCellCenterX = getCenterXForColumn(hitCell.column);
857 final float startX = getCenterXForColumn(hitCell.column);
876 private float getCenterXForColumn(int column) {
877 return mPaddingLeft + column * mSquareWidth + mSquareWidth / 2f;
917 final float centerX = getCenterXForColumn(currentCell.column);
922 (getCenterXForColumn(nextCell.column) - centerX);
965 if (!drawLookup[cell.row][cell.column]) {
970 float centerX = getCenterXForColumn(cell.column);
973 CellState state = mCellStates[cell.row][cell.column];