Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DStringPool.cpp167 StyleEntry* styleEntry = new StyleEntry(); in makeRef() local
168 styleEntry->str = Ref(entry); in makeRef()
170 styleEntry->spans.emplace_back(Span{makeRef(span.name), in makeRef()
173 styleEntry->ref = 0; in makeRef()
174 mStyles.emplace_back(styleEntry); in makeRef()
175 return StyleRef(styleEntry); in makeRef()
187 StyleEntry* styleEntry = new StyleEntry(); in makeRef() local
188 styleEntry->str = Ref(entry); in makeRef()
190 styleEntry->spans.emplace_back(Span{ makeRef(*span.name), span.firstChar, span.lastChar }); in makeRef()
192 styleEntry->ref = 0; in makeRef()
[all …]
/frameworks/base/tools/aapt2/unflatten/
DBinaryResourceParser.cpp478 Style::Entry styleEntry; in parseStyle() local
479 styleEntry.key = Reference(util::deviceToHost32(mapEntry.name.ident)); in parseStyle()
480 styleEntry.value = parseValue(name, config, &mapEntry.value, 0); in parseStyle()
481 if (!styleEntry.value) { in parseStyle()
484 style->entries.push_back(std::move(styleEntry)); in parseStyle()