Home
last modified time | relevance | path

Searched refs:styleJson (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/
H A Dpaste_button_test.cpp59 auto& styleJson = jsonComponent[JsonTagConstants::JSON_STYLE_TAG]; variable
60 styleJson[JsonTagConstants::JSON_TEXT_TAG] = UNKNOWN_TEXT;
63 styleJson[JsonTagConstants::JSON_TEXT_TAG] = PasteDesc::PASTE;
64 styleJson[JsonTagConstants::JSON_ICON_TAG] = UNKNOWN_ICON;
67 styleJson[JsonTagConstants::JSON_ICON_TAG] = PasteIcon::LINE_ICON;
68 styleJson[JsonTagConstants::JSON_BG_TAG] = SecCompBackground::UNKNOWN_BG;
71 styleJson[JsonTagConstants::JSON_BG_TAG] = SecCompBackground::CIRCLE;
72 styleJson[JsonTagConstants::JSON_TEXT_TAG] = PasteDesc::MAX_LABEL_TYPE;
75 styleJson[JsonTagConstants::JSON_TEXT_TAG] = PasteDesc::PASTE;
76 styleJson[JsonTagConstants::JSON_ICON_TAG] = PasteIcon::MAX_ICON_TYPE;
[all …]
H A Dlocation_button_test.cpp274 auto& styleJson = jsonComponent[JsonTagConstants::JSON_STYLE_TAG]; variable
275 styleJson[JsonTagConstants::JSON_TEXT_TAG] = WRONG_TYPE;
279 styleJson[JsonTagConstants::JSON_ICON_TAG] = WRONG_TYPE;
282 styleJson[JsonTagConstants::JSON_ICON_TAG] = LocationIcon::LINE_ICON;
283 styleJson[JsonTagConstants::JSON_BG_TAG] = WRONG_TYPE;
327 auto& styleJson = jsonComponent[JsonTagConstants::JSON_STYLE_TAG]; variable
328 styleJson[JsonTagConstants::JSON_TEXT_TAG] = UNKNOWN_TEXT;
332 styleJson[JsonTagConstants::JSON_ICON_TAG] = UNKNOWN_ICON;
335 styleJson[JsonTagConstants::JSON_ICON_TAG] = LocationIcon::LINE_ICON;
339 styleJson[JsonTagConstants::JSON_BG_TAG] = SecCompBackground::CIRCLE;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.cpp71 auto styleJson = JsonUtil::Create(true); in ToJsonValue() local
72 styleJson->Put("color", exportStyle.backgroundColor->ColorToString().c_str()); in ToJsonValue()
74 exportStyle.backgroundRadius->ToJsonValue(radiusJson, styleJson, filter); in ToJsonValue()
76 json->PutExtAttr("textBackgroundStyle", styleJson, filter); in ToJsonValue()
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
H A Dsec_comp_info_helper_test.cpp398 auto& styleJson = jsonComponent[JsonTagConstants::JSON_STYLE_TAG]; variable
399 styleJson[JsonTagConstants::JSON_BG_TAG] = SecCompBackground::NO_BG_TYPE;
417 auto& styleJson = jsonComponent[JsonTagConstants::JSON_STYLE_TAG]; variable
418 styleJson[JsonTagConstants::JSON_BG_TAG] = SecCompBackground::NO_BG_TYPE;
448 auto& styleJson = jsonComponent[JsonTagConstants::JSON_STYLE_TAG]; variable
449 styleJson[JsonTagConstants::JSON_BG_TAG] = SecCompBackground::NO_BG_TYPE;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.h151 …const std::unique_ptr<JsonValue>& styleJson, const std::unique_ptr<JsonValue>& propsJson = nullptr,
158 …:vector<std::pair<std::string, std::string>>& styles, const std::unique_ptr<JsonValue>& styleJson);
165 const std::unique_ptr<JsonValue>& styleJson, const std::unique_ptr<JsonValue>& propsJson);
H A Djs_card_parser.cpp888 …::vector<std::pair<std::string, std::string>>& styles, const std::unique_ptr<JsonValue>& styleJson) in ParseStyles() argument
900 SelectStyle(styleClass, styleJson, styles); in ParseStyles()
913 SelectStyle(idStyle, styleJson, styles); in ParseStyles()
1263 const std::unique_ptr<JsonValue>& styleJson, const std::unique_ptr<JsonValue>& propsJson) in UpdateDomNode() argument
1312 ParseStyles(rootJson, selfId, customStyles_, styleJson); in UpdateDomNode()
1330 ParseStyles(rootJson, selfId, styles, styleJson); in UpdateDomNode()
1341 UpdateDomNode(page, child, selfId, idArray, dataJson, styleJson, propsJson); in UpdateDomNode()
1634 …const std::unique_ptr<JsonValue>& styleJson, const std::unique_ptr<JsonValue>& propsJson, bool isN… in CreateDomNode() argument
1684 ParseStyles(rootJson, nodeId, customStyles_, styleJson); in CreateDomNode()
1709 ParseStyles(rootJson, nodeId, styles, styleJson); in CreateDomNode()
[all …]