Home
last modified time | relevance | path

Searched refs:AaptLocaleValue (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt/
DAaptAssets.h61 struct AaptLocaleValue { struct
67 AaptLocaleValue() { in AaptLocaleValue() argument
68 memset(this, 0, sizeof(AaptLocaleValue)); in AaptLocaleValue()
83 int compare(const AaptLocaleValue& other) const { in compare() argument
84 return memcmp(this, &other, sizeof(AaptLocaleValue)); in compare()
87 inline bool operator<(const AaptLocaleValue& o) const { return compare(o) < 0; }
88 inline bool operator<=(const AaptLocaleValue& o) const { return compare(o) <= 0; }
89 inline bool operator==(const AaptLocaleValue& o) const { return compare(o) == 0; }
90 inline bool operator!=(const AaptLocaleValue& o) const { return compare(o) != 0; }
91 inline bool operator>=(const AaptLocaleValue& o) const { return compare(o) >= 0; }
[all …]
DAaptAssets.cpp177 void AaptLocaleValue::setLanguage(const char* languageChars) { in setLanguage()
185 void AaptLocaleValue::setRegion(const char* regionChars) { in setRegion()
193 void AaptLocaleValue::setScript(const char* scriptChars) { in setScript()
205 void AaptLocaleValue::setVariant(const char* variantChars) { in setVariant()
213 bool AaptLocaleValue::initFromFilterString(const String8& str) { in initFromFilterString()
278 int AaptLocaleValue::initFromDirName(const Vector<String8>& parts, const int startIndex) { in initFromDirName()
371 String8 AaptLocaleValue::toDirName() const { in toDirName()
397 void AaptLocaleValue::initFromResTable(const ResTable_config& config) { in initFromResTable()
409 void AaptLocaleValue::writeTo(ResTable_config* out) const { in writeTo()
DResourceFilter.cpp29 AaptLocaleValue val; in parse()
DAaptConfig.cpp38 AaptLocaleValue locale; in parse()
DResourceTable.cpp2705 AaptLocaleValue locale; in validateLocalizations()
/frameworks/base/tools/aapt/tests/
DResourceFilter_test.cpp159 AaptLocaleValue val; in TEST()