diff options
| author | Dianne Hackborn <hackbod@google.com> | 2009-06-25 19:48:04 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2009-06-26 13:37:05 -0700 |
| commit | 723738cfaec3dd7b0fe152c872c41bebf94074c4 (patch) | |
| tree | 421ddeed166d0a4586c9460c4de581307bf08d44 /libs | |
| parent | 77cb40a0b088b02357fbc7d5fad24886d607f0da (diff) | |
| download | frameworks_base-723738cfaec3dd7b0fe152c872c41bebf94074c4.zip frameworks_base-723738cfaec3dd7b0fe152c872c41bebf94074c4.tar.gz frameworks_base-723738cfaec3dd7b0fe152c872c41bebf94074c4.tar.bz2 | |
Expand support for different screen sizes.
Applications can now declare that they support small, normal, or
large screens. Resource selection can also be done based on these
sizes. By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes. In either
case they can use <supports-screens> in their manifest to declare
what they actually support.
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/utils/ResourceTypes.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/utils/ResourceTypes.cpp b/libs/utils/ResourceTypes.cpp index e4f9f0f..7a33220 100644 --- a/libs/utils/ResourceTypes.cpp +++ b/libs/utils/ResourceTypes.cpp @@ -3919,7 +3919,7 @@ void ResTable::print(bool inclValues) const printf(" NON-INTEGER ResTable_type ADDRESS: %p\n", type); continue; } - printf(" config %d lang=%c%c cnt=%c%c orien=%d touch=%d density=%d key=%d infl=%d nav=%d w=%d h=%d\n", + printf(" config %d lang=%c%c cnt=%c%c orien=%d touch=%d density=%d key=%d infl=%d nav=%d w=%d h=%d lyt=%d\n", (int)configIndex, type->config.language[0] ? type->config.language[0] : '-', type->config.language[1] ? type->config.language[1] : '-', @@ -3932,7 +3932,8 @@ void ResTable::print(bool inclValues) const type->config.inputFlags, type->config.navigation, dtohs(type->config.screenWidth), - dtohs(type->config.screenHeight)); + dtohs(type->config.screenHeight), + type->config.screenLayout); size_t entryCount = dtohl(type->entryCount); uint32_t entriesStart = dtohl(type->entriesStart); if ((entriesStart&0x3) != 0) { |
