Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp475 auto pb_span = pb_style_str->add_spans(); in SerializeMacroToPb() local
476 pb_span->set_name(span.name); in SerializeMacroToPb()
477 pb_span->set_start_index(span.first_char); in SerializeMacroToPb()
478 pb_span->set_end_index(span.last_char); in SerializeMacroToPb()
560 pb::StyledString::Span* pb_span = pb_str->add_span(); in Visit() local
561 pb_span->set_tag(*span.name); in Visit()
562 pb_span->set_first_char(span.first_char); in Visit()
563 pb_span->set_last_char(span.last_char); in Visit()
DProtoDeserialize.cpp981 for (const pb::StyledString::Span& pb_span : pb_str.span()) { in DeserializeItemFromPb() local
983 android::Span{pb_span.tag(), pb_span.first_char(), pb_span.last_char()}); in DeserializeItemFromPb()