Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6d4045d authored by Adam Powell's avatar Adam Powell
Browse files

Add DENSITY_280

Bug 19350604

Change-Id: I94f5162c31f9c8853908d7c4699974c236cc7fe7
parent d7310bd1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -31435,6 +31435,7 @@ package android.util {
    method public boolean equals(android.util.DisplayMetrics);
    method public void setTo(android.util.DisplayMetrics);
    method public void setToDefaults();
    field public static final int DENSITY_280 = 280; // 0x118
    field public static final int DENSITY_400 = 400; // 0x190
    field public static final int DENSITY_560 = 560; // 0x230
    field public static final int DENSITY_DEFAULT = 160; // 0xa0
+1 −0
Original line number Diff line number Diff line
@@ -33666,6 +33666,7 @@ package android.util {
    method public boolean equals(android.util.DisplayMetrics);
    method public void setTo(android.util.DisplayMetrics);
    method public void setToDefaults();
    field public static final int DENSITY_280 = 280; // 0x118
    field public static final int DENSITY_400 = 400; // 0x190
    field public static final int DENSITY_560 = 560; // 0x230
    field public static final int DENSITY_DEFAULT = 160; // 0xa0
+7 −0
Original line number Diff line number Diff line
@@ -61,6 +61,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.
     */