/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/interaction/ |
H A D | interaction_impl.cpp | 29 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 D | interaction_data.h | 66 DragRet result { DragRet::DRAG_FAIL }; 71 DragRet result { DragRet::DRAG_FAIL };
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | drag_event.h | 51 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 D | node_drag_modifier.cpp | 147 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 D | drag_drop_manager.cpp | 989 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 D | drag_drop_manager.h | 516 …const Point& point, const DragEventType& dragEventType, const DragRet& dragRet = DragRet::DRAG_DEF…
|
H A D | drag_drop_func_wrapper.cpp | 97 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 D | event_hub.cpp | 275 || 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 D | gesture_event_hub.cpp | 917 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 D | js-apidiff-arkui.md | 159 |新增|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 D | js_drag_function.cpp | 251 dragEvent_->SetResult((DragRet)dragRet); in SetResult()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/ |
H A D | js_drag_controller.cpp | 71 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 D | text_field_pattern_testtwo.cpp | 159 event->SetResult(DragRet::DRAG_SUCCESS); 162 event->SetResult(DragRet::DRAG_DEFAULT);
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/ |
H A D | js-apidiff-arkui.md | 159 |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 D | gesture_event_hub_test_ng.cpp | 1860 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 D | web_pattern.h | 585 DragRet GetDragAcceptableStatus();
|
H A D | web_pattern.cpp | 1571 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 D | rich_editor_pattern_test_ng.cpp | 167 event->SetResult(DragRet::DRAG_SUCCESS);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_pattern.cpp | 1873 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 D | text_field_pattern.cpp | 2215 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 D | rich_editor_pattern.cpp | 3946 … if (event && focusHub && event->GetResult() != DragRet::DRAG_SUCCESS && focusHub->IsFocusable()) { in OnDragEnd()
|