Searched refs:density (Results 1 - 21 of 21) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
H A DInputDensityDialog.java54 lblWhatIsThe.setText("What is the screen density the current px value works with?");
63 for (Density density : Density.values()) {
64 if (density == Density.NODPI) {
67 if (density.getDpiValue() == sDpi) {
70 s.add(getLabel(density));
80 private static String getLabel(Density density) { argument
81 return String.format("%1$s (%2$d)", density.getShortDisplayValue(), density.getDpiValue());
99 for (Density density : Density.values()) {
100 if (description.equals(getLabel(density))) {
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
H A DVaryingConfiguration.java281 Density density = getDensity(d);
282 if (density == Density.TV || density == Density.LOW) {
299 * Returns the density of the given device
302 * @return the density or null
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
H A DViewMetadataRepository.java768 * current theme or density if there's no chance that valid insets will be returned
774 * theme and the given screen density.
777 * @param density the screen density
782 public static Margins getInsets(String fqcn, Density density, String theme) { argument
786 if (density == Density.HIGH) {
794 } else if (density == Density.MEDIUM) {
802 } else if (density == Density.LOW) {
812 if (density == Density.HIGH) {
820 } else if (density
[all...]
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
H A DLabelView.java86 // Must manually scale the desired text size to match screen density
87 mTextPaint.setTextSize(16 * getResources().getDisplayMetrics().density);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
H A DAdtPrefs.java465 public void setMonitorDensity(float density) { argument
466 mMonitorDensity = density;
470 store.setValue(PREFS_MONITOR_DENSITY, density);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
H A DUiElementPullParser.java115 * @param density the density factor for the screen.
120 Density density, IProject project) {
125 mDensity = density;
118 UiElementPullParser(UiElementNode top, boolean explodeRendering, Set<UiElementNode> explodeNodes, Density density, IProject project) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DRenderPreview.java884 Density density = mConfiguration.getDensity();
885 if (density == Density.TV || density == Density.LOW) {
H A DRenderPreviewManager.java1008 DensityQualifier density = c.getDensityQualifier();
1009 if (density != null) {
1010 Density d = density.getValue();
H A DLayoutCanvas.java1656 Density density = configComposite.getConfiguration().getDensity();
1657 return ViewMetadataRepository.getInsets(fqcn, density, theme);
/sdk/testapps/jarCheckTests1/app/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib2/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/sdk/testapps/javaProjectTest/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/javaProjectTest/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/libsAndJarTest/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/libsAndJarTest/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/apps/NotificationStudio/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/util/ ...

Completed in 408 milliseconds