Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp717 const pb::Style& pb_style = pb_compound_value.style(); in DeserializeValueFromPb() local
719 if (pb_style.has_parent()) { in DeserializeValueFromPb()
721 if (!DeserializeReferenceFromPb(pb_style.parent(), &style->parent.value(), out_error)) { in DeserializeValueFromPb()
725 if (pb_style.has_parent_source()) { in DeserializeValueFromPb()
727 DeserializeSourceFromPb(pb_style.parent_source(), src_pool, &parent_source); in DeserializeValueFromPb()
732 for (const pb::Style_Entry& pb_entry : pb_style.entry()) { in DeserializeValueFromPb()
DProtoSerialize.cpp559 pb::Style* pb_style = out_value_->mutable_compound_value()->mutable_style(); in Visit() local
562 SerializeReferenceToPb(parent, pb_style->mutable_parent()); in Visit()
564 SerializeSourceToPb(parent.GetSource(), src_pool_, pb_style->mutable_parent_source()); in Visit()
569 pb::Style_Entry* pb_entry = pb_style->add_entry(); in Visit()