summaryrefslogtreecommitdiff
path: root/tools/aapt/AaptConfig.cpp
AgeCommit message (Collapse)Author
2017-01-24Add color mode to activity/windowRomain Guy
The color mode lets an application request a wide color gamut for a specific window. This will also be used in the future to request HDR. The color mode is currently either default (sRGB) or an undefined wide gamut color space chosen by the platform. These attributes could later be used to choose a specific color space if we deem this important or useful. This change also renames the various "colorimetry" attributes and constants to "color mode" for consistency. These symbols were added in O and can be safely renamed. Test: CtsColorModeTestCases Bug: 32984164 Change-Id: I4d4691dd12dbe3f3aa6a5cf893cff39aa16c739e
2017-01-19Add wide color gamut and HDR resource qualifiersRomain Guy
Bug: 32984164 Test: Config_test, AaptConfig_test and aapt2_tests Change-Id: Ie9c82bfe2d36b1d6180ee223250ab5bb2ce90dd4
2017-01-11Introduce new UI_MODE_TYPE_VR_HEADSET and qualifier.Zak Cohen
Bug: 30989383 Test: Unit test for aapt2 Change-Id: I66dc65af6327b94fed74538bee08cada0b8be4fa
2015-05-15Add -round and -notround qualifier to android runtime/aaptAdam Lesinski
The round qualifier denotes a device with a screen shape that is round. The qualifier shows up after the 'long/notlong' qualifier and before the orientation 'port/land/square' qualifiers. Change-Id: I3044258b2703a9165694b79725bade770fa6cea1
2015-01-22AAPT: Use the right enum when checking for density configurationsAdam Lesinski
Bug:19116675 Change-Id: I2322d8d6bdf890005c80014273e5d07df735ed50
2014-11-06split-select: Fix rules generated for anydpi densityAdam Lesinski
Change-Id: I9de569ca9a76eb22df4d0e178df847ba1c7d0b01
2014-11-03Add error checking to aapt for split generationAdam Lesinski
Change-Id: Ica627db6a671f6a6c35f98bfd9c03598ffe103ce
2014-10-17Minor resource notation/compatibility fixesAdam Lesinski
- Change the format of mnc/mcc when printing a resource-qualifier formatted string from a Configuration object. - Correctly bump the SDK to 21 when using anydpi in a resource qualifier. Change-Id: I3c31e344dc5384d45398d6e9f264a073abab65d1
2014-08-25Introduce anydpi density resource qualifierAdam Lesinski
This is meant to be used with scaleable vector drawables, and are chosen as the best match unless there is a configuration that matches the density requested exactly. Bug:17007265 Change-Id: Ic3288d0236fe0bff20bb1599aba2582c25b0db32
2014-05-11Add support for building split APKsAdam Lesinski
Build multiple APKs, each containing a disjoint subset of configurations. These can then be loaded into the device AssetManager and should operate as if they were never split. Use the idea of building multiple sets of files, where each set represents an APK. An ApkBuilder can place files in a set based on its configuration, but you can actually add directly to a set, in the case of the resources.arsc and generated AndroidManifest.xml for splits. Change-Id: Ic65d3f0ac1bbd290185695b9971d425c85ab1de3