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

/frameworks/base/tools/aapt/
H A DAaptAssets.h61 struct AaptLocaleValue { struct
67 AaptLocaleValue() { function in struct:AaptLocaleValue
68 memset(this, 0, sizeof(AaptLocaleValue));
71 // Initialize this AaptLocaleValue from a config string.
76 // Initialize this AaptLocaleValue from a ResTable_config.
81 int compare(const AaptLocaleValue& other) const {
82 return memcmp(this, &other, sizeof(AaptLocaleValue));
85 inline bool operator<(const AaptLocaleValue& o) const { return compare(o) < 0; }
86 inline bool operator<=(const AaptLocaleValue& o) const { return compare(o) <= 0; }
87 inline bool operator==(const AaptLocaleValue
[all...]
H A DResourceFilter.cpp29 AaptLocaleValue val;
H A DAaptAssets.cpp176 void AaptLocaleValue::setLanguage(const char* languageChars) {
184 void AaptLocaleValue::setRegion(const char* regionChars) {
192 void AaptLocaleValue::setScript(const char* scriptChars) {
204 void AaptLocaleValue::setVariant(const char* variantChars) {
212 bool AaptLocaleValue::initFromFilterString(const String8& str) {
277 int AaptLocaleValue::initFromDirName(const Vector<String8>& parts, const int startIndex) {
373 void AaptLocaleValue::initFromResTable(const ResTable_config& config) {
385 void AaptLocaleValue::writeTo(ResTable_config* out) const {
H A DAaptConfig.cpp38 AaptLocaleValue locale;
H A DResourceTable.cpp2811 AaptLocaleValue locale;
/frameworks/base/tools/aapt/tests/
H A DResourceFilter_test.cpp159 AaptLocaleValue val;

Completed in 68 milliseconds