Home
last modified time | relevance | path

Searched refs:jsonColors (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dgauge_composed_element.cpp117 auto jsonColors = JsonUtil::CreateArray(true); in GetColors() local
119 return jsonColors->ToString(); in GetColors()
128 jsonColors->Put(index.c_str(), jsonObject); in GetColors()
130 return jsonColors->ToString(); in GetColors()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_paint_property.h121 auto jsonColors = JsonUtil::CreateArray(true); in ToJsonValue() local
128 jsonColors->Put(index.c_str(), jsonObject); in ToJsonValue()
131 json->PutExtAttr("colors", jsonColors->ToString().c_str(), filter); in ToJsonValue()
/ohos5.0/base/security/security_component_manager/frameworks/security_component/src/
H A Dsec_comp_base.cpp139 auto jsonColors = json.at(tag); in ParseColors() local
140 if (!ParseColor(jsonColors, JsonTagConstants::JSON_FONT_COLOR_TAG, fontColor_)) { in ParseColors()
143 if (!ParseColor(jsonColors, JsonTagConstants::JSON_ICON_COLOR_TAG, iconColor_)) { in ParseColors()
146 if (!ParseColor(jsonColors, JsonTagConstants::JSON_BG_COLOR_TAG, bgColor_)) { in ParseColors()