Home
last modified time | relevance | path

Searched refs:dragPreview (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/
H A Ddrag_preview.h68 DragPreview* dragPreview = nullptr; in SetForegroundColor() local
70 if (dragPreview == nullptr) { in SetForegroundColor()
75 dragPreview->SetColor(foregroundColor); in SetForegroundColor()
77 if (!dragPreview->hasAnimation_) { in SetForegroundColor()
109 DragPreview* dragPreview = nullptr; in Animate() local
111 if (dragPreview == nullptr) { in Animate()
116 dragPreview->hasAnimation_ = true; in Animate()
134 dragPreview->hasAnimation_ = false; in Animate()
135 dragPreview->previewStyle_.types.clear(); in Animate()
146 if (dragPreview != nullptr) { in NapiSerializer()
[all …]
H A Djs_drag_controller.cpp1683 DragPreview* dragPreview = new DragPreview(); in JSGetDragPreview() local
1686 dragPreview->NapiSerializer(env, result); in JSGetDragPreview()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-drag-drop.md53 ## dragPreview<sup>11+</sup>
55 dragPreview(value: CustomBuilder | DragItemInfo | string)
67dragPreview](ts-universal-attributes-drag-drop.md#dragPreview11)设置的预览图,当设置了[dragPreview](ts-univer…
113 …件设置为多选拖拽时,该组件的子组件不可拖拽。聚拢组件预览图设置的优先级为[dragPreview](#dragpreview11)中的string,dragPreview中的PixelMap,组件…
239 该示例通过配置dragPreview设置拖拽过程的预览图。
248 Text("dragPreview")
291 .dragPreview(this.dragPreviewBuilder)
300 ![dragPreview.gif](figures/dragPreview.gif)
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-drag-drop.md53 ## dragPreview<sup>11+</sup>
55 dragPreview(value: CustomBuilder | DragItemInfo | string)
67 …ts-drag-drop.md#onDragStart) is lower than that of the preview set in [dragPreview](ts-universal-a…
113 … [dragPreview](#dragpreview11), preview specified through **PixelMap** in **dragPreview**, and com…
239 … demonstrates how to configure the preview displayed during the drag process using **dragPreview**.
248 Text("dragPreview")
291 .dragPreview(this.dragPreviewBuilder)
300 ![dragPreview.gif](figures/dragPreview.gif)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Ddrag_adapter_impl.cpp135 void SetDragPreview(ArkUINodeHandle node, void* dragPreview) in SetDragPreview() argument
140 dragPreviewInfo.pixelMap = PixelMap::CreatePixelMap(dragPreview); in SetDragPreview()
H A Dnode_common_modifier.cpp6099 void SetDragPreview(ArkUINodeHandle node, ArkUIDragPreview dragPreview) in SetDragPreview() argument
6104 dragPreviewInfo.inspectorId = dragPreview.inspectorId; in SetDragPreview()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-common-events-drag-event.md8 …ui/arkui-ts/ts-universal-events-drag-drop.md#dragiteminfo说明)进行设置,也可以通过[dragPreview](../reference/a…
461 …在多选拖拽操作中,当多选触发聚拢动画效果时,系统会截取当前屏幕内显示的选中组件图像。如果选中组件数量过多,可能会造成较高的性能消耗。为了优化性能,多选拖拽功能支持从dragPreview中获取截图…
464 .dragPreview({
583 .dragPreview(this.previewData[idx])
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-common-events-drag-event.md8 …events-drag-drop.md#ondragstart), or by using the universal attribute [dragPreview](../reference/a…
65 …t animation. The **customBuilder** or **pixelMap** object set by the **dragPreview** attribute can…
461 …ce, multi-select drag and drop allows for the use of a snapshot from **dragPreview** as the basis …
464 .dragPreview({
583 .dragPreview(this.previewData[idx])
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsUIContext.js154 let dragPreview = this.ohos_dragController.getDragPreview();
156 return dragPreview;
H A DarkComponent.js4184 dragPreview(value) { method in ArkComponent
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Ddrag_event.cpp2161 auto dragPreview = frameNode->GetDragPreviewOption(); in IsSelectedItemNode() local
2162 if (!dragPreview.isMultiSelectionEnabled) { in IsSelectedItemNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/export/
H A DarkComponent.d.ts182 dragPreview(value: CustomBuilder | DragItemInfo | string): this;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h1960 void (*setDragPreview)(ArkUINodeHandle node, ArkUIDragPreview dragPreview);
5304 void (*setDragPreview)(ArkUINodeHandle node, void* dragPreview);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_bridge.cpp5238 struct ArkUIDragPreview dragPreview = { "" }; in SetDragPreview() local
5242 dragPreview.inspectorId = stringValue.c_str(); in SetDragPreview()
5246 nativeNode, dragPreview); in SetDragPreview()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_abstract.cpp6387 auto dragPreview = interObj->GetProperty("isDragPreviewEnabled"); in ParseDragPreviewOptions() local
6388 if (dragPreview->IsBoolean()) { in ParseDragPreviewOptions()
6389 previewOption.isDragPreviewEnabled = dragPreview->ToBoolean(); in ParseDragPreviewOptions()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkComponent.ts4374 dragPreview(value: CustomBuilder | DragItemInfo | string): this {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/
H A Dcjui_api.h464 void (*setDragPreview)(ArkUINodeHandle node, ArkUIDragPreview dragPreview);