Lines Matching defs:col

118     int getColumnSpan(int col) {
119 return columnSpans[col];
241 int col = 0;
242 for (int cell = 0; cell < rv.getViewCount(); cell++, col++) {
245 for (; rv.isFilled(col); col++);
251 int colLimit = col + colSpan;
253 for (int j = col; j < colLimit; j++) {
254 if (i != row || j != col) {
260 col += colSpan - 1;
264 maxColumns = Math.max(maxColumns, col);
281 void addFill(int row, int col) {
284 rv.fillColumn(col);
414 int col = 0;
416 for (int cell = 0; cell < ncells; cell++, col++) {
418 for (; row.isFilled(col); col++); // advance to a free column
422 checkSingleColumnCell(axis, col, cv);
425 col += colSpan - 1;
434 int col = 0;
436 for (int cell = 0; cell < ncells; cell++, col++) {
438 for (; row.isFilled(col); col++); // advance to a free column
441 checkMultiColumnCell(axis, col, colSpan, cv);
442 col += colSpan - 1;
461 void checkSingleColumnCell(int axis, int col, View v) {
462 SizeRequirements req = columnRequirements[col];
472 void checkMultiColumnCell(int axis, int col, int ncols, View v) {
478 SizeRequirements req = columnRequirements[col + i];
495 SizeRequirements r = reqs[i] = columnRequirements[col + i];
522 SizeRequirements r = reqs[i] = columnRequirements[col + i];
604 void fillColumn(int col) {
605 fillColumns.set(col);
608 boolean isFilled(int col) {
609 return fillColumns.get(col);
669 int col = 0;
671 for (int cell = 0; cell < ncells; cell++, col++) {
673 for (; isFilled(col); col++); // advance to a free column
675 spans[cell] = columnSpans[col];
676 offsets[cell] = columnOffsets[col];
683 if ((col+j) < n) {
684 spans[cell] += columnSpans[col+j];
687 col += colSpan - 1;
714 int col = 0;
716 for (int cell = 0; cell < ncells; cell++, col++) {
718 for (; isFilled(col); col++); // advance to a free column
734 col += colSpan - 1;
837 * @param col the column >= 0
839 public void setGridLocation(int row, int col) {
841 this.col = col;
855 return col;
859 int col;
875 * @param col the column >= 0
877 public void setGridLocation(int row, int col);