/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | InputDensityDialog.java | 63 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/assetstudio/src/com/android/assetstudiolib/ |
D | GraphicGenerator.java | 58 public Density density = Density.XHIGH; field in GraphicGenerator.Options 130 return "res/drawable-" + options.density.getResourceValue(); //$NON-NLS-1$ in getIconFolder() 159 for (Density density : densityValues) { in generate() 160 if (!density.isValidValueForDevice()) { in generate() 163 if (density == Density.TV || density == Density.XXHIGH) { in generate() 168 options.density = density; in generate() 173 mapCategory = options.density.getResourceValue(); in generate() 192 public static float getMdpiScaleFactor(Density density) { in getMdpiScaleFactor() argument 193 return density.getDpiValue() / (float) Density.MEDIUM.getDpiValue(); in getMdpiScaleFactor()
|
D | LauncherIconGenerator.java | 38 String density; in generate() local 40 density = "web"; in generate() 42 density = launcherOptions.density.getResourceValue(); in generate() 50 + shape + "/" + density + "/back.png"); in generate() 52 + shape + "/" + density + "/" + launcherOptions.style.id + ".png"); in generate() 54 + shape + "/" + density + "/mask.png"); in generate() 57 float scaleFactor = GraphicGenerator.getMdpiScaleFactor(launcherOptions.density); in generate()
|
D | NotificationIconGenerator.java | 54 final float scaleFactor = GraphicGenerator.getMdpiScaleFactor(options.density); in generate() 69 notificationOptions.density.getResourceValue() in generate()
|
D | MenuIconGenerator.java | 41 float scaleFactor = GraphicGenerator.getMdpiScaleFactor(options.density); in generate()
|
D | ActionBarIconGenerator.java | 42 final float scaleFactor = GraphicGenerator.getMdpiScaleFactor(options.density); in generate()
|
/sdk/sdk_common/src/com/android/ide/common/resources/configuration/ |
D | DensityQualifier.java | 69 Density density = Density.getEnum(value); in checkAndSet() local 70 if (density == null) { in checkAndSet() 78 density = Density.getEnum(Integer.parseInt(v)); in checkAndSet() 86 if (density != null) { in checkAndSet() 88 qualifier.mValue = density; in checkAndSet()
|
D | FolderConfiguration.java | 472 Density density = ((DensityQualifier) densityQ).getValue(); in updateScreenWidthAndHeight() local 473 if (density == Density.NODPI) { in updateScreenWidthAndHeight() 490 int dp1 = (int) Math.ceil(size1 * Density.DEFAULT_DENSITY / density.getDpiValue()); in updateScreenWidthAndHeight() 491 int dp2 = (int) Math.ceil(size2 * Density.DEFAULT_DENSITY / density.getDpiValue()); in updateScreenWidthAndHeight()
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
D | DrawableParams.java | 60 Density density, float xdpi, float ydpi, in DrawableParams() argument 65 super(projectKey, screenWidth, screenHeight, density, xdpi, ydpi, in DrawableParams()
|
D | DensityBasedResourceValue.java | 28 com.android.resources.Density density, boolean isFramework) { in DensityBasedResourceValue() argument 30 mDensity = density; in DensityBasedResourceValue()
|
D | SessionParams.java | 91 Density density, float xdpi, float ydpi, in SessionParams() argument 96 super(projectKey, screenWidth, screenHeight, density, xdpi, ydpi, in SessionParams()
|
D | RenderParams.java | 82 Density density, float xdpi, float ydpi, in RenderParams() argument 90 mDensity = density; in RenderParams()
|
/sdk/layoutlib_api/src/com/android/resources/ |
D | Density.java | 41 private Density(String value, String displayValue, int density, int since) { in Density() argument 44 mDensity = density; in Density()
|
/sdk/layoutlib_api/src/com/android/layoutlib/api/ |
D | ILayoutBridge.java | 114 int density, float xdpi, float ydpi, in computeLayout() argument 150 int screenWidth, int screenHeight, int density, float xdpi, float ydpi, in computeLayout() argument
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
D | completion1-expected-completion5.txt | 2 50dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
|
D | completionvalues1-expected-completion66.txt | 2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
|
D | completion1-expected-completion4.txt | 2 50dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
|
D | completionvalues1-expected-completion67.txt | 2 17dp : <b>Density-independent Pixels</b> - an abstract unit that is based on the physical density o…
|
D | completionvalues1-expected-completion24.txt | 2 17dp : <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/ |
D | ViewMetadataRepository.java | 778 public static Margins getInsets(String fqcn, Density density, String theme) { in getInsets() argument 782 if (density == Density.HIGH) { in getInsets() 790 } else if (density == Density.MEDIUM) { in getInsets() 798 } else if (density == Density.LOW) { in getInsets() 808 if (density == Density.HIGH) { in getInsets() 816 } else if (density == Density.MEDIUM) { in getInsets() 824 } else if (density == Density.LOW) { in getInsets() 834 if (density == Density.HIGH) { in getInsets() 839 } else if (density == Density.MEDIUM) { in getInsets()
|
/sdk/templates/activities/MasterDetailFlow/root/res/values-sw600dp/ |
D | refs.xml.ftl | 5 of at least 600 density-independent pixels (dips).
|
/sdk/layoutlib_api/sample/src/com/example/android/render/ |
D | RenderServiceFactory.java | 112 Density density, in createConfig() argument 136 int wdp = (width * Density.DEFAULT_DENSITY) / density.getDpiValue(); in createConfig() 137 int hdp = (height * Density.DEFAULT_DENSITY) / density.getDpiValue(); in createConfig() 146 config.addQualifier(new DensityQualifier(density)); in createConfig()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
D | AdtPrefs.java | 436 public void setMonitorDensity(float density) { in setMonitorDensity() argument 437 mMonitorDensity = density; in setMonitorDensity() 441 store.setValue(PREFS_MONITOR_DENSITY, density); in setMonitorDensity()
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
D | SettingsController.java | 208 public void setMonitorDensity(int density) { in setMonitorDensity() argument 210 ISettingsPage.KEY_MONITOR_DENSITY, Integer.toString(density)); in setMonitorDensity()
|
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/ |
D | LabelView.java | 87 mTextPaint.setTextSize(16 * getResources().getDisplayMetrics().density); in initLabelView()
|