Lines Matching refs:columns
42 private int columns; // number of columns, plus two for start
65 // The returned index is a multiple of columns, and therefore
73 index = prevRow * columns;
79 index += columns;
84 index += columns;
93 index += columns;
111 index = columns * mid;
125 index = start * columns;
151 columns = numOfColumns + 2; // count range start and limit columns
152 v = new int[INITIAL_ROWS * columns];
159 int index = columns;
163 index += columns;
179 || column >= (columns - 2)) {
190 // skip range start and limit columns
227 int[] temp = new int[newMaxRows * columns];
228 System.arraycopy(v, 0, temp, 0, rows * columns);
235 int count = (rows * columns) - (lastRow + columns);
237 System.arraycopy(v, lastRow + columns, v, lastRow
238 + (1 + rowsToExpand) * columns, count);
246 count = lastRow - firstRow + columns;
247 System.arraycopy(v, firstRow, v, firstRow + columns, count);
248 lastRow += columns;
251 v[firstRow + 1] = v[firstRow + columns] = start;
252 firstRow += columns;
258 System.arraycopy(v, lastRow, v, lastRow + columns, columns);
261 v[lastRow + 1] = v[lastRow + columns] = limit;
266 prevRow = lastRow / columns;
277 firstRow += columns;
286 || column >= (columns - 2)) {
308 int[] rowToReturn = new int[columns - 2];
309 System.arraycopy(v, rowIndex * columns + 2, rowToReturn, 0,
310 columns - 2);
330 return v[rowIndex * columns];
349 return v[rowIndex * columns + 1] - 1;
362 * columns value.
378 int valueColumns = columns - 2; // not counting start & limit
383 indexArray[i] = Integer.valueOf(columns * i);
391 int count = columns; // includes start/limit columns
401 if (++index == columns) {
501 * Get the number of columns for the compacted array.
510 return columns - 2;