Loading core/api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -47431,6 +47431,7 @@ package android.util { field public static final int DENSITY_420 = 420; // 0x1a4 field public static final int DENSITY_440 = 440; // 0x1b8 field public static final int DENSITY_450 = 450; // 0x1c2 field public static final int DENSITY_520 = 520; // 0x208 field public static final int DENSITY_560 = 560; // 0x230 field public static final int DENSITY_600 = 600; // 0x258 field public static final int DENSITY_DEFAULT = 160; // 0xa0 core/java/android/util/DisplayMetrics.java +8 −0 Original line number Diff line number Diff line Loading @@ -168,6 +168,14 @@ public class DisplayMetrics { */ public static final int DENSITY_XXHIGH = 480; /** * Intermediate density for screens that sit somewhere between * {@link #DENSITY_XXHIGH} (480 dpi) and {@link #DENSITY_XXXHIGH} (640 dpi). * This is not a density that applications should target, instead relying * on the system to scale their {@link #DENSITY_XXXHIGH} assets for them. */ public static final int DENSITY_520 = 520; /** * Intermediate density for screens that sit somewhere between * {@link #DENSITY_XXHIGH} (480 dpi) and {@link #DENSITY_XXXHIGH} (640 dpi). Loading Loading
core/api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -47431,6 +47431,7 @@ package android.util { field public static final int DENSITY_420 = 420; // 0x1a4 field public static final int DENSITY_440 = 440; // 0x1b8 field public static final int DENSITY_450 = 450; // 0x1c2 field public static final int DENSITY_520 = 520; // 0x208 field public static final int DENSITY_560 = 560; // 0x230 field public static final int DENSITY_600 = 600; // 0x258 field public static final int DENSITY_DEFAULT = 160; // 0xa0
core/java/android/util/DisplayMetrics.java +8 −0 Original line number Diff line number Diff line Loading @@ -168,6 +168,14 @@ public class DisplayMetrics { */ public static final int DENSITY_XXHIGH = 480; /** * Intermediate density for screens that sit somewhere between * {@link #DENSITY_XXHIGH} (480 dpi) and {@link #DENSITY_XXXHIGH} (640 dpi). * This is not a density that applications should target, instead relying * on the system to scale their {@link #DENSITY_XXXHIGH} assets for them. */ public static final int DENSITY_520 = 520; /** * Intermediate density for screens that sit somewhere between * {@link #DENSITY_XXHIGH} (480 dpi) and {@link #DENSITY_XXXHIGH} (640 dpi). Loading