Searched refs:NodeObject (Results 1 - 6 of 6) sorted by relevance
/foundation/arkui/ace_engine/frameworks/base/json/ |
H A D | node_object.cpp | 50 NodeObject::NodeObject() : uobject_(std::make_shared<UObject>()) {} in NodeObject() function in OHOS::Ace::NodeObject 52 bool NodeObject::Contains(const std::string& key) const in Contains() 58 bool NodeObject::GetBool(const std::string& key, bool defaultValue) const in GetBool() 67 int32_t NodeObject::GetInt(const std::string& key, int32_t defaultVal) const in GetInt() 76 uint32_t NodeObject::GetUInt(const std::string& key, uint32_t defaultVal) const in GetUInt() 85 int64_t NodeObject::GetInt64(const std::string& key, int64_t defaultVal) const in GetInt64() 94 double NodeObject::GetDouble(const std::string& key, double defaultVal) const in GetDouble() 103 std::string NodeObject::GetString(const std::string& key, const std::string& defaultVal) const in GetString() 112 std::unique_ptr<JsonValue> NodeObject [all...] |
H A D | node_object.h | 23 class ACE_FORCE_EXPORT NodeObject : public JsonValue { class 25 NodeObject(); 26 ~NodeObject() override = default; 46 bool Put(const char* key, const std::unique_ptr<NodeObject>& value); 54 static std::unique_ptr<NodeObject> Create();
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | distributed_ui.cpp | 236 std::unique_ptr<JsonValue> json = NodeObject::Create(); in BypassEvent() 240 eventArray.push_back(std::move((std::unique_ptr<NodeObject>&)json)); in BypassEvent() 287 auto nodeObject = NodeObject::Create(); in DumpDirtyRenderNodes() 305 auto nodeObject = NodeObject::Create(); in DumpDirtyLayoutNodes() 320 auto nodeObject = NodeObject::Create(); in DumpNewNodes() 330 auto nodeObject = NodeObject::Create(); in DumpDelNodes() 416 const RefPtr<NG::UINode>& node, int depth, OperationType op, std::unique_ptr<NodeObject>& nodeObject) in DumpNode() 429 std::unique_ptr<JsonValue> childObject = NodeObject::Create(); in DumpNode() 432 nodeObject->Put(DISTRIBUTE_UI_ATTRS, (std::unique_ptr<NodeObject>&)childObject); in DumpNode() 437 auto nodeObject = NodeObject in DumpTreeInner() [all...] |
H A D | distributed_ui.h | 105 void DumpNode(const RefPtr<NG::UINode>& node, int depth, OperationType op, std::unique_ptr<NodeObject>& nodeObject); 107 RefPtr<UINode> RestoreNode(const std::unique_ptr<NodeObject>& nodeObject); 108 void AttachToTree(RefPtr<UINode> root, RefPtr<UINode> uiNode, const std::unique_ptr<NodeObject>& nodeObject); 109 void AddNode(const std::unique_ptr<NodeObject>& nodeObject, RefPtr<FrameNode> pageRootNode); 110 void ModNode(const std::unique_ptr<NodeObject>& nodeObject); 111 void DelNode(const std::unique_ptr<NodeObject>& nodeObject);
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | node_object_test.cpp | 38 * @tc.steps: step1. Create a NodeObject. in HWTEST_F() 40 auto nodeObject = NodeObject::Create(); in HWTEST_F() 91 * @tc.steps: step1. Create a NodeObject. in HWTEST_F() 93 auto nodeObject = NodeObject::Create(); in HWTEST_F() 122 * @tc.desc: Put(const char* key, const std::unique_ptr<NodeObject>& value) 128 * @tc.steps: step1. Create a NodeObject. in HWTEST_F() 130 auto nodeObject = NodeObject::Create(); in HWTEST_F() 133 const std::unique_ptr<NodeObject> value = nullptr; in HWTEST_F() 138 auto value2 = NodeObject::Create(); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | distributed_ui_test_ng.cpp | 348 auto nodeObject = std::make_unique<OHOS::Ace::NodeObject>(); in HWTEST_F() 378 auto nodeObject = std::make_unique<OHOS::Ace::NodeObject>(); in HWTEST_F() 412 auto nodeObject = std::make_unique<OHOS::Ace::NodeObject>(); in HWTEST_F()
|
Completed in 4 milliseconds