Lines Matching defs:UNDEFINED
80 static final int UNDEFINED = Integer.MIN_VALUE;
100 /** The declared count of rows (which may be {@link #UNDEFINED} if not specified) */
103 /** The declared count of columns (which may be {@link #UNDEFINED} if not specified) */
278 if (baseline == UNDEFINED) {
403 declaredRowCount = getGridAttribute(layout, ATTR_ROW_COUNT, UNDEFINED);
404 declaredColumnCount = getGridAttribute(layout, ATTR_COLUMN_COUNT, UNDEFINED);
418 declaredRowCount == UNDEFINED ? children.length : declaredRowCount,
419 declaredColumnCount == UNDEFINED ? children.length : declaredColumnCount);
425 mBaselines[i] = UNDEFINED;
435 if (declaredRowCount != UNDEFINED) {
445 if (extraRows != null && declaredRowCount != UNDEFINED) {
455 if (declaredColumnCount != UNDEFINED) {
465 if (extraColumns != null && declaredColumnCount != UNDEFINED) {
507 if (declaredColumn != UNDEFINED) {
523 if (view.row != UNDEFINED) {
551 if (declaredRow != UNDEFINED) {
565 if (view.column != UNDEFINED) {
729 mLeft[i] = UNDEFINED;
735 mTop[i] = UNDEFINED;
748 if (mLeft[column] == UNDEFINED) {
753 if (mTop[row] == UNDEFINED) {
762 if (mLeft[i] == UNDEFINED) {
767 if (mLeft[i - 1] != UNDEFINED && mLeft[i] < mLeft[i - 1]) {
776 if (mTop[i] == UNDEFINED) {
781 if (mTop[i - 1] != UNDEFINED && mTop[i] < mTop[i - 1]) {
891 INode newView = addColumn(newColumn, null, UNDEFINED, false, UNDEFINED, UNDEFINED);
906 * added (which may be {@link #UNDEFINED}
916 if (declaredColumnCount != UNDEFINED) {
946 split ? row : UNDEFINED,
947 split ? newColumn - 1 : UNDEFINED,
948 columnWidthDp != UNDEFINED ? columnWidthDp : DEFAULT_CELL_WIDTH,
992 columnWidthDp != UNDEFINED ? columnWidthDp : DEFAULT_CELL_WIDTH,
1030 if (declaredColumnCount != UNDEFINED) {
1048 ViewData spacer = addSpacer(layout, index, UNDEFINED, UNDEFINED,
1082 //if (declaredColumnCount != UNDEFINED) {
1104 INode newView = addRow(newRow, null, UNDEFINED, false, UNDEFINED, UNDEFINED);
1119 * (which may be {@link #UNDEFINED}
1128 if (declaredRowCount != UNDEFINED) {
1142 if (declaredColumnCount != UNDEFINED && !split) {
1146 split ? newRow - 1 : UNDEFINED,
1147 split ? column : UNDEFINED,
1149 rowHeightDp != UNDEFINED ? rowHeightDp : DEFAULT_CELL_HEIGHT);
1184 ViewData newViewData = addSpacer(layout, -1, UNDEFINED, UNDEFINED,
1186 rowHeightDp != UNDEFINED ? rowHeightDp : DEFAULT_CELL_HEIGHT);
1192 if (declaredColumnCount != UNDEFINED && !split) {
1233 if (declaredRowCount != UNDEFINED) {
1613 if (declaredColumnCount != UNDEFINED) {
1743 if (declaredRowCount != UNDEFINED) {
1826 column = getGridAttribute(n, ATTR_LAYOUT_COLUMN, UNDEFINED);
1828 row = getGridAttribute(n, ATTR_LAYOUT_ROW, UNDEFINED);
1978 declaredRowCount = UNDEFINED;
2126 addSpacer(layout, -1, UNDEFINED, columnMap[start], columnWidthDp, DEFAULT_CELL_HEIGHT);
2198 addSpacer(layout, -1, rowMap[start], UNDEFINED, DEFAULT_CELL_WIDTH, rowWidthDp);
2223 if (declaredColumnCount != UNDEFINED) {
2227 if (declaredRowCount != UNDEFINED) {
2238 * @param row the row to add the spacer to (or {@link #UNDEFINED} to not set a row yet
2239 * @param column the column to add the spacer to (or {@link #UNDEFINED} to not set a
2264 if (row != UNDEFINED) {
2268 if (column != UNDEFINED) {