diff options
| author | weijuncheng <weijuncheng@xiaomi.com> | 2018-02-03 01:16:46 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2018-02-03 01:16:46 +0000 |
| commit | a21fa41755feb1068d28e42094682cf71a07e5ae (patch) | |
| tree | af938e82bb860bd5b9564150ebd91bbb6804cb5c /core/java | |
| parent | 9cd12a53b235ef94138a7072360225b35085b5a0 (diff) | |
| parent | 6c40bbdc5e85ca0ac1cb1dd25236ee0a904dae36 (diff) | |
Merge "Add DENSITY_440"
am: 6c40bbdc5e
Change-Id: Iffc972d66f36c11e3b465fdc3ab87a5518b7e646
Diffstat (limited to 'core/java')
| -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 b7099b642e98..13de172c811c 100644 --- a/core/java/android/util/DisplayMetrics.java +++ b/core/java/android/util/DisplayMetrics.java @@ -120,6 +120,14 @@ public class DisplayMetrics { public static final int DENSITY_420 = 420; /** + * 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_440 = 440; + + /** * Standard quantized DPI for extra-extra-high-density screens. */ public static final int DENSITY_XXHIGH = 480; |
