HomeSort by relevance Sort by last modified time
    Searched refs:ConfigDescription (Results 26 - 50 of 78) sorted by null

12 3 4

  /frameworks/base/tools/aapt2/link/
AutoVersioner.cpp 23 #include "ConfigDescription.h"
30 bool ShouldGenerateVersionedResource(const ResourceEntry* entry, const ConfigDescription& config,
38 const ConfigDescription& config) {
57 ConfigDescription temp_config(config);
124 ConfigDescription new_config(config_value->config);
  /frameworks/base/tools/aapt2/optimize/
MultiApkGenerator_test.cpp 84 inline FileReference* ValueForConfig(ResourceTable* table, const ConfigDescription& config) {
94 ConfigDescription default_ = ParseConfigOrDie("").CopyWithoutSdkVersion();
95 ConfigDescription mdpi_ = ParseConfigOrDie("mdpi").CopyWithoutSdkVersion();
96 ConfigDescription hdpi_ = ParseConfigOrDie("hdpi").CopyWithoutSdkVersion();
97 ConfigDescription xhdpi_ = ParseConfigOrDie("xhdpi").CopyWithoutSdkVersion();
98 ConfigDescription xxhdpi_ = ParseConfigOrDie("xxhdpi").CopyWithoutSdkVersion();
99 ConfigDescription xxxhdpi_ = ParseConfigOrDie("xxxhdpi").CopyWithoutSdkVersion();
100 ConfigDescription v19_ = ParseConfigOrDie("v19");
101 ConfigDescription v21_ = ParseConfigOrDie("v21");
MultiApkGenerator.h 69 void AddScreens(const ConfigDescription& config, xml::Element* parent);
VersionCollapser.cpp 79 const ConfigDescription& config = (*iter)->config;
85 ConfigDescription config_without_sdk = config.CopyWithoutSdkVersion();
134 // We've modified the keys (ConfigDescription) by changing the sdkVersion to 0. We MUST re-sort
  /frameworks/base/tools/aapt2/
ResourceTable_test.cpp 38 test::ParseNameOrDie("android:id/hey,there"), ConfigDescription{}, "",
43 test::ParseNameOrDie("android:id/hey:there"), ConfigDescription{}, "",
52 test::ParseNameOrDie("android:id/heythere "), ConfigDescription{}, "",
60 test::ParseNameOrDie("android:attr/id"), ConfigDescription{}, "",
70 ConfigDescription config;
71 ConfigDescription language_config;
105 ASSERT_TRUE(table.AddResource(test::ParseNameOrDie("android:attr/foo"), ConfigDescription{}, "",
113 ASSERT_TRUE(table.AddResource(test::ParseNameOrDie("android:attr/foo"), ConfigDescription{}, "",
130 ASSERT_TRUE(table.AddResource(name, ConfigDescription{}, "",
132 ASSERT_TRUE(table.AddResource(name, ConfigDescription{}, "",
    [all...]
ConfigDescription.cpp 17 #include "ConfigDescription.h"
36 const ConfigDescription& ConfigDescription::DefaultConfig() {
37 static ConfigDescription config = {};
646 bool ConfigDescription::Parse(const StringPiece& str, ConfigDescription* out) {
649 ConfigDescription config;
838 void ConfigDescription::ApplyVersionForCompatibility(
839 ConfigDescription* config) {
873 ConfigDescription ConfigDescription::CopyWithoutSdkVersion() const
    [all...]
StringPool.h 29 #include "ConfigDescription.h"
63 ConfigDescription config;
66 Context(uint32_t p, const ConfigDescription& c) : priority(p), config(c) {}
68 explicit Context(const ConfigDescription& c) : priority(kNormalPriority), config(c) {
ResourceParser.h 25 #include "ConfigDescription.h"
56 const ConfigDescription& config,
113 ConfigDescription config_;
Resource.h 30 #include "ConfigDescription.h"
174 ConfigDescription config;
192 ConfigDescription config;
204 ConfigDescription config;
207 ResourceKeyRef(const ResourceNameRef& n, const ConfigDescription& c)
213 ResourceKeyRef(ResourceName&& n, const ConfigDescription& c) = delete;
ResourceTable.cpp 28 #include "ConfigDescription.h"
156 ResourceConfigValue* ResourceEntry::FindValue(const ConfigDescription& config) {
161 const ConfigDescription* config;
173 ResourceConfigValue* ResourceEntry::FindValue(const ConfigDescription& config,
186 ResourceConfigValue* ResourceEntry::FindOrCreateValue(const ConfigDescription& config,
201 std::vector<ResourceConfigValue*> ResourceEntry::FindAllValues(const ConfigDescription& config) {
224 const ConfigDescription& default_config = ConfigDescription::DefaultConfig();
320 const ConfigDescription& config,
329 const ConfigDescription& config, const StringPiece& product
    [all...]
  /frameworks/base/tools/aapt2/format/proto/
ProtoSerialize_test.cpp 63 ASSERT_TRUE(table->AddResource(test::ParseNameOrDie("com.app.a:plurals/hey"), ConfigDescription{},
71 table->AddResource(test::ParseNameOrDie("com.app.a:string/styled"), ConfigDescription{}, {},
90 test::ParseNameOrDie("com.app.a:layout/abc"), ConfigDescription::DefaultConfig(), {},
292 &new_table, "android:bool/boolean_true", ConfigDescription::DefaultConfig(), "");
298 ConfigDescription::DefaultConfig(), "");
304 ConfigDescription::DefaultConfig(), "");
310 ConfigDescription::DefaultConfig(), "");
316 ConfigDescription::DefaultConfig(), "");
322 ConfigDescription::DefaultConfig(), "");
328 ConfigDescription::DefaultConfig(), "")
    [all...]
ProtoSerialize.h 22 #include "ConfigDescription.h"
51 // Serializes a ConfigDescription into its protobuf representation.
52 void SerializeConfig(const ConfigDescription& config, pb::Configuration* out_pb_config);
  /frameworks/base/tools/aapt/
AaptConfig.h 23 #include "ConfigDescription.h"
37 bool parse(const android::String8& str, ConfigDescription* out = NULL);
45 bool parseCommaSeparatedList(const android::String8& str, std::set<ConfigDescription>* outSet);
52 void applyVersionForCompatibility(ConfigDescription* config);
ResourceFilter.cpp 27 std::pair<ConfigDescription, uint32_t>& entry = mConfigs.editItemAt(i);
109 const std::pair<ConfigDescription, uint32_t>& entry = mConfigs[i];
147 ConfigDescription config;
  /frameworks/base/tools/aapt2/split/
TableSplitter.h 24 #include "ConfigDescription.h"
32 std::set<ConfigDescription> configs;
  /frameworks/base/tools/aapt2/test/
Common.cpp 47 const ConfigDescription& config,
Builders.h 43 ResourceTableBuilder& AddSimple(const android::StringPiece& name, const ConfigDescription& config,
54 const ConfigDescription& config, const android::StringPiece& str);
63 const ConfigDescription& config,
68 ResourceTableBuilder& AddValue(const android::StringPiece& name, const ConfigDescription& config,
166 ArtifactBuilder& AddDensity(const ConfigDescription& density);
167 ArtifactBuilder& AddLocale(const ConfigDescription& locale);
Common.h 28 #include "ConfigDescription.h"
48 inline ConfigDescription ParseConfigOrDie(const android::StringPiece& str) {
49 ConfigDescription config;
50 CHECK(ConfigDescription::Parse(str, &config)) << "invalid configuration: " << str;
56 const ConfigDescription& config,
71 const ConfigDescription& config,
76 const ConfigDescription& config) {
Builders.cpp 49 const ConfigDescription& config,
76 const ConfigDescription& config,
98 const ConfigDescription& config,
116 const ConfigDescription& config,
246 ArtifactBuilder& ArtifactBuilder::AddDensity(const ConfigDescription& density) {
251 ArtifactBuilder& ArtifactBuilder::AddLocale(const ConfigDescription& locale) {
272 std::vector<ConfigDescription> configs;
281 std::vector<ConfigDescription> configs;
  /frameworks/base/tools/split-select/
SplitDescription.h 20 #include "aapt/ConfigDescription.h"
31 ConfigDescription config;
  /frameworks/base/tools/aapt2/cmd/
Util.cpp 23 #include "ConfigDescription.h"
36 ConfigDescription preferred_density_config;
37 if (!ConfigDescription::Parse(arg, &preferred_density_config)) {
45 if (preferred_density_config.diff(ConfigDescription::DefaultConfig()) !=
46 ConfigDescription::CONFIG_DENSITY) {
76 ConfigDescription config;
77 if (!ConfigDescription::Parse(config_str, &config)) {
92 ConfigDescription config;
96 } else if (!ConfigDescription::Parse(config_str, &config)) {
120 for (const ConfigDescription& config : constraints.configs)
    [all...]
  /frameworks/base/tools/aapt2/configuration/
ConfigurationParser.h 25 #include "ConfigDescription.h"
112 std::vector<ConfigDescription> screen_densities;
113 std::vector<ConfigDescription> locales;
ConfigurationParser.cpp 29 #include "ConfigDescription.h"
589 OrderedEntry<ConfigDescription>& entry = config->screen_density_groups[label];
600 ConfigDescription config_descriptor;
601 bool parsed = ConfigDescription::Parse(label, &config_descriptor);
603 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) ==
626 ConfigDescription config_descriptor;
628 bool parsed = ConfigDescription::Parse(text, &config_descriptor);
630 (config_descriptor.CopyWithoutSdkVersion().diff(ConfigDescription::DefaultConfig()) ==
656 OrderedEntry<ConfigDescription>& entry = config->locale_groups[label];
667 ConfigDescription config_descriptor
    [all...]
  /frameworks/base/tools/aapt2/compile/
PseudolocaleGenerator.cpp 290 ConfigDescription ModifyConfigForPseudoLocale(const ConfigDescription& base,
292 ConfigDescription modified = base;
330 ConfigDescription config_with_accent =
344 const int diff = config_value->config.diff(ConfigDescription::DefaultConfig());
345 if (diff & ConfigDescription::CONFIG_LOCALE) {
  /external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
Qualifiers.java 5 import org.robolectric.res.android.ConfigDescription;
31 && !ConfigDescription.parse(qualifiers, config, applyVersionForCompat)) {

Completed in 2008 milliseconds

12 3 4