/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_model_ng.h | 40 const std::optional<std::string>& libraryname, 43 const std::string& id, XComponentType type, const std::string& libraryname, 65 …nodeId, const std::string& id, XComponentType type, const std::optional<std::string>& libraryname); 75 static void SetXComponentLibraryname(FrameNode* frameNode, const std::string& libraryname);
|
H A D | xcomponent_model_ng.cpp | 28 const std::optional<std::string>& libraryname, in Create() argument 35 V2::XCOMPONENT_ETS_TAG, nodeId, [id, type, libraryname, xcomponentController]() { in Create() 36 … return AceType::MakeRefPtr<XComponentPattern>(id, type, libraryname, xcomponentController); in Create() 43 XComponentType type, const std::string& libraryname, in Create() argument 50 …V2::XCOMPONENT_ETS_TAG, nodeId, [id, type, libraryname, xcomponentController, calcWidth, calcHeigh… in Create() 51 … return AceType::MakeRefPtr<XComponentPattern>(id, type, libraryname, xcomponentController, in Create() 298 const std::optional<std::string>& libraryname) in CreateFrameNode() argument 302 …PONENT_ETS_TAG, nodeId, AceType::MakeRefPtr<XComponentPattern>(id, type, libraryname, controller)); in CreateFrameNode() 420 …d XComponentModelNG::SetXComponentLibraryname(FrameNode* frameNode, const std::string& libraryname) in SetXComponentLibraryname() argument 425 xcPattern->SetLibraryName(libraryname); in SetXComponentLibraryname()
|
H A D | xcomponent_pattern.h | 59 const std::optional<std::string>& libraryname, 157 void SetLibraryName(const std::optional<std::string>& libraryname) in SetLibraryName() argument 159 libraryname_ = libraryname; in SetLibraryName()
|
H A D | xcomponent_model.h | 51 const std::optional<std::string>& libraryname,
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-xcomponent.md | 31 XComponent(value: {id: string, type: XComponentType, libraryname?: string, controller?: XComponentC… 45 | libraryname | string | 否 | 用Native层编译输出动态库名称(对应的动态库不支持跨模… 50 XComponent(value: {id: string, type: string, libraryname?: string, controller?: XComponentControlle… 64 | libraryname | string | 否 | 应用Native层编译输出动态库名称(对应的动态库不支持跨… 145 > 当配置libraryname参数时,[点击事件](ts-universal-events-click.md)、[触摸事件](ts-universal-events-touch.md)、[挂载卸载… 318 > 仅当XComponent组件未设置libraryname参数时,会进行该回调。 339 > 仅当XComponent组件未设置libraryname参数时,会进行该回调。 359 > 仅当XComponent组件未设置libraryname参数时,会进行该回调。 619 libraryname: 'nativerender',
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_node/src/ |
H A D | xcomponent_node.ts | 21 id: string, type: XComponentType, libraryname?: string, controller?: XComponentController) { 29 …, id, type, this.renderType_, surfaceId, selfIdealWidth, selfIdealHeight, libraryname, controller);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | xcomponent_model_impl.cpp | 26 const std::optional<std::string>& libraryname, in Create() argument 32 xcomponentComponent->SetLibraryName(libraryname.value_or("")); in Create()
|
H A D | xcomponent_model_impl.h | 26 const std::optional<std::string>& libraryname,
|
/ohos5.0/docs/zh-cn/application-dev/graphics/ |
H A D | displaysync-xcomponent.md | 41 XComponent({ id: 'xcomponentId_30', type: 'surface', libraryname: 'entry' }) 48 XComponent({ id: 'xcomponentId_120', type: 'surface', libraryname: 'entry' })
|
H A D | displaysoloist-native-guidelines.md | 75 XComponent({ id: 'xcomponentId30', type: 'surface', libraryname: 'entry' }) 82 XComponent({ id: 'xcomponentId120', type: 'surface', libraryname: 'entry' })
|
H A D | native-window-guidelines.md | 47 XComponent({ id: 'xcomponentId', type: 'surface', libraryname: 'entry'})
|
H A D | drawing-guidelines.md | 89 XComponent({ id: 'xcomponentId', type: 'surface', libraryname: 'entry' }) 631 XComponent({ id: 'xcomponentId', type: 'surface', libraryname: 'entry' })
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_xcomponent_modifier.cpp | 149 void SetXComponentLibraryname(ArkUINodeHandle node, const char* libraryname) in SetXComponentLibraryname() argument 153 XComponentModelNG::SetXComponentLibraryname(frameNode, libraryname); in SetXComponentLibraryname()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-xcomponent.md | 31 XComponent(value: {id: string, type: XComponentType, libraryname?: string, controller?: XComponentC… 45 | libraryname | string | No | Name of the dynamic library c… 50 XComponent(value: {id: string, type: string, libraryname?: string, controller?: XComponentControlle… 64 | libraryname | string | No | Name of the dynamic library c… 145 > When the **libraryname** parameter is set, [click events](ts-universal-events-click.md), [touch e… 318 > The callback is triggered only when the **libraryname** parameter is not set for the **XComponent… 339 > The callback is triggered only when the **libraryname** parameter is not set for the **XComponent… 359 > The callback is triggered only when the **libraryname** parameter is not set for the **XComponent… 615 libraryname: 'nativerender',
|
/ohos5.0/docs/en/application-dev/graphics/ |
H A D | displaysync-xcomponent.md | 41 XComponent({ id: 'xcomponentId_30', type: 'surface', libraryname: 'entry' }) 48 XComponent({ id: 'xcomponentId_120', type: 'surface', libraryname: 'entry' })
|
H A D | displaysoloist-native-guidelines.md | 76 XComponent({ id: 'xcomponentId30', type: 'surface', libraryname: 'entry' }) 83 XComponent({ id: 'xcomponentId120', type: 'surface', libraryname: 'entry' })
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-xcomponent.md | 24 | libraryname | string | 否 | 应用Native层编译输出动态库名称。 |
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/ets/pages/ |
H A D | Index.ets | 27 libraryname: 'nativerender',
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/ets/pages/ |
H A D | Index.ets | 28 XComponent({ id: 'xcomponentId', type: 'surface', libraryname: 'entry' })
|
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/ |
H A D | vulkan-guidelines.md | 85 libraryname: 'entry'
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-xcomponent.md | 25 | libraryname | string | No | Name of the dynamic library generated after compilation at the appl…
|
/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | vulkan-guidelines.md | 81 libraryname: 'entry'
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | napi-xcomponent-guidelines.md | 10 在XComponent组件构造函数的libraryname中定义需要加载的动态库,而后应用就可以在Native层获取Native XComponent实例,其是XComponent组件提供在Nati… 75 libraryname: 'nativerender' 99 libraryname: string; 133 … .nm_modname = "nativerender", // 指定模块名称,对于XComponent相关开发,这个名称必须和ArkTS侧XComponent中libraryname的值保持一致 1145 与Native XComponent不同,ArkTS XComponent不再需要libraryname参数。通过在ArkTS侧获取SurfaceId,布局信息、生命周期回调、触摸、鼠标、按键等事件… 1613 XComponent({ id: 'xcomponentId1', type: XComponentType.SURFACE, libraryname: 'nativerender' })
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkXComponent.ts | 21 libraryname?: string; 506 … this.value?.type, this.value?.imageAIOptions, this.value?.libraryname, this.value?.controller);
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | how-to-use-opengl-to-draw-3d-graphics.md | 701 界面实现部分代码如下(具体请参考源码),其中:libraryname参数对应先前设置的模块名:tetrahedron_napi 756 XComponent({ id: this.xcomponentId, type: 'surface', libraryname: 'tetrahedron_napi' })
|