Home
last modified time | relevance | path

Searched refs:keyParams (Results 1 – 4 of 4) sorted by relevance

/foundation/arkui/ace_engine/frameworks/base/resource/
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);
53 bool ParseMatch(const std::vector<std::string>& keys, std::vector<KeyParam>& keyParams,
55 static bool ParseMcc(const std::string& key, std::vector<KeyParam>& keyParams);
56 static bool ParseMnc(const std::string& key, std::vector<KeyParam>& keyParams);
57 static bool ParseOrientation(const std::string& key, std::vector<KeyParam>& keyParams);
58 static bool ParseColorMode(const std::string& key, std::vector<KeyParam>& keyParams);
59 static bool ParseDeviceType(const std::string& key, std::vector<KeyParam>& keyParams);
60 static bool ParseResolution(const std::string& key, std::vector<KeyParam>& keyParams);
61 static bool ParseDefaults(const std::string& key, std::vector<KeyParam>& keyParams);
[all …]
Dace_res_key_parser.cpp86 bool AceResKeyParser::Parse(const std::string& deviceResConfigTag, std::vector<KeyParam>& keyParams in Parse() argument
102 if (!ParseMatch(keyParts, keyParams, functions, FUNC_LEN, styleRes)) { in Parse()
111 …eyParser::DeclarativeParse(const std::string& deviceResConfigTag, std::vector<KeyParam>& keyParams) in DeclarativeParse() argument
128 if (!ParseMatch(reskeyParts, keyParams, functions, FUNC_LEN, true)) { in DeclarativeParse()
137 …AceResKeyParser::ParseMatch(const std::vector<std::string>& keys, std::vector<KeyParam>& keyParams, in ParseMatch() argument
151 if (functions[k](*iter, keyParams)) { in ParseMatch()
164 bool AceResKeyParser::ParseMcc(const std::string& key, std::vector<KeyParam>& keyParams) in ParseMcc() argument
171 keyParams.emplace_back(keyParam); in ParseMcc()
177 bool AceResKeyParser::ParseMnc(const std::string& key, std::vector<KeyParam>& keyParams) in ParseMnc() argument
188 keyParams.emplace_back(keyParam); in ParseMnc()
[all …]
Dace_res_config.cpp902 bool AceResConfig::ParseConfig(const std::vector<KeyParam>& keyParams) in ParseConfig() argument
904 for (auto keyParam : keyParams) { in ParseConfig()
981 std::vector<KeyParam> keyParams; in ConvertResTagToConfig() local
982 … bool parseSucceed = AceResKeyParser::GetInstance().Parse(deviceResConfigTag, keyParams, styleRes); in ConvertResTagToConfig()
984 resConfig.ParseConfig(keyParams); in ConvertResTagToConfig()
992 std::vector<KeyParam> keyParams; in ConvertDeclarativeResTagToConfig() local
995 …bool parseSucceed = AceResKeyParser::GetInstance().DeclarativeParse(deviceResConfigTag, keyParams); in ConvertDeclarativeResTagToConfig()
998 resConfig.ParseConfig(keyParams); in ConvertDeclarativeResTagToConfig()
1013 …bool parseSucceed = AceResKeyParser::GetInstance().DeclarativeParse(deviceResConfigTag, keyParams); in ConvertDeclarativeResTagToConfig()
1015 resConfig.ParseConfig(keyParams); in ConvertDeclarativeResTagToConfig()
[all …]
Dace_res_config.h73 bool ParseConfig(const std::vector<KeyParam>& keyParams);