diff options
| author | Adam Powell <adamp@google.com> | 2015-02-12 02:13:03 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-12 02:13:03 +0000 |
| commit | b73e029fea53fd5aeaf01ad7ba15560329d8de1c (patch) | |
| tree | 8e4672b9eb873e0da48661f1ee0fe661e04589fc /core/java/android | |
| parent | 40bd8f416b30b7b0eae244aa0c5aabd0be0d1c55 (diff) | |
| parent | 0ec652cf72bd8b7f619462f172ac0152d4d6c83d (diff) | |
| download | frameworks_base-b73e029fea53fd5aeaf01ad7ba15560329d8de1c.zip frameworks_base-b73e029fea53fd5aeaf01ad7ba15560329d8de1c.tar.gz frameworks_base-b73e029fea53fd5aeaf01ad7ba15560329d8de1c.tar.bz2 | |
am 0ec652cf: Merge "Add DENSITY_280" into lmp-mr1-dev
* commit '0ec652cf72bd8b7f619462f172ac0152d4d6c83d':
Add DENSITY_280
Diffstat (limited to 'core/java/android')
| -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; |
