Home
last modified time | relevance | path

Searched refs:PutFixedAttr (Results 1 - 18 of 18) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_layout_property.cpp27 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 Dlist_item_pattern.cpp900 json->PutFixedAttr("selectable", selectable_, filter, FIXED_ATTR_SELECTABLE); in ToJsonValue()
/foundation/arkui/ace_engine/frameworks/base/json/
H A Djson_util.h82 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 Djson_util.cpp178 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 Djson_util_test.cpp953 * @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 Dgrid_item_pattern.h109 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 Dweb_paint_property.h45 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 Dhyperlink_layout_property.h55 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 Dmenu_item_layout_property.h145 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 Dimage_layout_property.h94 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 Dscroll_layout_property.h63 json->PutFixedAttr("scrollable", scrollableMap[axis].c_str(), filter, FIXED_ATTR_SCROLLABLE);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/
H A Dmarquee_layout_property.h80 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 Dslider_paint_property.h113 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 Dtext_layout_property.cpp75 json->PutFixedAttr("content", GetContent().value_or("").c_str(), filter, FIXED_ATTR_CONTENT); in ToJsonValue()
H A Dspan_node.cpp85 json->PutFixedAttr("content", content.c_str(), filter, FIXED_ATTR_CONTENT); in ToJsonValue()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtabs_node.cpp67 json->PutFixedAttr("scrollable", Scrollable(), filter, FIXED_ATTR_SCROLLABLE); in ToJsonValue()
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Daccessibility_property.h140 json->PutFixedAttr("scrollable", IsScrollable(), filter, FIXED_ATTR_SCROLLABLE); in ToJsonValue()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dframe_node.cpp1135 json->PutFixedAttr("id", propInspectorId_.value_or("").c_str(), filter, FIXED_ATTR_ID); in ToJsonValue()

Completed in 21 milliseconds