HomeSort by relevance Sort by last modified time
    Searched defs:Density (Results 1 - 6 of 6) sorted by null

  /sdk/layoutlib_api/src/com/android/layoutlib/api/
IDensityBasedResourceValue.java 20 * Represents an Android Resources that has a density info attached to it.
24 public static enum Density {
34 Density(int value) {
43 * Returns the enum matching the given density value
44 * @param value The density value.
45 * @return the enum for the density value or null if no match was found.
47 public static Density getEnum(int value) {
48 for (Density d : values()) {
59 * Returns the density associated to the resource.
61 Density getDensity()
    [all...]
  /cts/tests/tests/dpi/src/android/dpi/cts/
ConfigurationTest.java 36 private enum Density {
47 Density(int low, int high) {
52 public static Density findDensity(int value) {
53 Density density = INVALID_LOW; local
54 for (Density d : EnumSet.range(Density.INVALID_LOW, Density.INVALID_HIGH)) {
56 density = d;
60 return density;
70 private final Density density; field in class:ConfigurationTest.ActiveScreenConfiguration
    [all...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/resources/
Density.java 21 * Density enum.
23 * as well as other places needing to know the density values.
25 public enum Density implements ResourceEnum {
26 HIGH("hdpi", "High Density", 240), //$NON-NLS-1$
27 MEDIUM("mdpi", "Medium Density", 160), //$NON-NLS-1$
28 LOW("ldpi", "Low Density", 120), //$NON-NLS-1$
29 NODPI("nodpi", "No Density", 0); //$NON-NLS-1$
37 private Density(String value, String displayValue, int density) {
40 mDensity = density;
    [all...]
  /frameworks/base/media/libeffects/lvm/lib/Reverb/lib/
LVREV.h 113 LVM_UINT16 Density; /* Echo density, 0 to 100 for minimum to maximum density */
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
ResourceHelper.java 21 import com.android.layoutlib.api.IDensityBasedResourceValue.Density;
173 bitmap.setDensity(Density.MEDIUM.getValue());
185 Density density = ((IDensityBasedResourceValue)value).getDensity(); local
186 if (density != Density.MEDIUM) {
190 // apply the density
191 bitmap.setDensity(density.getValue());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
ConfigurationSelector.java 39 import com.android.sdklib.resources.Density;
181 * Implementation of {@link VerifyListener} for the Pixel Density qualifier.
214 * For instance {@link Density#NODPI} is a valid qualifier for a resource configuration but
    [all...]

Completed in 2701 milliseconds