Home
last modified time | relevance | path

Searched refs:styleEntry (Results 1 – 4 of 4) 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 …]
DLinker.cpp244 for (Style::Entry& styleEntry : style.entries) { in visit()
245 const Attribute* attr = doResolveAttribute(styleEntry.key, args.source); in visit()
247 processAttributeValue(args.referrer, args.source, *attr, styleEntry.value); in visit()
DTableFlattener.cpp128 for (const auto& styleEntry : style.entries) { in visit() local
130 &styleEntry, compareStyleEntries); in visit()
131 sortedEntries.insert(iter, &styleEntry); in visit()
134 for (const Style::Entry* styleEntry : sortedEntries) { in visit() local
135 flattenEntry(styleEntry->key, *styleEntry->value); in visit()
DBinaryResourceParser.cpp772 Style::Entry& styleEntry = style->entries.back(); in parseStyle() local
780 styleEntry.key.name = symbol.toResourceName(); in parseStyle()
783 styleEntry.key.id = mapEntry.name.ident; in parseStyle()
787 styleEntry.value = parseValue(name, config, &mapEntry.value, 0); in parseStyle()
788 assert(styleEntry.value); in parseStyle()