public static enum ResourceFilters.Density extends Enum<ResourceFilters.Density>
Enum Constant and Description |
---|
HDPI |
LDPI |
MDPI |
NO_QUALIFIER |
TVDPI |
XHDPI |
XXHDPI |
XXXHDPI |
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.Ordering<ResourceFilters.Density> |
ORDERING |
Modifier and Type | Method and Description |
---|---|
static ResourceFilters.Density |
from(String s) |
static boolean |
isDensity(String s) |
String |
toString() |
double |
value() |
static ResourceFilters.Density |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceFilters.Density[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceFilters.Density LDPI
public static final ResourceFilters.Density NO_QUALIFIER
public static final ResourceFilters.Density MDPI
public static final ResourceFilters.Density TVDPI
public static final ResourceFilters.Density HDPI
public static final ResourceFilters.Density XHDPI
public static final ResourceFilters.Density XXHDPI
public static final ResourceFilters.Density XXXHDPI
public static final com.google.common.collect.Ordering<ResourceFilters.Density> ORDERING
public static ResourceFilters.Density[] values()
for (ResourceFilters.Density c : ResourceFilters.Density.values()) System.out.println(c);
public static ResourceFilters.Density valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic double value()
public String toString()
toString
in class Enum<ResourceFilters.Density>
public static ResourceFilters.Density from(String s)
public static boolean isDensity(String s)