Home
last modified time | relevance | path

Searched refs:setGridAttribute (Results 1 – 4 of 4) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridModel.java319 setGridAttribute(layout, ATTR_COLUMN_COUNT, actualColumnCount); in applyPositionAttributes()
334 public void setGridAttribute(INode node, String name, int value) { in setGridAttribute() method in GridModel
335 setGridAttribute(node, name, Integer.toString(value)); in setGridAttribute()
350 public void setGridAttribute(INode node, String name, String value) { in setGridAttribute() method in GridModel
942 setGridAttribute(layout, ATTR_COLUMN_COUNT, declaredColumnCount); in addColumn()
985 setGridAttribute(view.node, ATTR_LAYOUT_COLUMN, view.column); in addColumn()
989 setGridAttribute(view.node, ATTR_LAYOUT_COLUMN, view.column); in addColumn()
1010 setGridAttribute(view.node, ATTR_LAYOUT_ROW, view.row); in addColumn()
1086 setGridAttribute(view.node, ATTR_LAYOUT_COLUMN, view.column); in removeColumns()
1107 setGridAttribute(layout, ATTR_COLUMN_COUNT, actualColumnCount); in removeColumns()
[all …]
DGridDropHandler.java535 mGrid.setGridAttribute(targetNode, ATTR_COLUMN_COUNT, 2); in handleFreeFormDrop()
706 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN, column); in handleFreeFormDrop()
738 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_GRAVITY, getGravity(gravity)); in handleFreeFormDrop()
740 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_ROW, row); in handleFreeFormDrop()
744 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN_SPAN, columnSpan); in handleFreeFormDrop()
747 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_ROW_SPAN, rowSpan); in handleFreeFormDrop()
752 mGrid.setGridAttribute(mGrid.layout, ATTR_COLUMN_COUNT, Math.max(1, column + 1)); in handleFreeFormDrop()
780 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN, column); in handleGridModeDrop()
781 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_ROW, row); in handleGridModeDrop()
805 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_GRAVITY, getGravity(gravity)); in handleGridModeDrop()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGridLayoutRule.java490 grid.setGridAttribute(view.node, ATTR_LAYOUT_GRAVITY, gravityString); in setNewSizeBounds()
517 grid.setGridAttribute(view.node, ATTR_LAYOUT_GRAVITY, gravityString); in setNewSizeBounds()
664 grid.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN, null); in onPaste()
665 grid.setGridAttribute(newChild, ATTR_LAYOUT_ROW, null); in onPaste()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
DGridModelTest.java660 model.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN, 1); in testInsert1()
661 model.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN_SPAN, 3); in testInsert1()