Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 19 of 19) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion8-expected-applyCompletion41.diff1 Code completion in completion8.xml for android:mar^="50dp" selecting android:layout_marginRight:
3 - android:mar^="50dp"
4 + android:layout_marginRight^="50dp"
Dcompletion5-expected-applyCompletion20.diff1 Code completion in completion5.xml for android:layout_marginTop='50^dp' selecting 50pt:
3 - android:layout_marginTop='50^dp'
Dcompletion1-expected-applyCompletion5.diff1 Code completion in completion1.xml for layout_marginLeft="50d^p" selecting 50dp:
4 + android:layout_marginLeft="50dp"^
Dcompletionvalues1-expected-completion67.txt2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
3 17sp : <b>Scale-independent Pixels</b> - this is like the dp unit, but it is also scaled by the use…
Dcompletionvalues1-expected-completion66.txt2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
3 17sp : <b>Scale-independent Pixels</b> - this is like the dp unit, but it is also scaled by the use…
Dcompletion1-expected-completion4.txt2 50dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
3 50sp : <b>Scale-independent Pixels</b> - this is like the dp unit, but it is also scaled by the use…
Dcompletionvalues1-expected-completion24.txt2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
3 17sp : <b>Scale-independent Pixels</b> - this is like the dp unit, but it is also scaled by the use…
Dcompletion1-expected-completion5.txt2 50dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
Dcompletion8-expected-completion43.txt1 Code completion in completion8.xml for mar^="60dp":
Dcompletion8-expected-completion41.txt1 Code completion in completion8.xml for android:mar^="50dp":
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DConvertToDpFix.java73 int dp = px * 160 / dpi; in apply() local
74 String newValue = String.format(VALUE_N_DP, dp); in apply()
/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() local
161 description = String.format("%1$s, margin=%2$d dp", description, dp); in showMatch()
DGuidelineHandler.java607 int dp = mRulesEngine.pxToDp(margin); in applyMargin() local
608 n.setAttribute(ANDROID_URI, marginAttribute, String.format(VALUE_N_DP, dp)); in applyMargin()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DLayoutTestBase.java328 public int dpToPx(int dp) { in dpToPx() argument
330 return 3 * dp; in dpToPx()
/sdk/eclipse/
Ddictionary.txt88 dp
Dchanges.txt13 * Find usages of "dp" units with the font property textSize
187 that include each other, using px instead of dp units, hardcoded
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridModel.java1731 int dp = mRulesEngine.pxToDp(px); in splitColumn() local
1732 int remaining = dp - columnWidthDp; in splitColumn()
1816 int dp = mRulesEngine.pxToDp(px); in splitRow() local
1817 int remaining = dp - rowHeightDp; in splitRow()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DClientRulesEngine.java669 public int dpToPx(int dp) {
672 return (int) (dp * dpi / 160);
/sdk/
Dchanges.txt108 that include each other, using px instead of dp units, hardcoded