Searched refs:pxToDp (Results 1 – 8 of 8) sorted by relevance
113 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()
232 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()
609 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()
1071 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()
160 int dp = state.getRulesEngine().pxToDp(margin); in showMatch()
607 int dp = mRulesEngine.pxToDp(margin); in applyMargin()
322 public int pxToDp(int px) { in pxToDp() method
662 public int pxToDp(int px) {