Lines Matching defs:col

86     public int getColumnSpan(int col) {
87 if (col < columnSpans.length) {
88 return columnSpans[col];
296 int col = 0;
297 for (int cell = 0; cell < rv.getViewCount(); cell++, col++) {
308 for (; rv.isFilled(col); col++);
317 int colLimit = col + colSpan;
319 for (int j = col; j < colLimit; j++) {
320 if (i != row || j != col) {
326 col += colSpan - 1;
330 maxColumns = Math.max(maxColumns, col);
348 void addFill(int row, int col) {
351 rv.fillColumn(col);
413 int col = 0;
420 for (; row.isFilled(col); col++); // advance to a free column
424 checkSingleColumnCell(axis, col, cv);
427 col += colSpan - 1;
429 col++;
437 int col = 0;
444 for (; row.isFilled(col); col++); // advance to a free column
447 checkMultiColumnCell(axis, col, colSpan, cv);
448 col += colSpan - 1;
450 col++;
459 void checkSingleColumnCell(int axis, int col, View v) {
460 SizeRequirements req = columnRequirements[col];
469 void checkMultiColumnCell(int axis, int col, int ncols, View v) {
475 SizeRequirements req = columnRequirements[col + i];
490 reqs[i] = columnRequirements[col + i];
514 reqs[i] = columnRequirements[col + i];
1027 int col = 0;
1029 for (int cell = 0; cell < ncells; cell++, col++) {
1031 for (; row.isFilled(col); col++); // advance to a free column
1042 percentages[col+i] = Math.max(percentages[col+i], len);
1043 adjustmentWeights[col + i] = Math.max(adjustmentWeights[col + i], WorstAdjustmentWeight);
1045 adjustmentWeights[col + i] = Math.max(adjustmentWeights[col + i], WorstAdjustmentWeight - 1);
1049 col += colSpan - 1;
1070 col = i;
1074 offsets[col] = offs;
1078 return offsets[col];
1082 spans[col] = span;
1086 return spans[col];
1091 // be less than columnRequirements[col].minimum,
1093 return columnRequirements[col].minimum;
1097 if ((percentages != null) && (percentages[col] != 0)) {
1098 return Math.max(percentages[col], columnRequirements[col].minimum);
1100 return columnRequirements[col].preferred;
1104 return columnRequirements[col].maximum;
1121 return adjustmentWeights[col];
1127 private int col;
1319 void fillColumn(int col) {
1320 fillColumns.set(col);
1323 boolean isFilled(int col) {
1324 return fillColumns.get(col);
1537 int col = 0;
1544 for (; isFilled(col); col++); // advance to a free column
1546 spans[cell] = columnSpans[col];
1547 offsets[cell] = columnOffsets[col];
1554 if ((col+j) < n) {
1555 spans[cell] += columnSpans[col+j];
1559 col += colSpan - 1;
1561 col++;
1589 int col = 0;
1591 for (int cell = 0; cell < ncells; cell++, col++) {
1593 for (; isFilled(col); col++); // advance to a free column
1603 col += colSpan - 1;