Searched defs:sortedAttributes (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/tests/
H A DAttributeFinder_test.cpp43 static const uint32_t sortedAttributes[] = { variable
58 const int end = sizeof(sortedAttributes) / sizeof(*sortedAttributes);
59 MockAttributeFinder finder(sortedAttributes, end);
72 const int end = sizeof(sortedAttributes) / sizeof(*sortedAttributes);
73 MockAttributeFinder finder(sortedAttributes, end);
86 const int end = sizeof(sortedAttributes) / sizeof(*sortedAttributes);
87 MockAttributeFinder finder(sortedAttributes, en
[all...]
/frameworks/base/tools/aapt2/
H A DJavaClassGenerator.cpp100 std::vector<std::pair<ResourceId, ResourceNameRef>> sortedAttributes; local
101 sortedAttributes.reserve(styleable.entries.size());
107 sortedAttributes.emplace_back(attr.id, attr.name);
109 std::sort(sortedAttributes.begin(), sortedAttributes.end());
115 const size_t attrCount = sortedAttributes.size();
121 *out << sortedAttributes[i].first;
136 const ResourceNameRef& itemName = sortedAttributes[i].second;
H A DXmlFlattener.cpp253 std::vector<AttributeToFlatten> sortedAttributes; variable
296 auto iter = std::lower_bound(sortedAttributes.begin(), sortedAttributes.end(),
298 sortedAttributes.insert(iter, std::move(attrToFlatten));
301 flatElem->attributeCount = sortedAttributes.size();
302 if (sortedAttributes.empty()) {
307 sortedAttributes.size());
312 for (const AttributeToFlatten& attrToFlatten : sortedAttributes) {

Completed in 467 milliseconds