Home
last modified time | relevance | path

Searched refs:DragRet (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/interaction/
H A Dinteraction_impl.cpp29 Msdp::DeviceStatus::DragResult TranslateDragResult(DragRet dragResult);
31 DragRet TranslateDragResult(Msdp::DeviceStatus::DragResult dragResult);
190 Msdp::DeviceStatus::DragResult TranslateDragResult(DragRet dragResult) in TranslateDragResult()
193 case DragRet::DRAG_SUCCESS: in TranslateDragResult()
195 case DragRet::DRAG_FAIL: in TranslateDragResult()
197 case DragRet::DRAG_CANCEL: in TranslateDragResult()
233 DragRet TranslateDragResult(Msdp::DeviceStatus::DragResult dragResult) in TranslateDragResult()
237 return DragRet::DRAG_SUCCESS; in TranslateDragResult()
239 return DragRet::DRAG_FAIL; in TranslateDragResult()
241 return DragRet::DRAG_CANCEL; in TranslateDragResult()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/interaction/
H A Dinteraction_data.h66 DragRet result { DragRet::DRAG_FAIL };
71 DragRet result { DragRet::DRAG_FAIL };
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Ddrag_event.h51 enum class DragRet { enum
183 void SetResult(DragRet dragRet) in SetResult()
188 DragRet GetResult() in GetResult()
312 DragRet dragRet_ = DragRet::DRAG_DEFAULT;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_drag_modifier.cpp147 info->SetResult(static_cast<DragRet>(event.dragEvent.dragResult)); in SetOnDragDrop()
210 info->SetResult(static_cast<DragRet>(event.dragEvent.dragResult)); in SetOnDragEnter()
241 info->SetResult(static_cast<DragRet>(event.dragEvent.dragResult)); in SetOnDragMove()
273 info->SetResult(static_cast<DragRet>(event.dragEvent.dragResult)); in SetOnDragLeave()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_manager.cpp989 if (dragResult == DragRet::DRAG_FAIL) { in OnDragDrop()
991 } else if (dragResult == DragRet::DRAG_CANCEL) { in OnDragDrop()
1170 if (event->GetResult() == DragRet::ENABLE_DROP) { in FireOnDragEvent()
1176 } else if (event->GetResult() == DragRet::DISABLE_DROP) { in FireOnDragEvent()
1916 DragRet result = DragRet::DRAG_FAIL; in SetDragResult()
1918 case DragRet::DRAG_SUCCESS: in SetDragResult()
1919 result = DragRet::DRAG_SUCCESS; in SetDragResult()
1921 case DragRet::DRAG_FAIL: in SetDragResult()
1922 result = DragRet::DRAG_FAIL; in SetDragResult()
1924 case DragRet::DRAG_CANCEL: in SetDragResult()
[all …]
H A Ddrag_drop_manager.h516 …const Point& point, const DragEventType& dragEventType, const DragRet& dragRet = DragRet::DRAG_DEF…
H A Ddrag_drop_func_wrapper.cpp97 OHOS::Ace::DragDropRet dropResult { OHOS::Ace::DragRet::DRAG_CANCEL, false, windowId, in PostStopDrag()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Devent_hub.cpp275 || info->GetResult() == DragRet::DRAG_DEFAULT in IsFireOnDrop()
276 || info->GetResult() == DragRet::ENABLE_DROP in IsFireOnDrop()
277 || info->GetResult() == DragRet::DISABLE_DROP; in IsFireOnDrop()
H A Dgesture_event_hub.cpp917 if (eventRet == DragRet::DRAG_FAIL || eventRet == DragRet::DRAG_CANCEL) { in OnDragStart()
2027 dragEvent->SetResult(DragRet::DRAG_FAIL); in FireCustomerOnDragEnd()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-arkui.md159 |新增|NA|模块名: common<br>类名: DragRet|common.d.ts|
160 |新增|NA|模块名: common<br>类名: DragRet<br>方法 or 属性:DRAG_SUCCESS|common.d.ts|
161 |新增|NA|模块名: common<br>类名: DragRet<br>方法 or 属性:DRAG_FAILED|common.d.ts|
162 |新增|NA|模块名: common<br>类名: DragRet<br>方法 or 属性:DRAG_CANCELED|common.d.ts|
163 |新增|NA|模块名: common<br>类名: DragRet<br>方法 or 属性:DROP_ENABLED|common.d.ts|
169 |新增|NA|类名:DragEvent<br>方法or属性:setResult(dragRet: DragRet): void;|common.d.ts|
170 |新增|NA|类名:DragEvent<br>方法or属性:getResult(): DragRet;|common.d.ts|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_drag_function.cpp251 dragEvent_->SetResult((DragRet)dragRet); in SetResult()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/
H A Djs_drag_controller.cpp71 using DragRet = OHOS::Ace::DragRet; typedef
527 dragEvent->SetResult(static_cast<DragRet>(resultCode)); in GetCallBackDataForJs()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_pattern_testtwo.cpp159 event->SetResult(DragRet::DRAG_SUCCESS);
162 event->SetResult(DragRet::DRAG_DEFAULT);
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-arkui.md159 |Added|NA|Module name: common<br>Class name: DragRet|common.d.ts|
160 |Added|NA|Module name: common<br>Class name: DragRet<br>Method or attribute name: DRAG_SUCCESS|comm…
161 |Added|NA|Module name: common<br>Class name: DragRet<br>Method or attribute name: DRAG_FAILED|commo…
162 |Added|NA|Module name: common<br>Class name: DragRet<br>Method or attribute name: DRAG_CANCELED|com…
163 |Added|NA|Module name: common<br>Class name: DragRet<br>Method or attribute name: DROP_ENABLED|comm…
169 |Added|NA|Class name: DragEvent<br>Method or attribute name: setResult(dragRet: DragRet): void;|com…
170 |Added|NA|Class name: DragEvent<br>Method or attribute name: getResult(): DragRet;|common.d.ts|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/
H A Dgesture_event_hub_test_ng.cpp1860 event->SetResult(DragRet::DRAG_FAIL);
1862 event->SetResult(DragRet::DRAG_CANCEL);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.h585 DragRet GetDragAcceptableStatus();
H A Dweb_pattern.cpp1571 DragRet WebPattern::GetDragAcceptableStatus() in GetDragAcceptableStatus()
1576 return DragRet::DRAG_DEFAULT; in GetDragAcceptableStatus()
1578 return DragRet::DRAG_DEFAULT; in GetDragAcceptableStatus()
1580 return DragRet::DRAG_DEFAULT; in GetDragAcceptableStatus()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_pattern_test_ng.cpp167 event->SetResult(DragRet::DRAG_SUCCESS);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp1873 if (event && event->GetResult() != DragRet::DRAG_SUCCESS && IsSelectableAndCopy()) { in OnDragEnd()
1895 if (event && event->GetResult() != DragRet::DRAG_SUCCESS && IsSelectableAndCopy()) { in OnDragEndNoChild()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp2215 if (event != nullptr && event->GetResult() != DragRet::DRAG_SUCCESS && in InitDragDropCallBack()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp3946 … if (event && focusHub && event->GetResult() != DragRet::DRAG_SUCCESS && focusHub->IsFocusable()) { in OnDragEnd()