Home
last modified time | relevance | path

Searched refs:jsonConfig (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dresource_configuration.cpp35 bool ResourceConfiguration::ParseJsonColorMode(const std::unique_ptr<JsonValue>& jsonConfig, uint32_t& updateFlags) in ParseJsonColorMode() argument
37 if (!jsonConfig->Contains(CONFIGURATION_COLOR_MODE)) { in ParseJsonColorMode()
40 auto jsonColorMode = jsonConfig->GetValue(CONFIGURATION_COLOR_MODE); in ParseJsonColorMode()
59 bool ResourceConfiguration::ParseJsonFontRatio(const std::unique_ptr<JsonValue>& jsonConfig, uint32_t& updateFlags) in ParseJsonFontRatio() argument
61 if (!jsonConfig->Contains(CONFIGURATION_FONT_RATIO)) { in ParseJsonFontRatio()
64 auto jsonFontRatio = jsonConfig->GetValue(CONFIGURATION_FONT_RATIO); in ParseJsonFontRatio()
79 std::unique_ptr<JsonValue> jsonConfig = JsonUtil::ParseJsonString(jsonStr); in UpdateFromJsonString() local
81 CHECK_NULL_RETURN(jsonConfig, false); in UpdateFromJsonString()
82 ParseJsonColorMode(jsonConfig, updateFlags); in UpdateFromJsonString()
83 ParseJsonFontRatio(jsonConfig, updateFlag in UpdateFromJsonString()
[all...]
H A Dresource_configuration.h151 bool ParseJsonColorMode(const std::unique_ptr<JsonValue>& jsonConfig, uint32_t& updateFlags);
152 bool ParseJsonFontRatio(const std::unique_ptr<JsonValue>& jsonConfig, uint32_t& updateFlags);

Completed in 1 milliseconds