Home
last modified time | relevance | path

Searched refs:keyParams (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);
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...]
H A Dace_res_key_parser.cpp77 bool AceResKeyParser::Parse(const std::string& deviceResConfigTag, std::vector<KeyParam>& keyParams, bool styleRes) in Parse() argument
93 if (!ParseMatch(keyParts, keyParams, functions, FUNC_LEN, styleRes)) { in Parse()
102 bool AceResKeyParser::DeclarativeParse(const std::string& deviceResConfigTag, std::vector<KeyParam>& keyParams) in DeclarativeParse() argument
119 if (!ParseMatch(reskeyParts, keyParams, functions, FUNC_LEN, true)) { in DeclarativeParse()
128 bool AceResKeyParser::ParseMatch(const std::vector<std::string>& keys, std::vector<KeyParam>& keyParams, in ParseMatch() argument
141 if (functions[k](*iter, keyParams)) { in ParseMatch()
153 bool AceResKeyParser::ParseMcc(const std::string& key, std::vector<KeyParam>& keyParams) in ParseMcc() argument
160 keyParams.emplace_back(keyParam); in ParseMcc()
166 bool AceResKeyParser::ParseMnc(const std::string& key, std::vector<KeyParam>& keyParams) in ParseMnc() argument
177 keyParams in ParseMnc()
183 ParseScreenShape(const std::string& key, std::vector<KeyParam>& keyParams) ParseScreenShape() argument
196 ParseLongScreen(const std::string& key, std::vector<KeyParam>& keyParams) ParseLongScreen() argument
209 ParseOrientation(const std::string& key, std::vector<KeyParam>& keyParams) ParseOrientation() argument
222 ParseColorMode(const std::string& key, std::vector<KeyParam>& keyParams) ParseColorMode() argument
235 ParseDeclarativeColorMode(const std::string& key, std::vector<KeyParam>& keyParams) ParseDeclarativeColorMode() argument
248 ParseDeviceType(const std::string& key, std::vector<KeyParam>& keyParams) ParseDeviceType() argument
261 ParseResolution(const std::string& key, std::vector<KeyParam>& keyParams) ParseResolution() argument
274 ParseDefaults(const std::string& key, std::vector<KeyParam>& keyParams) ParseDefaults() argument
[all...]
H A Dace_res_config.cpp897 bool AceResConfig::ParseConfig(const std::vector<KeyParam>& keyParams) in ParseConfig() argument
899 for (auto keyParam : keyParams) { in ParseConfig()
975 std::vector<KeyParam> keyParams; in ConvertResTagToConfig() local
976 bool parseSucceed = AceResKeyParser::GetInstance().Parse(deviceResConfigTag, keyParams, styleRes); in ConvertResTagToConfig()
978 resConfig.ParseConfig(keyParams); in ConvertResTagToConfig()
986 std::vector<KeyParam> keyParams; in ConvertDeclarativeResTagToConfig() local
989 bool parseSucceed = AceResKeyParser::GetInstance().DeclarativeParse(deviceResConfigTag, keyParams); in ConvertDeclarativeResTagToConfig()
992 resConfig.ParseConfig(keyParams); in ConvertDeclarativeResTagToConfig()
1007 bool parseSucceed = AceResKeyParser::GetInstance().DeclarativeParse(deviceResConfigTag, keyParams); in ConvertDeclarativeResTagToConfig()
1009 resConfig.ParseConfig(keyParams); in ConvertDeclarativeResTagToConfig()
[all...]
H A Dace_res_config.h73 bool ParseConfig(const std::vector<KeyParam>& keyParams);

Completed in 3 milliseconds