diff options
author | Dianne Hackborn <hackbod@google.com> | 2015-08-11 17:18:53 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2015-08-11 17:18:53 -0700 |
commit | 1e9c51a00aeb8c0bc6be170a4615cf2959c4f032 (patch) | |
tree | 32ab36abd4c35a3c72da08af45ecb5866b7ad3f8 /core | |
parent | ad7719dea4e8fd34854e4dcc918fc593c4416d82 (diff) | |
download | frameworks_base-1e9c51a00aeb8c0bc6be170a4615cf2959c4f032.zip frameworks_base-1e9c51a00aeb8c0bc6be170a4615cf2959c4f032.tar.gz frameworks_base-1e9c51a00aeb8c0bc6be170a4615cf2959c4f032.tar.bz2 |
Fix issue #23122445: Add 420 density
Change-Id: I15c113eb7e22f1d882db071c007224746f9d408f
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/util/DisplayMetrics.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/util/DisplayMetrics.java b/core/java/android/util/DisplayMetrics.java index a36e66c..9a69600 100644 --- a/core/java/android/util/DisplayMetrics.java +++ b/core/java/android/util/DisplayMetrics.java @@ -90,6 +90,14 @@ public class DisplayMetrics { public static final int DENSITY_400 = 400; /** + * Intermediate density for screens that sit somewhere between + * {@link #DENSITY_XHIGH} (320 dpi) and {@link #DENSITY_XXHIGH} (480 dpi). + * This is not a density that applications should target, instead relying + * on the system to scale their {@link #DENSITY_XXHIGH} assets for them. + */ + public static final int DENSITY_420 = 420; + + /** * Standard quantized DPI for extra-extra-high-density screens. */ public static final int DENSITY_XXHIGH = 480; |