mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-23 23:00:30 +00:00
!1111 修改CAPI拖拽发起前的长按交互阶段的变化状态名称
Merge pull request !1111 from Zhang Jinyu/0802
This commit is contained in:
commit
aabbf6ad84
@ -80,22 +80,22 @@ typedef enum {
|
||||
*/
|
||||
typedef enum {
|
||||
/** Unknown. */
|
||||
ARKUI_PREVIEW_DRAG_STATUS_UNKNOWN = -1,
|
||||
ARKUI_PRE_DRAG_STATUS_UNKNOWN = -1,
|
||||
/** A drag gesture is being detected. */
|
||||
ARKUI_PREVIEW_DRAG_STATUS_ACTION_DETECTING,
|
||||
ARKUI_PRE_DRAG_STATUS_ACTION_DETECTING,
|
||||
/** The component is ready to be dragged. */
|
||||
ARKUI_PREVIEW_DRAG_STATUS_READY_TO_TRIGGER_DRAG,
|
||||
ARKUI_PRE_DRAG_STATUS_READY_TO_TRIGGER_DRAG,
|
||||
/** A lift animation is started. */
|
||||
ARKUI_PREVIEW_DRAG_STATUS_PREVIEW_LIFT_STARTED,
|
||||
ARKUI_PRE_DRAG_STATUS_PREVIEW_LIFT_STARTED,
|
||||
/** A lift animation is finished. */
|
||||
ARKUI_PREVIEW_DRAG_STATUS_PREVIEW_LIFT_FINISHED,
|
||||
ARKUI_PRE_DRAG_STATUS_PREVIEW_LIFT_FINISHED,
|
||||
/** A drop animation is started. */
|
||||
ARKUI_PREVIEW_DRAG_STATUS_PREVIEW_LANDING_STARTED,
|
||||
ARKUI_PRE_DRAG_STATUS_PREVIEW_LANDING_STARTED,
|
||||
/** A drop animation is finished. */
|
||||
ARKUI_PREVIEW_DRAG_STATUS_PREVIEW_LANDING_FINISHED,
|
||||
ARKUI_PRE_DRAG_STATUS_PREVIEW_LANDING_FINISHED,
|
||||
/** A drop animation is terminated. */
|
||||
ARKUI_PREVIEW_DRAG_STATUS_CANCELED_BEFORE_DRAG,
|
||||
} ArkUI_PreviewDragStatus;
|
||||
ARKUI_PRE_DRAG_STATUS_CANCELED_BEFORE_DRAG,
|
||||
} ArkUI_PreDragStatus;
|
||||
|
||||
/**
|
||||
* @brief Defines an enum for drag preview scale modes.
|
||||
@ -192,7 +192,7 @@ ArkUI_DragEvent* OH_ArkUI_NodeEvent_GetDragEvent(ArkUI_NodeEvent* nodeEvent);
|
||||
* @return Returns the interaction state prior to the drop and drop operation.
|
||||
* @since 12
|
||||
*/
|
||||
ArkUI_PreviewDragStatus OH_ArkUI_NodeEvent_GetPreviewDragStatus(ArkUI_NodeEvent* nodeEvent);
|
||||
ArkUI_PreDragStatus OH_ArkUI_NodeEvent_GetPreDragStatus(ArkUI_NodeEvent* nodeEvent);
|
||||
|
||||
/**
|
||||
* @brief Sets whether to disable the default drop animation.
|
||||
|
@ -1765,7 +1765,7 @@
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_ArkUI_NodeEvent_GetPreviewDragStatus"
|
||||
"name": "OH_ArkUI_NodeEvent_GetPreDragStatus"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
|
@ -5551,7 +5551,7 @@ typedef enum {
|
||||
* When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
|
||||
* {@link ArkUI_NodeComponentEvent}. \n
|
||||
* {@link ArkUI_NodeComponentEvent} contains one parameter:\n
|
||||
* <b>ArkUI_NodeComponentEvent.data[0].i32</b>: corresponds to {@link ArkUI_PreViewDragStatus}. \n
|
||||
* <b>ArkUI_NodeComponentEvent.data[0].i32</b>: corresponds to {@link ArkUI_PreDragStatus}. \n
|
||||
*/
|
||||
NODE_ON_PRE_DRAG = 14,
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user