/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_event_test_ng.cpp | 43 DragAction(frameNode_, startOffset, dragDelta, velocityDelta); in HWTEST_F() 66 DragAction(frameNode_, startOffset, dragDelta, velocityDelta); in HWTEST_F() 203 DragAction(frameNode_, Offset(), dragDelta, DRAG_VELOCITY); in HWTEST_F() 231 DragAction(frameNode_, Offset(), 10, DRAG_VELOCITY); in HWTEST_F() 239 DragAction(frameNode_, Offset(), -10, -DRAG_VELOCITY); in HWTEST_F() 262 DragAction(frameNode_, Offset(), 10, DRAG_VELOCITY); in HWTEST_F() 270 DragAction(frameNode_, Offset(), -10, -DRAG_VELOCITY); in HWTEST_F() 298 DragAction(frameNode_, startOffset, -49, velocity); in HWTEST_F() 307 DragAction(frameNode_, startOffset, -50, velocity); in HWTEST_F() 316 DragAction(frameNode in HWTEST_F() [all...] |
H A D | list_layout_test_ng.cpp | 497 DragAction(frameNode_, startOffset, -120, velocity); in HWTEST_F() 502 DragAction(frameNode_, startOffset, -80, velocity); in HWTEST_F()
|
H A D | list_swipe_test_ng.cpp | 1346 DragAction(frameNode_, Offset(), -10, 0); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/ |
H A D | scroll_nested_test_ng.cpp | 109 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 122 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 135 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 148 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 186 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 199 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 212 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 225 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 264 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 277 DragAction(nestNode in HWTEST_F() [all...] |
H A D | scroll_event_test_ng.cpp | 278 DragAction(frameNode_, startOffset, dragDelta, 0); in HWTEST_F() 298 DragAction(frameNode_, startOffset, dragDelta, velocityDelta); in HWTEST_F() 322 DragAction(frameNode_, startOffset, dragDelta, velocityDelta); in HWTEST_F() 522 DragAction(frameNode_, Offset(), dragDelta, DRAG_VELOCITY); in HWTEST_F() 548 DragAction(frameNode_, Offset(), 10, DRAG_VELOCITY); in HWTEST_F() 556 DragAction(frameNode_, Offset(), -10, -DRAG_VELOCITY); in HWTEST_F() 578 DragAction(frameNode_, Offset(), 10, DRAG_VELOCITY); in HWTEST_F() 586 DragAction(frameNode_, Offset(), -10, -DRAG_VELOCITY); in HWTEST_F()
|
/foundation/multimodalinput/input/intention/drag/data/include/ |
H A D | drag_params.h | 212 explicit GetDragActionReply(DragAction dragAction); 217 DragAction dragAction_ { DragAction::INVALID };
|
/foundation/multimodalinput/input/intention/drag/data/src/ |
H A D | drag_params.cpp | 331 GetDragActionReply::GetDragActionReply(DragAction dragAction) in GetDragActionReply() 344 (dragAction < static_cast<int32_t>(DragAction::INVALID)) || in Unmarshalling() 345 (dragAction > static_cast<int32_t>(DragAction::COPY))) { in Unmarshalling() 348 dragAction_ = static_cast<DragAction>(dragAction); in Unmarshalling()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/refresh/ |
H A D | refresh_nested_test_ng.cpp | 438 DragAction(scrollNode_, Offset(), TRIGGER_REFRESH_DISTANCE, 0); in HWTEST_F() 591 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 604 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 617 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 630 DragAction(nestNode_, Offset(), dragDelta, velocityDelta); in HWTEST_F() 663 DragAction(nestNode_, Offset(), TRIGGER_REFRESH_DISTANCE, 0); in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/ |
H A D | js_drag_controller.cpp | 53 class DragAction; 109 DragAction *dragAction = nullptr; 126 class DragAction { class 128 DragAction(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) : asyncCtx_(asyncCtx) {} in DragAction() function in OHOS::Ace::Napi::DragAction 129 ~DragAction() in ~DragAction() 158 DragAction* dragAction = static_cast<DragAction*>(data); in NapiSerializer() 211 DragAction* dragAction = ConvertDragAction(env, thisVar); in On() 239 DragAction* dragAction = ConvertDragAction(env, thisVar); in Off() 275 DragAction* dragActio in StartDrag() [all...] |
/foundation/multimodalinput/input/intention/drag/client/include/ |
H A D | drag_client.h | 61 int32_t GetDragAction(ITunnelClient &tunnel, DragAction &dragAction);
|
/foundation/multimodalinput/input/intention/prototype/include/ |
H A D | i_drag_manager.h | 55 virtual int32_t GetDragAction(DragAction &dragAction) const = 0;
|
/foundation/multimodalinput/input/intention/frameworks/client/include/ |
H A D | intention_manager.h | 80 int32_t GetDragAction(DragAction &dragAction);
|
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_delegate.h | 483 enum class DragAction { class 501 NWebDragEventImpl(double x, double y, NWeb::DragAction action) : x_(x), y_(y), action_(action) {} in NWebDragEventImpl() 514 NWeb::DragAction GetAction() override 522 NWeb::DragAction action_ = NWeb::DragAction::DRAG_START; 822 void HandleDragEvent(int32_t x, int32_t y, const DragAction& dragAction);
|
H A D | web_delegate.cpp | 5858 void WebDelegate::HandleDragEvent(int32_t x, int32_t y, const DragAction& dragAction) in HandleDragEvent() 5862 std::make_shared<NWebDragEventImpl>(x, y, static_cast<OHOS::NWeb::DragAction>(dragAction)); in HandleDragEvent()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/ |
H A D | test_ng.cpp | 230 void TestNG::DragAction(const RefPtr<FrameNode>& frameNode, Offset startOffset, float dragDelta, float velocityDelta) in DragAction() function in OHOS::Ace::NG::TestNG
|
H A D | test_ng.h | 59 void DragAction(const RefPtr<FrameNode>& frameNode, Offset startOffset, float dragDelta, float velocityDelta);
|
/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | render_web.cpp | 1040 delegate_->HandleDragEvent(localX * viewScale, localY * viewScale, DragAction::DRAG_ENTER); in OnDragWindowStartEvent() 1098 delegate_->HandleDragEvent(localX * viewScale, localY * viewScale, DragAction::DRAG_OVER); in OnDragWindowMoveEvent() 1161 delegate_->HandleDragEvent(localX * viewScale, localY * viewScale, DragAction::DRAG_DROP); in OnDragWindowDropEvent() 1162 delegate_->HandleDragEvent(localX * viewScale, localY * viewScale, DragAction::DRAG_END); in OnDragWindowDropEvent() 1228 delegate_->HandleDragEvent(0, 0, DragAction::DRAG_CANCEL); in PanOnActionCancel()
|
/foundation/multimodalinput/input/intention/frameworks/client/src/ |
H A D | intention_manager.cpp | 354 int32_t IntentionManager::GetDragAction(DragAction &dragAction) in GetDragAction()
|
/foundation/multimodalinput/input/intention/drag/server/src/ |
H A D | drag_server.cpp | 410 DragAction dragAction {}; in GetDragAction()
|
/foundation/multimodalinput/input/intention/drag/client/src/ |
H A D | drag_client.cpp | 372 int32_t DragClient::GetDragAction(ITunnelClient &tunnel, DragAction &dragAction) in GetDragAction()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 1322 delegate_->HandleDragEvent(0, 0, DragAction::DRAG_CANCEL); in ResetDragAction() 1532 delegate_->HandleDragEvent(globalX, globalY, DragAction::DRAG_OVER); in HandleOnDropMove() 1697 delegate_->HandleDragEvent(0, 0, DragAction::DRAG_CANCEL); in NotifyStartDragTask() 1801 delegate_->HandleDragEvent(0, 0, DragAction::DRAG_CANCEL); in HandleDragStart() 1827 delegate_->HandleDragEvent(localX, localY, DragAction::DRAG_ENTER); in HandleOnDragEnter() 1936 delegate_->HandleDragEvent(localX, localY, DragAction::DRAG_DROP); in HandleOnDragDrop() 1952 delegate_->HandleDragEvent(localX * viewScale, localY * viewScale, DragAction::DRAG_LEAVE); in HandleOnDragLeave() 1973 delegate_->HandleDragEvent(0, 0, DragAction::DRAG_END); in HandleDragEnd() 1975 delegate_->HandleDragEvent(localX, localY, DragAction::DRAG_END); in HandleDragEnd() 1990 delegate_->HandleDragEvent(0, 0, DragAction in HandleDragCancel() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/ |
H A D | mock_web_delegate.cpp | 937 void WebDelegate::HandleDragEvent(int32_t x, int32_t y, const DragAction& dragAction) in HandleDragEvent()
|