diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-07-31 16:37:34 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-08-01 10:54:39 -0700 |
commit | 908aecc3a63c5520d5b11da14a9383f885b7d126 (patch) | |
tree | 11806df7f127ea695474ae7ab490a95c19965508 /api/current.txt | |
parent | b1980049855fd6c53e109b44ff012a053f9436f7 (diff) | |
download | frameworks_base-908aecc3a63c5520d5b11da14a9383f885b7d126.zip frameworks_base-908aecc3a63c5520d5b11da14a9383f885b7d126.tar.gz frameworks_base-908aecc3a63c5520d5b11da14a9383f885b7d126.tar.bz2 |
Start moving away from DisplayMetrics.DENSITY_DEVICE.
This puts in most of the infrastructure needed to allow us to
switch between different densities at run time. The main remaining
uses of the global are to initialize the Bitmap object (not sure
what to do about that since it doesn't have anything passed in
the constructor to get this information from), and being able to
load drawables if we need a different density than what was preloaded
by zygote.
Change-Id: Ifdbfd6b7a5c59e6aa22e63b95b78d96af3d96848
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 916d95b..66b76bb 100644 --- a/api/current.txt +++ b/api/current.txt @@ -6208,6 +6208,7 @@ package android.content.pm { method public int describeContents(); method public void dump(android.util.Printer, java.lang.String); method public final int getThemeResource(); + field public static final int CONFIG_DENSITY = 4096; // 0x1000 field public static final int CONFIG_FONT_SCALE = 1073741824; // 0x40000000 field public static final int CONFIG_KEYBOARD = 16; // 0x10 field public static final int CONFIG_KEYBOARD_HIDDEN = 32; // 0x20 @@ -6802,6 +6803,7 @@ package android.content.res { method public int updateFrom(android.content.res.Configuration); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; + field public static final int DENSITY_DPI_UNDEFINED = 0; // 0x0 field public static final int HARDKEYBOARDHIDDEN_NO = 1; // 0x1 field public static final int HARDKEYBOARDHIDDEN_UNDEFINED = 0; // 0x0 field public static final int HARDKEYBOARDHIDDEN_YES = 2; // 0x2 @@ -6852,6 +6854,7 @@ package android.content.res { field public static final int UI_MODE_TYPE_NORMAL = 1; // 0x1 field public static final int UI_MODE_TYPE_TELEVISION = 4; // 0x4 field public static final int UI_MODE_TYPE_UNDEFINED = 0; // 0x0 + field public int densityDpi; field public float fontScale; field public int hardKeyboardHidden; field public int keyboard; |