Lines Matching defs:row
137 int row;
151 * @param row The row of the cell.
154 private Cell(int row, int column) {
155 checkRange(row, column);
156 this.row = row;
161 return row;
169 * @param row The row of the cell.
172 public static synchronized Cell of(int row, int column) {
173 checkRange(row, column);
174 return sCells[row][column];
177 private static void checkRange(int row, int column) {
178 if (row < 0 || row > 2) {
179 throw new IllegalArgumentException("row must be in range 0-2");
187 return "(row=" + row + ",clmn=" + column + ")";
484 int dRow = cell.row - lastCell.row;
487 int fillInRow = lastCell.row;
491 fillInRow = lastCell.row + ((dRow > 0) ? 1 : -1);
502 !mPatternDrawLookup[fillInGapCell.row][fillInGapCell.column]) {
541 * Helper method to find the row that y falls into.
543 * @return The row that y falls in, or -1 if it falls in no row.
604 final float startY = getCenterYForRow(hitCell.row);
661 float startY = getCenterYForRow(lastCell.row);
713 startY = getCenterYForRow(hitCell.row);
719 oldY = getCenterYForRow(hitCell.row);
776 private float getCenterYForRow(int row) {
777 return mPaddingTop + row * mSquareHeight + mSquareHeight / 2f;
814 final float centerY = getCenterYForRow(currentCell.row);
820 (getCenterYForRow(nextCell.row) - centerY);
850 if (!drawLookup[cell.row][cell.column]) {
856 float centerY = getCenterYForRow(cell.row);
897 if (!drawLookup[next.row][next.column]) {
902 float topY = paddingTop + cell.row * squareHeight;
913 final int endRow = end.row;
914 final int startRow = start.row;