Example usage for Java android.util DisplayMetrics fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DENSITY_LOW Standard quantized DPI for low-density screens. |
int | DENSITY_MEDIUM Standard quantized DPI for medium-density screens. |
int | DENSITY_TV This is a secondary density, added for some common screen configurations. |
int | DENSITY_HIGH Standard quantized DPI for high-density screens. |
int | DENSITY_280 Intermediate density for screens that sit between #DENSITY_HIGH (240dpi) and #DENSITY_XHIGH (320dpi). |
int | DENSITY_XHIGH Standard quantized DPI for extra-high-density screens. |
int | DENSITY_360 Intermediate density for screens that sit somewhere between #DENSITY_XHIGH (320 dpi) and #DENSITY_XXHIGH (480 dpi). |
int | DENSITY_400 Intermediate density for screens that sit somewhere between #DENSITY_XHIGH (320 dpi) and #DENSITY_XXHIGH (480 dpi). |
int | DENSITY_420 Intermediate density for screens that sit somewhere between #DENSITY_XHIGH (320 dpi) and #DENSITY_XXHIGH (480 dpi). |
int | DENSITY_XXHIGH Standard quantized DPI for extra-extra-high-density screens. |
int | DENSITY_560 Intermediate density for screens that sit somewhere between #DENSITY_XXHIGH (480 dpi) and #DENSITY_XXXHIGH (640 dpi). |
int | DENSITY_XXXHIGH Standard quantized DPI for extra-extra-extra-high-density screens. |
int | DENSITY_DEFAULT The reference density used throughout the system. |
int | DENSITY_DEVICE_STABLE The device's stable density. |
int | widthPixels The absolute width of the available display size in pixels. |
int | heightPixels The absolute height of the available display size in pixels. |
Class> | getClass() Returns the runtime class of this Object . |
void | setTo(DisplayMetrics o) |
void | setToDefaults() |