/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_layout_property.cpp | 27 json->PutFixedAttr("editable", "EditMode.None", filter, FIXED_ATTR_EDITABLE); in ToJsonValue() 29 json->PutFixedAttr("editable", "EditMode.Movable", filter, FIXED_ATTR_EDITABLE); in ToJsonValue() 31 json->PutFixedAttr("editable", "EditMode.Deletable", filter, FIXED_ATTR_EDITABLE); in ToJsonValue() 33 json->PutFixedAttr("editable", true, filter, FIXED_ATTR_EDITABLE); in ToJsonValue() 35 json->PutFixedAttr("editable", false, filter, FIXED_ATTR_EDITABLE); in ToJsonValue() 48 json->PutFixedAttr("editable", "EditMode.None", filter, FIXED_ATTR_EDITABLE); in ToJsonValue() 50 json->PutFixedAttr("editable", "EditMode.Movable", filter, FIXED_ATTR_EDITABLE); in ToJsonValue() 52 json->PutFixedAttr("editable", "EditMode.Deletable", filter, FIXED_ATTR_EDITABLE); in ToJsonValue() 54 json->PutFixedAttr("editable", true, filter, FIXED_ATTR_EDITABLE); in ToJsonValue() 56 json->PutFixedAttr("editabl in ToJsonValue() [all...] |
H A D | list_item_pattern.cpp | 900 json->PutFixedAttr("selectable", selectable_, filter, FIXED_ATTR_SELECTABLE); in ToJsonValue()
|
/foundation/arkui/ace_engine/frameworks/base/json/ |
H A D | json_util.h | 82 bool PutFixedAttr(const char* key, const char* value, const NG::InspectorFilter& filter, NG::FixedAttrBit attr); 83 bool PutFixedAttr(const char* key, size_t value, const NG::InspectorFilter& filter, NG::FixedAttrBit attr); 84 bool PutFixedAttr(const char* key, int32_t value, const NG::InspectorFilter& filter, NG::FixedAttrBit attr); 85 bool PutFixedAttr(const char* key, int64_t value, const NG::InspectorFilter& filter, NG::FixedAttrBit attr); 86 bool PutFixedAttr(const char* key, double value, const NG::InspectorFilter& filter, NG::FixedAttrBit attr); 87 bool PutFixedAttr(const char* key, bool value, const NG::InspectorFilter& filter, NG::FixedAttrBit attr); 88 virtual bool PutFixedAttr(const char* key, const std::unique_ptr<JsonValue>& value,
|
H A D | json_util.cpp | 178 bool JsonValue::PutFixedAttr(const char* key, const char* value, in PutFixedAttr() function in OHOS::Ace::JsonValue 214 bool JsonValue::PutFixedAttr(const char* key, const std::unique_ptr<JsonValue>& value, in PutFixedAttr() function in OHOS::Ace::JsonValue 261 bool JsonValue::PutFixedAttr(const char* key, size_t value, in PutFixedAttr() function in OHOS::Ace::JsonValue 292 bool JsonValue::PutFixedAttr(const char* key, int32_t value, in PutFixedAttr() function in OHOS::Ace::JsonValue 314 bool JsonValue::PutFixedAttr(const char* key, int64_t value, in PutFixedAttr() function in OHOS::Ace::JsonValue 345 bool JsonValue::PutFixedAttr(const char* key, double value, in PutFixedAttr() function in OHOS::Ace::JsonValue 439 bool JsonValue::PutFixedAttr(const char* key, bool value, in PutFixedAttr() function in OHOS::Ace::JsonValue
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | json_util_test.cpp | 953 * @tc.desc: Check json util func bool PutFixedAttr with const char* value 969 bool ret = jsonValue.PutFixedAttr("editable", "EditMode.None", filter, NG::FIXED_ATTR_EDITABLE); in HWTEST_F() 997 * @tc.desc: Check json util func bool PutFixedAttr with const std::unique_ptr<JsonValue>& value 1013 bool ret = jsonValue.PutFixedAttr("editable", value, filter, NG::FIXED_ATTR_EDITABLE); in HWTEST_F() 1022 bool ret2 = jsonValue.PutFixedAttr("editable", boolValue, filter, NG::FIXED_ATTR_EDITABLE); in HWTEST_F() 1034 bool ret3 = jsonValue.PutFixedAttr("editable", value, filter, NG::FIXED_ATTR_EDITABLE); in HWTEST_F() 1088 * @tc.desc: Check json util func bool PutFixedAttr with size_t value/int32_t value/double value/bool value/int64_t 1108 bool ret = jsonValue.PutFixedAttr("editable", value, filter, NG::FIXED_ATTR_EDITABLE); in HWTEST_F() 1109 bool ret2 = jsonValue.PutFixedAttr("editable", value2, filter, NG::FIXED_ATTR_EDITABLE); in HWTEST_F() 1110 bool ret3 = jsonValue.PutFixedAttr("editabl in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_item_pattern.h | 109 json->PutFixedAttr("selectable", selectable_ ? "true" : "false", filter, FIXED_ATTR_SELECTABLE); 113 json->PutFixedAttr("selectable", selectable_ ? "true" : "false", filter, FIXED_ATTR_SELECTABLE);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_paint_property.h | 45 json->PutFixedAttr("content", webPaintData_.value_or("null").c_str(), filter, FIXED_ATTR_CONTENT);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/hyperlink/ |
H A D | hyperlink_layout_property.h | 55 json->PutFixedAttr("content", propContent_.value_or("").c_str(), filter, FIXED_ATTR_CONTENT);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_layout_property.h | 145 json->PutFixedAttr("content", GetContent().value_or("").c_str(), filter, FIXED_ATTR_CONTENT); 151 json->PutFixedAttr("content", GetContent().value_or("").c_str(), filter, FIXED_ATTR_CONTENT); 188 json->PutFixedAttr("label", GetContent().value_or("").c_str(), filter, FIXED_ATTR_CONTENT);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_layout_property.h | 94 json->PutFixedAttr("src", src.c_str(), filter, FIXED_ATTR_SRC); 108 json->PutFixedAttr("src", src.c_str(), filter, FIXED_ATTR_SRC);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/ |
H A D | scroll_layout_property.h | 63 json->PutFixedAttr("scrollable", scrollableMap[axis].c_str(), filter, FIXED_ATTR_SCROLLABLE);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/ |
H A D | marquee_layout_property.h | 80 json->PutFixedAttr("src", textLayoutProperty->GetContent().value_or("").c_str(), filter, FIXED_ATTR_SRC);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_paint_property.h | 113 json->PutFixedAttr("content", GetCustomContent().value().c_str(), filter, FIXED_ATTR_CONTENT); 150 json->PutFixedAttr("content", GetCustomContent().value().c_str(), filter, FIXED_ATTR_CONTENT);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_layout_property.cpp | 75 json->PutFixedAttr("content", GetContent().value_or("").c_str(), filter, FIXED_ATTR_CONTENT); in ToJsonValue()
|
H A D | span_node.cpp | 85 json->PutFixedAttr("content", content.c_str(), filter, FIXED_ATTR_CONTENT); in ToJsonValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tabs_node.cpp | 67 json->PutFixedAttr("scrollable", Scrollable(), filter, FIXED_ATTR_SCROLLABLE); in ToJsonValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | accessibility_property.h | 140 json->PutFixedAttr("scrollable", IsScrollable(), filter, FIXED_ATTR_SCROLLABLE); in ToJsonValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | frame_node.cpp | 1135 json->PutFixedAttr("id", propInspectorId_.value_or("").c_str(), filter, FIXED_ATTR_ID); in ToJsonValue()
|