/frameworks/base/tools/aapt2/split/ |
H A D | TableSplitter.cpp | 66 ResourceConfigValue* config_value = entry.first; local 67 if (config_value->config.density == 0 && !entry.second) { 69 if (density_independent_configs_.find(config_value->config) != 71 selected.push_back(config_value); 190 for (std::unique_ptr<ResourceConfigValue>& config_value : entry->values) { 191 if (!options_.config_filter->Match(config_value->config)) { 194 config_value.reset(); 205 for (const std::unique_ptr<ResourceConfigValue>& config_value : entry->values) { 206 if (config_value) { 207 config_claimed_map[config_value [all...] |
/frameworks/base/tools/aapt2/link/ |
H A D | NoDefaultResourceRemover.cpp | 47 for (const auto& config_value : entry->values) { 48 if (IsDefaultConfigRequired(config_value->config)) { 69 for (const auto& config_value : (*iter)->values) { 70 if (config_value->value != nullptr) { 71 diag->Note(DiagMessage(config_value->value->GetSource()) << "defined here");
|
H A D | ProductFilter.cpp | 30 ResourceConfigValue* config_value = iter->get(); local 31 if (products_.find(config_value->product) != products_.end()) { 34 diag->Error(DiagMessage(config_value->value->GetSource()) 35 << "selection of product '" << config_value->product 51 if (config_value->product.empty() || config_value->product == "default") { 54 diag->Error(DiagMessage(config_value->value->GetSource())
|
H A D | AutoVersioner.cpp | 79 ResourceConfigValue* config_value = entry->values[i].get(); local 80 if (config_value->config.sdkVersion >= SDK_LOLLIPOP_MR1) { 87 if (Style* style = ValueCast<Style>(config_value->value.get())) { 98 if (sdk_level > std::max<ApiVersion>(config_value->config.sdkVersion, 1)) { 121 config_value->config, 124 ConfigDescription new_config(config_value->config);
|
H A D | ReferenceLinker.cpp | 380 for (auto& config_value : entry->values) { 381 config_value->value->Accept(&visitor);
|
/frameworks/base/tools/aapt2/test/ |
H A D | Common.cpp | 51 ResourceConfigValue* config_value = result.value().entry->FindValue(config, product); local 52 if (config_value) { 53 return config_value->value.get();
|
H A D | Common.h | 60 ResourceConfigValue* config_value = result.value().entry->FindValue(config, product); local 61 if (config_value) { 62 return ValueCast<T>(config_value->value.get());
|
/frameworks/base/tools/aapt2/optimize/ |
H A D | VersionCollapser.cpp | 118 for (std::unique_ptr<ResourceConfigValue>& config_value : entry->values) { 119 if (config_value->config.sdkVersion != 0 && 120 config_value->config.sdkVersion <= min_sdk) { 124 config_value->config.CopyWithoutSdkVersion(), 125 config_value->product); 126 new_value->value = std::move(config_value->value); 127 config_value = std::move(new_value);
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceTable.cpp | 227 for (auto& config_value : values) { 228 if (config_value->config == default_config) { 426 ResourceConfigValue* config_value = entry->FindOrCreateValue(config, product); local 427 if (config_value->value == nullptr) { 429 config_value->value = std::move(value); 431 switch (conflict_resolver(config_value->value.get(), value.get())) { 434 config_value->value = std::move(value); 629 for (const auto& config_value : entry->values) { 631 new_entry->FindOrCreateValue(config_value->config, config_value [all...] |
H A D | ResourceTable.h | 118 for (auto& config_value : values) { 119 if (f(config_value.get())) { 120 results.push_back(config_value.get());
|
H A D | ValueVisitor.h | 195 for (auto& config_value : entry->values) { 196 config_value->value->Accept(visitor);
|
H A D | LoadedApk.cpp | 174 for (auto& config_value : entry->values) { 175 FileReference* file_ref = ValueCast<FileReference>(config_value->value.get());
|
H A D | Resources.proto | 176 repeated ConfigValue config_value = 6;
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Optimize.cpp | 243 for (auto& config_value : entry->values) { 244 auto* file_ref = ValueCast<FileReference>(config_value->value.get()); 253 << config_value->config << "' not found"); 258 config_sorted_files[std::make_pair(config_value->config, entry_name)] = file_ref;
|
H A D | Convert.cpp | 75 for (const auto& config_value : entry->values) { 76 FileReference* file = ValueCast<FileReference>(config_value->value.get()); 90 } // config_value
|
H A D | Link.cpp | 551 for (auto& config_value : entry->values) { 555 FileReference* file_ref = ValueCast<FileReference>(config_value->value.get()); 570 file_op.config = config_value->config; 611 file_op.xml_to_flatten->file.config = config_value->config; 621 config_sorted_files[std::make_pair(config_value->config, entry_name)] = 1007 for (const auto& config_value : entry->values) { 1010 if (ValueCast<Id>(config_value->value.get()) && package->name == "android") { 1011 context_->GetDiagnostics()->Warn(DiagMessage(config_value->value->GetSource()) 1016 context_->GetDiagnostics()->Error(DiagMessage(config_value->value->GetSource())
|
/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator.cpp | 343 static bool IsPseudolocalizable(ResourceConfigValue* config_value) { argument 344 const int diff = config_value->config.diff(ConfigDescription::DefaultConfig()); 348 return config_value->value->IsTranslatable();
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 201 ResourceConfigValue* config_value = sr.entry->FindValue(kDefaultConfig); local 202 if (config_value) { 204 if (Attribute* attr = ValueCast<Attribute>(config_value->value.get())) {
|
/frameworks/base/tools/aapt2/java/ |
H A D | ProguardRules.cpp | 431 for (auto& config_value : entry->values) { 434 config_value->value->Accept(&visitor);
|
H A D | JavaClassGenerator.cpp | 452 for (const auto& config_value : entry.values) { 453 processor->AppendComment(config_value->value->GetComment());
|
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize.cpp | 318 for (const std::unique_ptr<ResourceConfigValue>& config_value : entry->values) { 320 SerializeConfig(config_value->config, pb_config_value->mutable_config()); 321 pb_config_value->mutable_config()->set_product(config_value->product); 322 SerializeValueToPb(*config_value->value, pb_config_value->mutable_value(), &source_pool);
|
H A D | ProtoDeserialize.cpp | 455 for (const pb::ConfigValue& pb_config_value : pb_entry.config_value()) { 463 ResourceConfigValue* config_value = entry->FindOrCreateValue(config, pb_config.product()); local 464 if (config_value->value != nullptr) { 469 config_value->value = DeserializeValueFromPb(pb_config_value.value(), src_pool, config, 471 if (config_value->value == nullptr) {
|
/frameworks/base/tools/aapt2/format/binary/ |
H A D | TableFlattener.cpp | 519 for (auto& config_value : entry->values) { 520 config_to_entry_list_map[config_value->config].push_back( 521 FlatEntry{entry, config_value->value.get(), local_key_index});
|