diff --git a/arkui/ace_engine/native/native_interface_xcomponent.h b/arkui/ace_engine/native/native_interface_xcomponent.h index c15ecf20c3ca2a926b72fef7e21bc9a648be7c38..460124a7e9b37cd4d7436c57b1e7719668835746 100644 --- a/arkui/ace_engine/native/native_interface_xcomponent.h +++ b/arkui/ace_engine/native/native_interface_xcomponent.h @@ -240,9 +240,9 @@ typedef struct { typedef struct { /** Unique identifier of a finger. */ int32_t id; - /** X coordinate of the touch point relative to the left edge of the screen. */ + /** X coordinate of the touch point relative to the left edge of the window. */ float screenX; - /** Y coordinate of the touch point relative to the upper edge of the screen. */ + /** Y coordinate of the touch point relative to the upper edge of the window. */ float screenY; /** X coordinate of the touch point relative to the left edge of the element to touch. */ float x; @@ -264,9 +264,9 @@ typedef struct { typedef struct { /** Unique identifier of a finger. */ int32_t id; - /** X coordinate of the touch point relative to the left edge of the screen. */ + /** X coordinate of the touch point relative to the left edge of the window. */ float screenX; - /** Y coordinate of the touch point relative to the upper edge of the screen. */ + /** Y coordinate of the touch point relative to the upper edge of the window. */ float screenY; /** X coordinate of the touch point relative to the left edge of the element to touch. */ float x; @@ -876,7 +876,7 @@ int32_t OH_NativeXComponent_RegisterKeyEventCallbackWithResult( * @param callback Indicates the pointer to a image analyzer status callback function. * @return Returns the status code of the execution. * {@link ARKUI_ERROR_CODE_NO_ERROR} the execution is successful.\n - * {@link ARKUI_ERROR_CODE_PARAM_INVALID} component is nullptr or callback is nullptr, + * {@link ARKUI_ERROR_CODE_PARAM_INVALID} node is nullptr or callback is nullptr, * or the type of node is not XComponent.\n * @since 16 */ @@ -890,7 +890,7 @@ int32_t OH_ArkUI_XComponent_StartImageAnalyzer(ArkUI_NodeHandle node, void* user * @param node Indicates the pointer to the XComponent instance created by the native API. * @return Returns the status code of the execution. * {@link ARKUI_ERROR_CODE_NO_ERROR} the execution is successful.\n - * {@link ARKUI_ERROR_CODE_PARAM_INVALID} component is nullptr or the type of node is not XComponent.\n + * {@link ARKUI_ERROR_CODE_PARAM_INVALID} node is nullptr or the type of node is not XComponent.\n * @since 16 */ int32_t OH_ArkUI_XComponent_StopImageAnalyzer(ArkUI_NodeHandle node); diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index cda063dcb36af9f515a454cb133a98f1c5a5ad47..0120d0b8ba3b5da50dcc15fbb78f157ad5c6d53f 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -3696,7 +3696,6 @@ typedef enum { * .value[3].i32: The height of the surface created by XComponent, in pixels. \n * \n * Format of the return value {@link ArkUI_AttributeItem}:\n - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].i32: The horizontal offset of the surface relative to XComponent, in pixels. \n * .value[1].i32: The vertical offset of the surface relative to XComponent, in pixels. \n * .value[2].i32: The width of the surface created by XComponent, in pixels. \n