Home
last modified time | relevance | path

Searched refs:xcomponent (Results 1 – 25 of 131) sorted by relevance

123456

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-basic-xcomponent.md1 # xcomponent chapter
23 | type | string | 是 | 用于指定xcomponent组件类型,可选值为:<br/>- surface:组件内容单独送显,直接合成到屏幕。<br/>- comp…
36 | onLoad(context?: object) => void | 插件加载完成时回调事件。<br/>context:开发者扩展的xcomponent方法的实例对象,context对象的接口由…
45 | getXComponentSurfaceId | - | string | 获取xcomponent对应Surf…
46 …/>surfaceWidth: number,<br/>surfaceHeight: number <br/>} | - | 设置xcomponent持有Surface的宽度和高度。 …
47 | getXComponentContext | - | object | 获取开发者扩展的xcomponent
51 提供surface类型xcomponent,支持相机预览等能力。
57 …<xcomponent id = 'xcomponent' type = 'surface' onload = 'onload' ondestroy = 'ondestroy'></xcompon…
66 var surfaceId = this.$element('xcomponent').getXComponentSurfaceId();
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-basic-xcomponent.md1 # xcomponent chapter
7 The **\<xcomponent>** displays the components to which the EGL/OpenGLES or media data is written.
37 …riggered when the plug-in is loaded.<br>**context**: context of an **\<xcomponent>** object. The A…
46 … | string | Obtains the ID of the surface held by the **\<xcomponent>**. The ID can b…
47 …r>} | - | Sets the width and height of the surface held by the **\<xcomponent>**. |
48 … | object | Obtains the instance object of the xcomponent method extended …
52 Provide a surface-type **\<xcomponent>** to support camera preview and other capabilities.
58 …<xcomponent id = 'xcomponent' type = 'surface' onload = 'onload' ondestroy = 'ondestroy'></xcompon…
67 var surfaceId = this.$element('xcomponent').getXComponentSurfaceId();
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-xcomponentNode.md3 …omponentNode,表示组件树中的[XComponent组件](arkui-ts/ts-basic-components-xcomponent.md#xcomponent),用于[EGL](…
33 …onent的唯一标识,支持最大的字符串长度128。详见[XComponent组件](arkui-ts/ts-basic-components-xcomponent.md#xcomponent)。 |
34 …是 | 用于指定XComponent组件类型。详见[XComponent组件](arkui-ts/ts-basic-components-xcomponent.md#xcomponent)。 |
35 …| 否 | Native层编译输出动态库名称。详见[XComponent组件](arkui-ts/ts-basic-components-xcomponent.md#xcomponent)。 |
H A Djs-apis-pipWindow.md191 id:'xcomponent',
225 …er](arkui-ts/ts-basic-components-xcomponent.md) | 是 | 表示原始[XComponent](arkui-ts/ts-basic…
228 …eate)创建PiPController时,不传值则默认为[XComponent](arkui-ts/ts-basic-components-xcomponent.md)组件的宽度。 …
229 …eate)创建PiPController时,不传值则默认为[XComponent](arkui-ts/ts-basic-components-xcomponent.md)组件的高度。 …
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_xcomponent_bridge.cpp67 …auto xcomponent = AceType::DynamicCast<XComponentComponent>(domXcomponent->GetSpecializedComponent… in HandleContext() local
68 if (!xcomponent) { in HandleContext()
86 nativeWindow = const_cast<void*>(xcomponent->GetNativeWindow()); in HandleContext()
88 auto textureId = static_cast<int64_t>(xcomponent->GetTextureId()); in HandleContext()
96 nativeXcomponentImpl_->SetXComponentId(xcomponent->GetId()); in HandleContext()
104 auto arkObjectRef = nativeEngine->LoadModuleByName(xcomponent->GetLibraryName(), true, in HandleContext()
124 auto task = [weak = WeakClaim(this), xcomponent]() { in HandleContext()
125 auto pool = xcomponent->GetTaskPool(); in HandleContext()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-xcomponentNode.md3 …e, which represent an [XComponent](arkui-ts/ts-basic-components-xcomponent.md#xcomponent) in the c…
7 …buildernode) with the [XComponent](arkui-ts/ts-basic-components-xcomponent.md#xcomponent) componen…
35 … characters. For details, see [XComponent](arkui-ts/ts-basic-components-xcomponent.md#xcomponent).|
36 …Component**. For details, see [XComponent](arkui-ts/ts-basic-components-xcomponent.md#xcomponent).|
37 …ative layer. For details, see [XComponent](arkui-ts/ts-basic-components-xcomponent.md#xcomponent).|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Drender_xcomponent.cpp65 auto xcomponent = wp.Upgrade(); in Initialize() local
66 if (xcomponent) { in Initialize()
71 auto xcomponent = wp.Upgrade(); in Initialize() local
72 if (xcomponent) { in Initialize()
77 auto xcomponent = wp.Upgrade(); in Initialize() local
78 if (xcomponent) { in Initialize()
83 auto xcomponent = wp.Upgrade(); in Initialize() local
84 if (xcomponent) { in Initialize()
221 if (!xcomponent) { in Update()
225 textureId_ = xcomponent->GetTextureId(); in Update()
[all …]
H A Dxcomponent_component_client.h68 auto xcomponent = it->second.Upgrade(); in DeleteFromXcomponentsMapById() local
69 if (xcomponent) { in DeleteFromXcomponentsMapById()
70 xcomponent->SetDeleteCallbackToNull(); in DeleteFromXcomponentsMapById()
H A Dxcomponent_element.cpp61 auto xcomponent = AceType::DynamicCast<XComponentComponent>(newComponent); in SetNewComponent() local
62 if (xcomponent) { in SetNewComponent()
63 idStr_ = xcomponent->GetId(); in SetNewComponent()
64 name_ = xcomponent->GetName(); in SetNewComponent()
68 xcomponent->SetTextureId(texture_->GetId()); in SetNewComponent()
69 xcomponent->SetTexture(texture_); in SetNewComponent()
72 Element::SetNewComponent(xcomponent); in SetNewComponent()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/ets/pages/
H A DIndex.ets28 @State drawingType: string = 'cpu-xcomponent';
81 { value: 'cpu-xcomponent' },
91 { value: 'cpu-xcomponent' },
92 { value: 'gpu-xcomponent' },
202 if (this.drawingType == 'cpu-xcomponent') {
204 } else if (this.drawingType == 'gpu-xcomponent'){
245 if (this.drawingType == 'cpu-xcomponent') {
247 } else if (this.drawingType == 'gpu-xcomponent') {
254 if (this.drawingType == 'cpu-xcomponent') {
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta1/
H A Dnative-apidiff-v3.2-beta.md9 | ArkUI-xcomponent | int32_t OH_NativeXComponent_GetMouseEvent(<br/> OH_NativeXComponent* compon…
10 | ArkUI-xcomponent | int32_t OH_NativeXComponent_RegisterMouseEventCallback(<br/> OH_NativeXComp…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta1/
H A Dnative-apidiff-v3.2-beta.md9 | ArkUI-xcomponent | int32_t OH_NativeXComponent_GetMouseEvent(<br> OH_NativeXComponent* compone…
10 | ArkUI-xcomponent | int32_t OH_NativeXComponent_RegisterMouseEventCallback(<br> OH_NativeXCompo…
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/
H A Dchangelogs-arkui.md3 ## cl.arkui.1 xcomponent组件接口变更
5 arkui子系统xcomponent组件接口存在变更:
/ohos5.0/docs/zh-cn/application-dev/reference/apis-user-authentication-kit/
H A Djs-apis-useriam-faceauth-sys.md49 该接口仅用于在录入人脸时,设置人脸预览界面 [XComponent](../apis-arkui/arkui-ts/ts-basic-components-xcomponent.md#getxcom…
61 …ng | 是 | [XComponent](../apis-arkui/arkui-ts/ts-basic-components-xcomponent.md#getxcomponent…
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/
H A DBUILD.gn19 dest_dir = "$ndk_headers_out_dir/ace/xcomponent/"
57 …"//foundation/arkui/ace_engine/frameworks/core/components/xcomponent/native_interface_xcomponent_i…
129 "$ace_root/frameworks/core/components/xcomponent/native_interface_xcomponent_impl.cpp",
/ohos5.0/docs/zh-cn/application-dev/graphics/
H A Dnative-window-guidelines.md38 #include <ace/xcomponent/native_interface_xcomponent.h>
44 …ativeWindow,下面提供一份代码示例。XComponent模块的具体使用方法请参考[XComponent开发指导](../ui/napi-xcomponent-guidelines.md)。
73 // 手动引用计数加1和减1,防止xcomponent析构后,并发调用window相关接口触发野指针或空指针的崩溃。
H A Ddisplaysync-overview.md18 - 通过XComponent在Native侧申请独立的绘制帧率,用于游戏等自绘制内容的绘制,具体可见[请求自绘制内容绘制帧率](displaysync-xcomponent.md)。
H A DReadme-CN.md8 - [请求自绘制内容绘制帧率](displaysync-xcomponent.md)
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-renderfit.md27 > 对于TEXTURE和SURFACE类型的[XComponent](./ts-basic-components-xcomponent.md)组件,当不设置renderFit属性时,取默认值为Re…
29 > 对于SURFACE类型的[XComponent](./ts-basic-components-xcomponent.md)组件,当组件背景色为不透明的纯黑色时,其renderFit通用属性仅支…
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dvulkan-guidelines.md44 #include <ace/xcomponent/native_interface_xcomponent.h>
77 …ativeWindow的代码示例,XComponent模块的具体使用方法请参考[XComponent模块的介绍文档](../../ui/napi-xcomponent-guidelines.md)。
/ohos5.0/docs/en/application-dev/reference/apis-user-authentication-kit/
H A Djs-apis-useriam-faceauth-sys.md49 Sets an [XComponent surface ID](../apis-arkui/arkui-ts/ts-basic-components-xcomponent.md#getxcompon…
61 …urface held by [XComponent](../apis-arkui/arkui-ts/ts-basic-components-xcomponent.md#getxcomponent…
/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A Dcamera-preview.md20xcomponent.md#getxcomponentsurfaceid9)方法),而XComponent的能力由UI提供,相关介绍可参考[XComponent组件参考](../../refere…
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/
H A DREADME_zh.md27 │ └──my_xcomponent.cpp // xcomponent测试框架cpp层代码
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-user-defined.md10 …- **自定义渲染**:通过[XComponent](napi-xcomponent-guidelines.md)的“surface”模式暴露出的NativeWindow,使用NDK接口,可以将E…
27 …|自定义渲染| 独立渲染 | [XComponent](napi-xcomponent-guidelines.md):XComponent的“surface”模式会暴露出NativeWindow,…
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dvulkan-guidelines.md40 #include <ace/xcomponent/native_interface_xcomponent.h>
73 …se the **XComponent**, see [Custom Rendering (XComponent)](../../ui/napi-xcomponent-guidelines.md).

123456