Home
last modified time | relevance | path

Searched refs:columnSpan (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridModel.java536 column += view.columnSpan; in assignRowsAndColumnsFromXml()
575 nextColumn = Math.max(nextColumn, view.column + view.columnSpan); in assignRowsAndColumnsFromXml()
651 view.columnSpan = colEnd - col; in assignRowsAndColumnsFromViews()
838 column + view.columnSpan - 1); in initializeMaxBounds()
956 int endColumn = view.column + view.columnSpan; in addColumn()
992 view.columnSpan++; in addColumn()
993 setColumnSpanAttribute(view.node, view.columnSpan); in addColumn()
999 view.columnSpan++; in addColumn()
1000 setColumnSpanAttribute(view.node, view.columnSpan); in addColumn()
1066 if (view.columnSpan > 1) { in removeColumns()
[all …]
DGridDropHandler.java574 int columnSpan = endColumn - column + 1; in handleFreeFormDrop() local
592 column += columnSpan - 1; in handleFreeFormDrop()
594 columnSpan = 1; in handleFreeFormDrop()
599 columnSpan = mGrid.actualColumnCount; in handleFreeFormDrop()
743 if (columnSpan > 1) { in handleFreeFormDrop()
744 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN_SPAN, columnSpan); in handleFreeFormDrop()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGridLayoutRule.java437 int columnSpan = endColumn - startColumn + 1; in paintResizeFeedback() local
443 Rect cellBounds = grid.getCellBounds(startRow, startColumn, rowSpan, columnSpan); in paintResizeFeedback()
499 int columnSpan = spans.getSecond(); in setNewSizeBounds() local
501 grid.setColumnSpanAttribute(node, columnSpan); in setNewSizeBounds()
508 if (verticalEdge != null && columnSpan > 1) { in setNewSizeBounds()
544 int columnSpan = spans.getSecond(); in getResizeUpdateMessage() local
546 columnSpan, rowSpan); in getResizeUpdateMessage()
567 int columnSpan = endColumn - startColumn + 1; in computeResizeSpans() local
573 return Pair.of(rowSpan, columnSpan); in computeResizeSpans()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DGridLayoutConverter.java361 int columnSpan = view.getColumnSpan(); in assignCellAttributes() local
362 assert columnSpan >= 1; in assignCellAttributes() local
368 if (columnSpan > 1) { in assignCellAttributes()
371 Integer.toString(columnSpan)); in assignCellAttributes()
391 implicitColumn += columnSpan; in assignCellAttributes()
668 int columnSpan = view.getColumnSpan(); in computeColumnCount() local
669 if (column + columnSpan > columnCount) { in computeColumnCount()
670 columnCount = column + columnSpan; in computeColumnCount()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
DGridModelTest.java749 assertEquals(3, view.columnSpan); in testInsert2()
754 assertEquals(4, view.columnSpan); in testInsert2()
842 assertEquals(1, view.columnSpan); in testInsert3_BROKEN()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DOutlinePage.java860 String columnSpan = e.getAttributeNS(namespace, in update() local
865 if (columnSpan.length() == 0) { in update()
866 columnSpan = "1"; in update()
876 styledString.append(columnSpan, QUALIFIER_STYLER); in update()