Lines Matching defs:density

24  * size, density, and font scaling.
31 * Standard quantized DPI for low-density screens.
36 * Standard quantized DPI for medium-density screens.
41 * This is a secondary density, added for some common screen configurations.
43 * class density -- that is, don't supply specific graphics for this
44 * density, instead allow the platform to scale from other densities
51 * <p>This density was original introduced to correspond with a
52 * 720p TV screen: the density for 1080p televisions is
60 * Standard quantized DPI for high-density screens.
65 * Intermediate density for screens that sit between {@link #DENSITY_HIGH} (240dpi) and
66 * {@link #DENSITY_XHIGH} (320dpi). This is not a density that applications should target,
72 * Standard quantized DPI for extra-high-density screens.
77 * Intermediate density for screens that sit somewhere between
79 * This is not a density that applications should target, instead relying
85 * Intermediate density for screens that sit somewhere between
87 * This is not a density that applications should target, instead relying
93 * Intermediate density for screens that sit somewhere between
95 * This is not a density that applications should target, instead relying
101 * Standard quantized DPI for extra-extra-high-density screens.
106 * Intermediate density for screens that sit somewhere between
108 * This is not a density that applications should target, instead relying
114 * Standard quantized DPI for extra-extra-extra-high-density screens. Applications
115 * should not generally worry about this density; relying on XHIGH graphics
117 * use of this density would be 4K television screens -- 3840x2160, which
123 * The reference density used throughout the system.
128 * Scaling factor to convert a density in DPI units to the density scale.
134 * The device's current density.
136 * This value reflects any changes made to the device density. To obtain
137 * the device's stable density, use {@link #DENSITY_DEVICE_STABLE}.
141 * device density or {@link #densityDpi} to obtain the current
142 * density for a specific display.
148 * The device's stable density.
151 * display density. To obtain the current density for a specific display,
165 * The logical density of the display. This is a scaling factor for the
169 * this density value will be 1; on a 120 dpi screen it would be .75; etc.
174 * example, a 240x320 screen will have a density of 1 even if its width is
176 * 320x480 but the screen size remained 1.5"x2" then the density would be
181 public float density;
183 * The screen density expressed as dots-per-inch. May be either
189 * as {@link #density}, except that it may be adjusted in smaller
215 * The reported display density prior to any compatibility mode scaling
221 * The reported display density prior to any compatibility mode scaling
227 * The reported scaled density prior to any compatibility mode scaling
251 density = o.density;
268 density = DENSITY_DEVICE / (float) DENSITY_DEFAULT;
270 scaledDensity = density;
275 noncompatDensity = density;
301 * are equal. This ignores the scaled density, which is a logical
312 && density == other.density
331 return "DisplayMetrics{density=" + density + ", width=" + widthPixels +