Home
last modified time | relevance | path

Searched refs:density (Results 1 – 15 of 15) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DInputDensityDialog.java63 for (Density density : Density.values()) { in createDialogArea()
64 if (density == Density.NODPI) { in createDialogArea()
67 if (density.getDpiValue() == sDpi) { in createDialogArea()
70 s.add(getLabel(density)); in createDialogArea()
80 private static String getLabel(Density density) { in getLabel() argument
81 return String.format("%1$s (%2$d)", density.getShortDisplayValue(), density.getDpiValue()); in getLabel()
99 for (Density density : Density.values()) { in close()
100 if (description.equals(getLabel(density))) { in close()
101 sDpi = density.getDpiValue(); in close()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion1-expected-completion5.txt2 50dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
Dcompletionvalues1-expected-completion66.txt2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
Dcompletionvalues1-expected-completion67.txt2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
Dcompletionvalues1-expected-completion24.txt2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
Dcompletion1-expected-completion4.txt2 50dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java782 public static Margins getInsets(String fqcn, Density density, String theme) { in getInsets() argument
786 if (density == Density.HIGH) { in getInsets()
794 } else if (density == Density.MEDIUM) { in getInsets()
802 } else if (density == Density.LOW) { in getInsets()
812 if (density == Density.HIGH) { in getInsets()
820 } else if (density == Density.MEDIUM) { in getInsets()
828 } else if (density == Density.LOW) { in getInsets()
838 if (density == Density.HIGH) { in getInsets()
843 } else if (density == Density.MEDIUM) { in getInsets()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DVaryingConfiguration.java282 Density density = getDensity(d); in getDevice() local
283 if (density == Density.TV || density == Density.LOW) { in getDevice()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DAdtPrefs.java465 public void setMonitorDensity(float density) { in setMonitorDensity() argument
466 mMonitorDensity = density; in setMonitorDensity()
470 store.setValue(PREFS_MONITOR_DENSITY, density); in setMonitorDensity()
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
DLabelView.java87 mTextPaint.setTextSize(16 * getResources().getDisplayMetrics().density); in initLabelView()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DUiElementPullParser.java120 Density density, IProject project) { in UiElementPullParser() argument
125 mDensity = density; in UiElementPullParser()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderPreview.java884 Density density = mConfiguration.getDensity(); in paint() local
885 if (density == Density.TV || density == Density.LOW) { in paint()
DRenderPreviewManager.java1009 DensityQualifier density = c.getDensityQualifier(); in addScreenSizePreviews() local
1010 if (density != null) { in addScreenSizePreviews()
1011 Density d = density.getValue(); in addScreenSizePreviews()
DLayoutCanvas.java1656 Density density = configComposite.getConfiguration().getDensity(); in getInsets() local
1657 return ViewMetadataRepository.getInsets(fqcn, density, theme); in getInsets()
/sdk/eclipse/
Dchanges.txt467 resolution/density combinations from