Home
last modified time | relevance | path

Searched refs:nodeContent (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/syntax/
H A Dcontent_slot_syntax_test_ng.cpp84 NodeContent* nodeContent = AceType::RawPtr(nodeContentPtr); variable
85 ContentSlotModel::Create(nodeContent);
95 contentModifier->addChild(reinterpret_cast<ArkUINodeContentHandle>(nodeContent),
101 contentModifier->insertChild(reinterpret_cast<ArkUINodeContentHandle>(nodeContent),
126 NodeContent* nodeContent = AceType::RawPtr(nodeContentPtr); variable
127 ContentSlotModel::Create(nodeContent);
139 auto* nodeContent = event->nodeContent; in __anon694de3710202() local
158 nodeContent->OnAttachToMainTree();
159 EXPECT_TRUE(nodeContent->onMainTree_);
160 nodeContent->OnDetachFromMainTree();
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_content_modifier.cpp30 auto* nodeContent = reinterpret_cast<NodeContent*>(content); in AddChild() local
32 nodeContent->AddNode(uiNode); in AddChild()
40 auto* nodeContent = reinterpret_cast<NodeContent*>(content); in InsertChild() local
42 nodeContent->AddNode(uiNode, position); in InsertChild()
50 auto* nodeContent = reinterpret_cast<NodeContent*>(content); in RemoveChild() local
52 nodeContent->RemoveNode(uiNode); in RemoveChild()
69 auto* nodeContent = reinterpret_cast<NodeContent*>(content); in RegisterEvent() local
78 auto* nodeContent = reinterpret_cast<NodeContent*>(content); in SetUserData() local
79 nodeContent->SetUserData(userData); in SetUserData()
86 auto* nodeContent = reinterpret_cast<NodeContent*>(content); in GetUserData() local
[all …]
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-rendering-control-contentslot.md70 private nodeContent: Content = new NodeContent();
73 // 通过C-API创建节点,并添加到管理器nodeContent
74 nativeNode.createNativeNode(this.nodeContent);
79 // 显示nodeContent管理器里存放的Native侧的组件
80 ContentSlot(this.nodeContent)
123 // 将nodeContentHandle_指向ArkTS侧传入的nodeContent
131 // 将组件添加到nodeContent管理器中
150 // 将该事件注册到nodeContent
159 // 将组件添加到nodeContent管理器中
168 // 将组件插入nodeContent管理器对应位置
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_content_slot.cpp40 auto nodeContent = JSRef<JSObject>::Cast(info[0])->GetProperty("nativePtr_"); in Create() local
41 auto contentHandle = nodeContent.Get().GetLocalHandle(); in Create()
57 void JSNodeContent::Destructor(NG::NodeContent* nodeContent) in Destructor() argument
59 if (nodeContent != nullptr) { in Destructor()
60 nodeContent->DecRefCount(); in Destructor()
69 auto* nodeContent = JSRef<JSObject>::Cast(info[0])->Unwrap<NG::NodeContent>(); in GetNativeContent() local
71 info.SetReturnValue(JSRef<JSVal>::Make(panda::NativePointerRef::New(vm, nodeContent))); in GetNativeContent()
H A Djs_content_slot.h42 static void Destructor(NG::NodeContent* nodeContent);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-components-contentSlot.md38 private nodeContent: Content = new NodeContent();
41 // 通过C-API创建节点,并添加到管理器nodeContent
42 nativeNode.createNativeNode(this.nodeContent);
47 // 显示nodeContent管理器里存放的Native侧的组件
48 ContentSlot(this.nodeContent)
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-rendering-control-contentslot.md69 private nodeContent: Content = new NodeContent();
72 // Create a node through the C API and add it to the nodeContent manager.
73 nativeNode.createNativeNode(this.nodeContent);
78 // Display the native components stored in the nodeContent manager.
79 ContentSlot(this.nodeContent)
122 // Point nodeContentHandle_ to a nodeContent object passed in from ArkTS.
130 // Add the component to the nodeContent manager.
149 // Register an event with nodeContent.
158 // Add the component to the nodeContent manager.
167 // Insert a component into the specified position of the nodeContent manager.
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-components-contentSlot.md36 private nodeContent: Content = new NodeContent();
39 // Create a node through the C API and add it to the nodeContent manager.
40 nativeNode.createNativeNode(this.nodeContent);
45 // Display the native components stored in the nodeContent manager.
46 ContentSlot(this.nodeContent)
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-NodeContent.md37 private nodeContent: Content = new NodeContent();
40 // 通过C-API创建节点,并添加到管理器nodeContent
41 nativeNode.createNativeNode(this.nodeContent);
46 // 显示nodeContent管理器里存放的Native侧的组件
47 ContentSlot(this.nodeContent)
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/
H A Dxml_parse.cpp160 xmlChar *nodeContent = xmlNodeGetContent(node->children); in GetValue() local
161 if (nodeContent == NULL) { in GetValue()
164 std::string nodeContentStr = (char *)nodeContent; in GetValue()
168 xmlFree(nodeContent); in GetValue()
177 xmlChar *nodeContent = xmlNodeGetContent(node->children); in GetValue() local
178 if (nodeContent == NULL) { in GetValue()
181 value = (char *)nodeContent; in GetValue()
182 xmlFree(nodeContent); in GetValue()
192 if (nodeContent == NULL) { in GetValue()
196 std::string sValue = (char *)nodeContent; in GetValue()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-NodeContent.md37 private nodeContent: Content = new NodeContent();
40 // Create a node through the C API and add it to the nodeContent manager.
41 nativeNode.createNativeNode(this.nodeContent);
46 // Display the native components stored in the nodeContent manager.
47 ContentSlot(this.nodeContent)
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dndk-embed-arkts-components.md385 napi_ref componentContent, napi_ref nodeContent)
386 …xedNode(handle, env, componentContent), contentHandle_(contentHandle), nodeContent_(nodeContent) {}
566 napi_value nodeContent = nullptr;
567 napi_get_named_property(g_env, result, "childSlot", &nodeContent);
569 OH_ArkUI_GetNodeContentFromNapiValue(g_env, nodeContent, &contentHandle);
576 napi_create_reference(g_env, nodeContent, 1, &nodeContentRef);
599 napi_value nodeContent = nullptr;
600 napi_get_reference_value(g_env, nodeContent_, &nodeContent);
602 napi_value argv[3] = {componentContent, nodeContent, refreshAttribute};
/ohos5.0/docs/en/application-dev/ui/
H A Dndk-embed-arkts-components.md385 napi_ref componentContent, napi_ref nodeContent)
386 …xedNode(handle, env, componentContent), contentHandle_(contentHandle), nodeContent_(nodeContent) {}
566 napi_value nodeContent = nullptr;
567 napi_get_named_property(g_env, result, "childSlot", &nodeContent);
569 OH_ArkUI_GetNodeContentFromNapiValue(g_env, nodeContent, &contentHandle);
576 napi_create_reference(g_env, nodeContent, 1, &nodeContentRef);
599 napi_value nodeContent = nullptr;
600 napi_get_reference_value(g_env, nodeContent_, &nodeContent);
602 napi_value argv[3] = {componentContent, nodeContent, refreshAttribute};
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnode_model.cpp791 return reinterpret_cast<ArkUI_NodeContentHandle>(innerEvent->nodeContent); in OH_ArkUI_NodeContentEvent_GetNodeContentHandle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/
H A Dcjui_api.h3012 ArkUINodeContentHandle nodeContent; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h4842 ArkUINodeContentHandle nodeContent; member