Searched refs:columnWidthDp (Results 1 – 2 of 2) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
D | GridModel.java | 936 public INode addColumn(int newColumn, INode newView, int columnWidthDp, in addColumn() argument 972 columnWidthDp != UNDEFINED ? columnWidthDp : DEFAULT_CELL_WIDTH, in addColumn() 1016 columnWidthDp != UNDEFINED ? columnWidthDp : DEFAULT_CELL_WIDTH, in addColumn() 1633 public void splitColumn(int newColumn, boolean insertMarginColumn, int columnWidthDp, int x) { in splitColumn() argument 1728 if (insertMarginColumn || columnWidthDp == 0) { in splitColumn() 1732 int remaining = dp - columnWidthDp; in splitColumn() 1742 if (columnWidthDp > 0) { in splitColumn() 1746 columnWidthDp, SPACER_SIZE_DP); in splitColumn() 2134 int columnWidthDp = mRulesEngine.pxToDp(width); in onDeleted() local 2136 String.format(VALUE_N_DP, columnWidthDp)); in onDeleted() [all …]
|
D | GridDropHandler.java | 609 int columnWidthDp = mRule.getRulesEngine().pxToDp(columnWidthPx); in handleFreeFormDrop() local 614 columnWidthDp = 0; in handleFreeFormDrop() 633 columnWidthDp = mRule.getRulesEngine().pxToDp(margin); in handleFreeFormDrop() 638 mGrid.splitColumn(column, insertMarginColumn, columnWidthDp, mColumnMatch.matchedLine); in handleFreeFormDrop()
|