Home
last modified time | relevance | path

Searched refs:pxToDp (Results 1 – 8 of 8) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DResizeState.java113 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.w)); in getWidthAttribute()
128 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.h)); in getHeightAttribute()
DAbsoluteLayoutRule.java232 mRulesEngine.pxToDp(newBounds.x - node.getParent().getBounds().x))); in setNewSizeBounds()
237 mRulesEngine.pxToDp(newBounds.y - node.getParent().getBounds().y))); in setNewSizeBounds()
250 mRulesEngine.pxToDp(newBounds.x - parentBounds.x), in getResizeUpdateMessage()
251 mRulesEngine.pxToDp(newBounds.y - parentBounds.y), in getResizeUpdateMessage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java609 int columnWidthDp = mRule.getRulesEngine().pxToDp(columnWidthPx); in handleFreeFormDrop()
633 columnWidthDp = mRule.getRulesEngine().pxToDp(margin); in handleFreeFormDrop()
648 int rowHeightDp = mRule.getRulesEngine().pxToDp(rowHeightPx); in handleFreeFormDrop()
670 rowHeightDp = mRule.getRulesEngine().pxToDp(margin); in handleFreeFormDrop()
DGridModel.java1071 int columnWidthDip = mRulesEngine.pxToDp(columnWidth); in removeColumns()
1731 int dp = mRulesEngine.pxToDp(px); in splitColumn()
1816 int dp = mRulesEngine.pxToDp(px); in splitRow()
2134 int columnWidthDp = mRulesEngine.pxToDp(width); in onDeleted()
2149 int columnWidthDp = mRulesEngine.pxToDp(width); in onDeleted()
2206 int rowHeightDp = mRulesEngine.pxToDp(height); in onDeleted()
2221 int rowWidthDp = mRulesEngine.pxToDp(height); in onDeleted()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DGuidelinePainter.java160 int dp = state.getRulesEngine().pxToDp(margin); in showMatch()
DGuidelineHandler.java607 int dp = mRulesEngine.pxToDp(margin); in applyMargin()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DLayoutTestBase.java322 public int pxToDp(int px) { in pxToDp() method
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DClientRulesEngine.java662 public int pxToDp(int px) {