Lines Matching refs:column

40  * <p>The width of a column is defined by the row with the widest cell in that
41 * column. However, a TableLayout can specify certain columns as shrinkable or
45 * marked as shrinkable, the column width can be shrunk to fit the table into
48 * container. It is important to remember that a column can be both shrinkable
49 * and stretchable. In such a situation, the column will change its size to
51 * column by calling
61 * <p> Cells must be added to a row in increasing column order, both in code and
62 * XML. Column numbers are zero-based. If you don't specify a column number for
63 * a child cell, it will autoincrement to the next available column. If you skip
64 * a column number, it will be considered an empty cell in that row. See the
143 * parsed column ids are used as the keys of the sparse array. The values
146 * @param sequence a sequence of column ids, can be empty but not null
147 * @return a sparse array of boolean mapping column indexes to the columns
161 // column index was defined in the XML file
270 * <p>Collapses or restores a given column. When collapsed, a column
272 * other columns. A column is collapsed/restored only when it belongs to
277 * @param columnIndex the index of the column
278 * @param isCollapsed true if the column must be collapsed, false otherwise
283 // update the collapse status of the column
298 * <p>Returns the collapsed state of the specified column.</p>
300 * @param columnIndex the index of the column
301 * @return true if the column is collapsed, false otherwise
308 * <p>Makes the given column stretchable or not. When stretchable, a column
313 * @param columnIndex the index of the column
314 * @param isStretchable true if the column must be stretchable,
325 * <p>Returns whether the specified column is stretchable or not.</p>
327 * @param columnIndex the index of the column
328 * @return true if the column is stretchable, false otherwise
335 * <p>Makes the given column shrinkable or not. When a row is too wide, the
340 * @param columnIndex the index of the column
341 * @param isShrinkable true if the column must be shrinkable,
352 * <p>Returns whether the specified column is shrinkable or not.</p>
354 * @param columnIndex the index of the column
355 * @return true if the column is shrinkable, false otherwise. Default is false.
379 // the collapse status is set only when the column should be
472 * <p>Finds the largest cell in each column. For each column, the width of
480 // find the maximum width for each column
524 // rows, so we find the maximum width for each column
593 int column = columns.keyAt(i);
595 if (column < length) {
596 maxWidths[column] += extraSpace;
607 // we don't skip any column so we can return right away
615 int column = columns.keyAt(i);
616 if (columns.valueAt(i) && column < length) {
617 if (extraSpace > maxWidths[column]) {
618 maxWidths[column] = 0;
620 maxWidths[column] += extraSpace;