diff options
author | Adam Powell <adamp@google.com> | 2015-02-11 13:34:43 -0800 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2015-02-11 13:34:43 -0800 |
commit | f6d4045d6c386fe09eafb894aa1ff79ca6f04178 (patch) | |
tree | 8b124cb40778c99cc04e6c96c66721113303c1b6 /core/java/android/util | |
parent | d7310bd1499c0b48594a8fbbcbe0c7e80c1e5832 (diff) | |
download | frameworks_base-f6d4045d6c386fe09eafb894aa1ff79ca6f04178.zip frameworks_base-f6d4045d6c386fe09eafb894aa1ff79ca6f04178.tar.gz frameworks_base-f6d4045d6c386fe09eafb894aa1ff79ca6f04178.tar.bz2 |
Add DENSITY_280
Bug 19350604
Change-Id: I94f5162c31f9c8853908d7c4699974c236cc7fe7
Diffstat (limited to 'core/java/android/util')
-rw-r--r-- | core/java/android/util/DisplayMetrics.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/util/DisplayMetrics.java b/core/java/android/util/DisplayMetrics.java index c855e57..d0e5b9e 100644 --- a/core/java/android/util/DisplayMetrics.java +++ b/core/java/android/util/DisplayMetrics.java @@ -62,6 +62,13 @@ public class DisplayMetrics { public static final int DENSITY_HIGH = 240; /** + * Intermediate density for screens that sit between {@link #DENSITY_HIGH} (240dpi) and + * {@link #DENSITY_XHIGH} (320dpi). This is not a density that applications should target, + * instead relying on the system to scale their {@link #DENSITY_XHIGH} assets for them. + */ + public static final int DENSITY_280 = 280; + + /** * Standard quantized DPI for extra-high-density screens. */ public static final int DENSITY_XHIGH = 320; |