Home
last modified time | relevance | path

Searched refs:drag (Results 1 – 25 of 222) sorted by relevance

123456789

/ohos5.0/base/msdp/device_status/rust/data/binding/src/
H A Dfusion_data_binding.cpp33 CHKPR(drag, RET_ERR); in CDragDataFrom()
35 cdrag->shadowInfo.x = drag->shadowInfo.x; in CDragDataFrom()
36 cdrag->shadowInfo.y = drag->shadowInfo.y; in CDragDataFrom()
37 cdrag->buffer = drag->buffer.data(); in CDragDataFrom()
38 cdrag->bufSize = drag->buffer.size(); in CDragDataFrom()
39 cdrag->sourceType = drag->sourceType; in CDragDataFrom()
40 cdrag->dragNum = drag->dragNum; in CDragDataFrom()
41 cdrag->pointerId = drag->pointerId; in CDragDataFrom()
42 cdrag->displayX = drag->displayX; in CDragDataFrom()
43 cdrag->displayY = drag->displayY; in CDragDataFrom()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Ddrag__and__drop_8h.md30 …le.md#arkui_draganddropinfo) | Defines a struct for drag and drop information returned through a d…
39 …efines an enum for drag results, which are set by the data receiver and transferred by the system …
55 …[OH_UdmfData](_ark_u_i___native_module.md#oh_udmfdata) \*data) | Set drag data for a drag event. |
56 …k_u_i___native_module.md#oh_udmfdata) \*data) | Obtains the default drag data from a drag event. |
57 …i_dragevent) \*event, int32_t \*count) | Obtains the number of drag data types from a drag event. …
58 … char \*\*result[], int32_t length) | Obtains the type list of drag data types from a drag event. …
59 …native_module.md#arkui_dragresult) \*result) | Obtains the drag and drop result from the drag even…
60 …nt) \*event) | Obtains the X coordinate of the touch point for a drag preview from a drag event. |
62 …ive_module.md#arkui_dragevent) \*event) | Obtains the width of a drag preview from a drag event. |
63 …ve_module.md#arkui_dragevent) \*event) | Obtains the height of a drag preview from a drag event. |
[all …]
H A Djs-apis-arkui-dragController.md3 …iating drag actions. When receiving a gesture event, such as a touch or long-press event, an appli…
73 Button('touch to execute drag')
79 text.textContent = 'drag text'
203 Button('touch to execute drag')
281drag action object for initiating drag and drop operations. You need to explicitly specify one or …
410 Implements a **DragAction** object to subscribe to drag state changes and start the drag service.
447 Button('touch to execute drag')
480 Subscribes to drag state changes.
507 Button('touch to execute drag')
539 Unsubscribes from drag state changes.
[all …]
H A Djs-apis-devicestatus-draginteraction-sys.md44 ## dragInteraction.on('drag')
46 on(type: 'drag', callback: Callback\<DragState>): void
58 …ring | Yes | Event type. This field has a fixed value of **drag**. |
74 dragInteraction.on('drag', (data: dragInteraction.DragState) => {
82 ## dragInteraction.off('drag')
84 off(type: 'drag', callback?: Callback\<DragState>): void
96 … | Yes | Event type. This field has a fixed value of **drag**. …
117 dragInteraction.on('drag', single_callback);
118 dragInteraction.off("drag", single_callback);
131 dragInteraction.on('drag', all_callback);
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-common-events-drag-event.md3drag event represents a drag and drop interaction for transfer of data using a mouse device or ges…
42drag-drop.md#dragevent) provides getters to obtain information about the drag operation. The table…
114 2. Customize the drag preview.
192 5. Receive drag data.
194 Set the **onDrop** callback to handle the drag data and determine the drag result.
198 // Obtain the drag data.
242 6. The drag initiator can detect the result of the drag operation by setting the **onDragEnd** call…
360 // Prepare a custom drag preview in advance.
394 // Obtain the drag data.
423 1. Enable multi-select drag and drop.
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-devicestatus-draginteraction-sys.md44 ## dragInteraction.on('drag')
46 on(type: 'drag', callback: Callback\<DragState>): void
58 | type | string | 是 | 监听类型,固定取值为 'drag'。 |
74 dragInteraction.on('drag', (data: dragInteraction.DragState) => {
82 ## dragInteraction.off('drag')
84 off(type: 'drag', callback?: Callback\<DragState>): void
96 | type | string | 是 | 监听类型,固定取值为 'drag'。 …
117 dragInteraction.on('drag', single_callback);
118 dragInteraction.off("drag", single_callback);
131 dragInteraction.on('drag', all_callback);
[all …]
H A Djs-apis-arkui-dragController.md73 Button('touch to execute drag')
79 text.textContent = 'drag text'
203 Button('touch to execute drag')
209 text.textContent = 'drag text'
364 console.info("muti drag Down by listener");
370 text.textContent = 'drag text'
385 console.info("drag has start");
387 console.info("drag has end");
447 Button('touch to execute drag')
507 Button('touch to execute drag')
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-events-drag-drop.md3 A drag event is triggered when a component is dragged.
11drag and drop capabilities for the following components, allowing them to serve as the drag source…
30 - If a custom drag preview is returned, it is used in place of the default drag preview.
31 - If drag data is set, it is used in place of the default drag data.
197 …DragResult](#dragresult10))<sup>10+</sup> | void | Sets the drag and drop result in the drag event…
198 …<sup>10+</sup> | [DragResult](#dragresult10) | Obtains the drag and drop result from the drag even…
230 | DRAG_SUCCESSFUL | The drag and drop operation succeeded. It can be used in **onDrop**.|
231 | DRAG_FAILED | The drag and drop operation failed. It can be used in **onDrop**.|
232 | DRAG_CANCELED | The drag and drop operation was canceled. It can be used in **onDrop**.|
357 Text('test drag event')
[all …]
H A Dts-universal-attributes-drag-drop.md3 The drag and drop control attributes set whether a component can respond to drag events.
9drag and drop capabilities for the following components, allowing them to serve as the drag source…
11drag actions by default: [Search](ts-basic-components-search.md), [TextInput](ts-basic-components-…
13 …cheditor.md). You can disable the default drag behavior by setting the [allowDrop](ts-universal-at…
15 <!--RP1--><!--RP1End-->To enable drag and drop for other components, you need to set the **draggabl…
73 Sets the processing mode of the drag preview and the display of the number badge during dragging. T…
84 …](#draginteractionoptions12)<sup>12+</sup>| No | Interaction mode of the drag preview.<br>Default…
103 | DISABLE_SCALE | 2 | Disables the system's scaling behavior for the drag preview.|
136 Text('Image drag and drop')
239 This example demonstrates how to configure the preview displayed during the drag process using **dr…
[all …]
H A Dts-container-list-sys.md39drag of the list will result in reduced spacing between the list items in the drag direction and<b…
40 | STRETCH | 1 | After the list is scrolled to the edge, a continued drag of the list result in incr…
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-common-events-drag-event.md3 拖拽事件提供了一种通过鼠标或手势触屏传递数据的机制,即从一个组件位置拖出(drag)数据并将其拖入(drop)到另一个组件位置,以触发响应。在这一过程中,拖出方提供数据,而拖入方负责接收和处理数据。…
8drag-drop.md#ondragstart)的[CustomerBuilder](../reference/apis-arkui/arkui-ts/ts-types.md#custombui…
34 | [onDragStart](../reference/apis-arkui/arkui-ts/ts-universal-events-drag-drop.md#ondragstart) | 拖出…
35 …niversal-events-drag-drop.md#ondragenter) | 当拖拽操作的拖拽点进入组件的范围时,如果该组件监听了[onDrop](../reference/apis-a…
36drag-drop.md#ondragmove) | 当拖拽点在组件范围内移动时,如果该组件监听了onDrop事件,此回调将会被触发。<br>在这一过程中,可以通过调用[DragEvent](..…
39 | [onDragEnd](../reference/apis-arkui/arkui-ts/ts-universal-events-drag-drop.md#ondragend) | 当用户释放拖…
42 [DragEvent](../reference/apis-arkui/arkui-ts/ts-universal-events-drag-drop.md#dragevent)支持的get方法可用于…
55 [DragEvent](../reference/apis-arkui/arkui-ts/ts-universal-events-drag-drop.md#dragevent)支持相关set方法向系…
67 拖拽背板图当前支持设置透明度、圆角、阴影和模糊,具体用法见[拖拽控制](../reference/apis-arkui/arkui-ts/ts-universal-attributes-drag-d…
116 …可以通过在长按50ms时触发的回调中设置[onPreDrag](../reference/apis-arkui/arkui-ts/ts-universal-events-drag-drop.md#…
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Ddrag_recognizer.h179 auto drag = AceType::DynamicCast<DragRecognizer>(recognizer); in ReconcileFrom() local
181 if (!drag) { in ReconcileFrom()
185 if (axis_ != drag->axis_) { in ReconcileFrom()
189 onDragStart_ = drag->onDragStart_; in ReconcileFrom()
190 onDragUpdate_ = drag->onDragUpdate_; in ReconcileFrom()
191 onDragEnd_ = drag->onDragEnd_; in ReconcileFrom()
192 onDragCancel_ = drag->onDragCancel_; in ReconcileFrom()
/ohos5.0/base/msdp/device_status/test/unittest/intention/drag/
H A DBUILD.gn43 "${device_status_root_path}/intention/drag/client:intention_drag_client",
44 "${device_status_root_path}/intention/drag/data:intention_drag_data",
87 "${device_status_root_path}/intention/drag/client:intention_drag_client",
88 "${device_status_root_path}/intention/drag/data:intention_drag_data",
89 "${device_status_root_path}/intention/drag/server:intention_drag_server",
/ohos5.0/base/msdp/device_status/
H A Dhisyseventdrague.yaml17 __BASE: {type: BEHAVIOR, level: CRITICAL, desc: start drag, preserve: true}
26 __BASE: {type: BEHAVIOR, level: CRITICAL, desc: stop drag, preserve: true}
29 ISCROSSING: {type: INT32, desc: cross-end drag}
37 __BASE: {type: BEHAVIOR, level: CRITICAL, desc: Start crossing drag, preserve: true}
45 __BASE: {type: BEHAVIOR, level: CRITICAL, desc: Stop crossing drag, preserve: true}
/ohos5.0/base/msdp/device_status/services/
H A DBUILD.gn24 "interaction/drag/include",
32 "${device_status_root_path}/intention/drag/server/include",
44 "interaction/drag/include",
50 "${device_status_root_path}/intention/drag/server/include",
110 "interaction/drag:interaction_drag",
177 "interaction/drag:interaction_drag",
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/
H A DBUILD.gn28 "${device_status_service_path}/interaction/drag/src/include",
55 "${device_status_service_path}/interaction/drag:interaction_drag_public_config",
61 "${device_status_root_path}/intention/drag/data:intention_drag_data",
62 "${device_status_root_path}/intention/drag/server:intention_drag_server",
234 "${device_status_service_path}/interaction/drag/include",
252 "${device_status_root_path}/services/interaction/drag:interaction_drag",
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_event_hub.cpp31 …mEventHub::GetDragExtraParams(const std::string& extraInfo, const Point& point, DragEventType drag) in GetDragExtraParams() argument
34 if (drag == DragEventType::START) { in GetDragExtraParams()
H A Dlist_event_hub.h166 …g GetDragExtraParams(const std::string& extraInfo, const Point& point, DragEventType drag) override in GetDragExtraParams() argument
169 if (drag == DragEventType::DROP || drag == DragEventType::MOVE) { in GetDragExtraParams()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.35/
H A Dchangelogs-arkui.md646 拖拽的监听等接口没有权限管控,恶意三方应用可以监听用户拖拽行为进行画像,因此将dragInteraction.on('drag')和dragInteraction.off('drag')接口函数添加…
650 该变更为不兼容性变更,非系统应用不能调用dragInteraction.on('drag')和dragInteraction.off('drag')接口。
662 on(type: 'drag', callback: Callback\<DragState>): void;
663 off(type: 'drag', callback?: Callback\<DragState>): void;
/ohos5.0/base/msdp/device_status/test/unittest/intention/scheduler/
H A DBUILD.gn28 "${device_status_service_path}/interaction/drag/src/include",
50 "${device_status_service_path}/interaction/drag:interaction_drag_public_config",
64 "${device_status_service_path}/interaction/drag:interaction_drag",
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dgriditem-drag-and-drop.md11 ![listitem-slide](figures/griditem-drag.gif)
60 @State text: string = 'drag'
120 @State text: string = 'drag'
/ohos5.0/base/msdp/device_status/test/unittest/services/unittest/
H A DBUILD.gn28 "${device_status_service_path}/interaction/drag/src/include",
107 "${device_status_service_path}/interaction/drag:interaction_drag_public_config",
114 "${device_status_service_path}/interaction/drag:interaction_drag",
/ohos5.0/docs/en/design/ux-design/
H A Dmultimodal-scrollbar.md12 - Users can drag scrollbars to quickly navigate through a large amount of information.
16 - Users can drag a scrollbar up and down or left and right to quickly browse information.
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.5.2/
H A Dchangelogs-arkui.md290 c. The size of the drag bar is changed to 48 x 4 vp. The drag bar is not displayed when sheet has o…
292 Before change: The drag bar is displayed by default, with a size of 28 x 4 vp.
294 After change: The drag bar is displayed by default only for the bottom sheet that has multiple dete…
296 d. The drag bar does not move slightly in the x or y direction when dragged.
298 Before change: The drag bar moves slightly in the x and y directions when dragged.
300 After change: The drag bar does not move slightly in the x or y direction when dragged.
530 …ed drag-down action. This may result in conflicts with the multiselect action in certain scenarios…
534 …ange. After change, the **\<Refresh>** component does not support the mouse-based drag-down action.
546 In versions earlier than API version 11, the **\<Refresh>** component supports the mouse-based drag
548 …and later versions, the **\<Refresh>** component does not support the mouse-based drag-down action.
/ohos5.0/base/msdp/device_status/frameworks/js/napi/interaction/
H A DBUILD.gn22 "drag/include",
31 "${device_status_frameworks_path}/js/napi/interaction/drag:draginteraction",

123456789