Home
last modified time | relevance | path

Searched refs:deviceResConfigTag (Results 1 - 4 of 4) sorted by relevance

/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_key_parser.h39 bool Parse(const std::string& deviceResConfigTag, std::vector<KeyParam>& keyParams, bool styleRes);
40 bool DeclarativeParse(const std::string& deviceResConfigTag, std::vector<KeyParam>& keyParams);
H A Dace_res_config.cpp972 AceResConfig AceResConfig::ConvertResTagToConfig(const std::string& deviceResConfigTag, bool styleRes) in ConvertResTagToConfig() argument
976 bool parseSucceed = AceResKeyParser::GetInstance().Parse(deviceResConfigTag, keyParams, styleRes); in ConvertResTagToConfig()
983 AceResConfig AceResConfig::ConvertDeclarativeResTagToConfig(const std::string& deviceResConfigTag) in ConvertDeclarativeResTagToConfig() argument
987 if (deviceResConfigTag.find_first_of("-") == std::string::npos) { in ConvertDeclarativeResTagToConfig()
988 if (deviceResConfigTag.find_first_of("_") == std::string::npos) { in ConvertDeclarativeResTagToConfig()
989 bool parseSucceed = AceResKeyParser::GetInstance().DeclarativeParse(deviceResConfigTag, keyParams); in ConvertDeclarativeResTagToConfig()
997 std::string tempResTag(deviceResConfigTag); in ConvertDeclarativeResTagToConfig()
1007 bool parseSucceed = AceResKeyParser::GetInstance().DeclarativeParse(deviceResConfigTag, keyParams); in ConvertDeclarativeResTagToConfig()
1013 std::string localeTag = deviceResConfigTag.substr(0, deviceResConfigTag in ConvertDeclarativeResTagToConfig()
[all...]
H A Dace_res_key_parser.cpp77 bool AceResKeyParser::Parse(const std::string& deviceResConfigTag, std::vector<KeyParam>& keyParams, bool styleRes) in Parse() argument
80 StringUtils::StringSplitter(deviceResConfigTag, '-', keyParts); in Parse()
94 LOGW("Invalid config:%{public}s", deviceResConfigTag.c_str()); in Parse()
102 bool AceResKeyParser::DeclarativeParse(const std::string& deviceResConfigTag, std::vector<KeyParam>& keyParams) in DeclarativeParse() argument
105 std::string resConfigTag(deviceResConfigTag); in DeclarativeParse()
H A Dace_res_config.h76 static AceResConfig ConvertResTagToConfig(const std::string& deviceResConfigTag, bool styleRes);
77 static AceResConfig ConvertDeclarativeResTagToConfig(const std::string& deviceResConfigTag);

Completed in 3 milliseconds