summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-02-12 15:41:49 -0800
committerDianne Hackborn <hackbod@google.com>2013-02-12 15:41:49 -0800
commit56a2301c7a1169a0692cadaeb48b9a6385d700f5 (patch)
tree7dfa8ab456c4e2915c095383d37847caa0d013be /core
parentb41af58f49d371cedf041443d20a1893f7f6c840 (diff)
downloadframeworks_base-56a2301c7a1169a0692cadaeb48b9a6385d700f5.zip
frameworks_base-56a2301c7a1169a0692cadaeb48b9a6385d700f5.tar.gz
frameworks_base-56a2301c7a1169a0692cadaeb48b9a6385d700f5.tar.bz2
Implement issue #6646859: 4K!!!! 4K!!!! 4K!!!!
Change-Id: Ib05a2eb6a03db50074805a437a3639a7d10684a0
Diffstat (limited to 'core')
-rw-r--r--core/java/android/util/DisplayMetrics.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/util/DisplayMetrics.java b/core/java/android/util/DisplayMetrics.java
index e856501..dae47b8 100644
--- a/core/java/android/util/DisplayMetrics.java
+++ b/core/java/android/util/DisplayMetrics.java
@@ -74,6 +74,15 @@ public class DisplayMetrics {
public static final int DENSITY_XXHIGH = 480;
/**
+ * Standard quantized DPI for extra-extra-extra-high-density screens. Applications
+ * should not generally worry about this density; relying on XHIGH graphics
+ * being scaled up to it should be sufficient for almost all cases. A typical
+ * use of this density would be 4K television screens -- 3840x2160, which
+ * is 2x a traditional HD 1920x1080 screen which runs at DENSITY_XHIGH.
+ */
+ public static final int DENSITY_XXXHIGH = 640;
+
+ /**
* The reference density used throughout the system.
*/
public static final int DENSITY_DEFAULT = DENSITY_MEDIUM;