Home
last modified time | relevance | path

Searched refs:res_builder (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp396 NewResourceBuilder res_builder(name); in ParseType() local
397 res_builder.SetValue(std::move(resource_value), config) in ParseType()
410 res_builder.SetVisibility(visibility); in ParseType()
423 if (!table_->AddResource(res_builder.Build(), diag_)) { in ParseType()
/frameworks/base/tools/aapt2/
DResourceParser.cpp128 NewResourceBuilder res_builder(res->name); in AddResourcesToTable() local
135 res_builder.SetVisibility(visibility); in AddResourcesToTable()
139 res_builder.SetId(res->id); in AddResourcesToTable()
146 res_builder.SetAllowNew(allow_new); in AddResourcesToTable()
150 res_builder.SetOverlayable(res->overlayable_item.value()); in AddResourcesToTable()
157 res_builder.SetValue(std::move(res->value), res->config, res->product); in AddResourcesToTable()
161 res_builder.SetStagedId(res->staged_alias.value()); in AddResourcesToTable()
166 if (!table->AddResource(res_builder.Build(), diag)) { in AddResourcesToTable()