Searched refs:configValue (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp60 ResourceConfigValue* configValue = entry.first; local
61 if (configValue->config.density == 0 && !entry.second) {
63 if (mDensityIndependentConfigs.find(configValue->config) !=
65 selected.push_back(configValue);
175 for (std::unique_ptr<ResourceConfigValue>& configValue : entry->values) {
176 if (!mConfigFilter->match(configValue->config)) {
179 configValue.reset();
191 for (const std::unique_ptr<ResourceConfigValue>& configValue : entry->values) {
192 if (configValue) {
193 configClaimedMap[configValue
[all...]
/frameworks/base/tools/aapt2/link/
H A DProductFilter.cpp30 ResourceConfigValue* configValue = iter->get(); local
31 if (mProducts.find(configValue->product) != mProducts.end()) {
34 diag->error(DiagMessage(configValue->value->getSource())
35 << "selection of product '" << configValue->product
49 if (configValue->product.empty() || configValue->product == "default") {
52 diag->error(DiagMessage(configValue->value->getSource())
H A DAutoVersioner.cpp71 ResourceConfigValue* configValue = entry->values[i].get(); local
72 if (configValue->config.sdkVersion >= SDK_LOLLIPOP_MR1) {
78 if (Style* style = valueCast<Style>(configValue->value.get())) {
88 if (sdkLevel > std::max<size_t>(configValue->config.sdkVersion, 1)) {
111 configValue->config,
114 ConfigDescription newConfig(configValue->config);
H A DLink.cpp440 ResourceConfigValue* configValue = entry->values[i].get(); local
442 FileReference* fileRef = valueCast<FileReference>(configValue->value.get());
462 fileDesc.config = configValue->config;
479 configSortedFiles[std::make_pair(configValue->config, entryName)] =
611 for (const auto& configValue : entry->values) {
614 if (valueCast<Id>(configValue->value.get()) &&
617 DiagMessage(configValue->value->getSource())
623 DiagMessage(configValue->value->getSource())
H A DReferenceLinker.cpp321 for (auto& configValue : entry->values) {
322 configValue->value->accept(&visitor);
/frameworks/base/tools/aapt2/test/
H A DCommon.h85 ResourceConfigValue* configValue = result.value().entry->findValue(config, product); local
86 if (configValue) {
87 return valueCast<T>(configValue->value.get());
/frameworks/base/tools/aapt2/proto/
H A DTableProtoSerializer.cpp246 for (auto& configValue : entry->values) {
248 serializeConfig(configValue->config, pbConfigValue->mutable_config());
249 if (!configValue->product.empty()) {
250 pbConfigValue->mutable_config()->set_product(configValue->product);
254 serializeSourceToPb(configValue->value->getSource(), &sourcePool,
256 if (!configValue->value->getComment().empty()) {
257 pbValue->set_comment(util::utf16ToUtf8(configValue->value->getComment()));
260 if (configValue->value->isWeak()) {
265 configValue->value->accept(&visitor);
H A DTableProtoDeserializer.cpp136 ResourceConfigValue* configValue = entry->findOrCreateValue(config, local
138 if (configValue->value) {
144 configValue->value = deserializeValueFromPb(pbConfigValue.value(),
146 if (!configValue->value) {
/frameworks/base/tools/aapt2/
H A DValueVisitor.h148 for (auto& configValue : entry->values) {
149 configValue->value->accept(visitor);
H A DResourceTable.cpp390 ResourceConfigValue* configValue = entry->findOrCreateValue(config, product); local
391 if (!configValue->value) {
393 configValue->value = std::move(value);
396 int collisionResult = conflictResolver(configValue->value.get(), value.get());
399 configValue->value = std::move(value);
404 diag->error(DiagMessage(configValue->value->getSource())
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.cpp125 ResourceConfigValue* configValue = sr.entry->findValue(kDefaultConfig); local
126 if (configValue) {
128 if (Attribute* attr = valueCast<Attribute>(configValue->value.get())) {
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener.cpp448 for (auto& configValue : entry->values) {
449 configToEntryListMap[configValue->config].push_back(FlatEntry{
450 entry, configValue->value.get(), keyIndex });
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp466 for (const auto& configValue : entry->values) {
467 processor->appendComment(configValue->value->getComment());

Completed in 1673 milliseconds