/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/ |
H A D | drag_preview.h | 68 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 D | js_drag_controller.cpp | 1683 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 D | ts-universal-attributes-drag-drop.md | 53 ## dragPreview<sup>11+</sup> 55 dragPreview(value: CustomBuilder | DragItemInfo | string) 67 …dragPreview](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 
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-drag-drop.md | 53 ## 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 
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | drag_adapter_impl.cpp | 135 void SetDragPreview(ArkUINodeHandle node, void* dragPreview) in SetDragPreview() argument 140 dragPreviewInfo.pixelMap = PixelMap::CreatePixelMap(dragPreview); in SetDragPreview()
|
H A D | node_common_modifier.cpp | 6099 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 D | arkts-common-events-drag-event.md | 8 …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 D | arkts-common-events-drag-event.md | 8 …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 D | jsUIContext.js | 154 let dragPreview = this.ohos_dragController.getDragPreview(); 156 return dragPreview;
|
H A D | arkComponent.js | 4184 dragPreview(value) { method in ArkComponent
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | drag_event.cpp | 2161 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 D | arkComponent.d.ts | 182 dragPreview(value: CustomBuilder | DragItemInfo | string): this;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 1960 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 D | arkts_native_common_bridge.cpp | 5238 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 D | js_view_abstract.cpp | 6387 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 D | ArkComponent.ts | 4374 dragPreview(value: CustomBuilder | DragItemInfo | string): this {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 464 void (*setDragPreview)(ArkUINodeHandle node, ArkUIDragPreview dragPreview);
|