Home
last modified time | relevance | path

Searched refs:GestureEvent (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkGesture.ts40 onActionCallback?: Callback<GestureEvent>;
49 onAction(event: Callback<GestureEvent>) {
69 onActionCallback?: Callback<GestureEvent>;
70 onActionEndCallback?: Callback<GestureEvent>;
81 onAction(event: Callback<GestureEvent>) {
86 onActionEnd(event: Callback<GestureEvent>) {
115 onActionEndCallback?: Callback<GestureEvent>;
136 onActionEnd(event: Callback<GestureEvent>) {
163 onActionCallback?: Callback<GestureEvent>;
173 onAction(event: Callback<GestureEvent>) {
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-uigestureevent.md120 onAction(event: Callback\<GestureEvent>): TapGestureHandler
174 onAction(event: Callback\<GestureEvent>): LongPressGestureHandler
196 onActionEnd(event: Callback\<GestureEvent>): LongPressGestureHandler
273 onActionStart(event: Callback\<GestureEvent>): PanGestureHandler
295 onActionUpdate(event: Callback\<GestureEvent>): PanGestureHandler
317 onActionEnd(event: Callback\<GestureEvent>): PanGestureHandler
393 onAction(event: Callback\<GestureEvent>): SwipeGestureHandlerOptions
448 onActionStart(event: Callback\<GestureEvent>): PinchGestureHandler
470 onActionUpdate(event: Callback\<GestureEvent>): PinchGestureHandler
492 onActionEnd(event: Callback\<GestureEvent>): PinchGestureHandler
[all …]
H A Dts-basic-gestures-rotationgesture.md28 | onActionStart(event:(event:&nbsp;[GestureEvent](ts-gesture-settings.md#gestureevent对象说明))&nbsp;=&…
29 | onActionUpdate(event:(event:&nbsp;[GestureEvent](ts-gesture-settings.md#gestureevent对象说明))&nbsp;=…
30 | onActionEnd(event:(event:&nbsp;[GestureEvent](ts-gesture-settings.md#gestureevent对象说明))&nbsp;=&gt…
66 .onActionStart((event: GestureEvent) => {
69 .onActionUpdate((event: GestureEvent) => {
74 .onActionEnd((event: GestureEvent) => {
H A Dts-basic-gestures-pinchgesture.md28 | onActionStart(event:(event:&nbsp;[GestureEvent](ts-gesture-settings.md#gestureevent对象说明))&nbsp;=&…
29 | onActionUpdate(event:(event:&nbsp;[GestureEvent](ts-gesture-settings.md#gestureevent对象说明))&nbsp;=…
30 | onActionEnd(event:(event:&nbsp;[GestureEvent](ts-gesture-settings.md#gestureevent对象说明))&nbsp;=&gt…
69 .onActionStart((event: GestureEvent) => {
72 .onActionUpdate((event: GestureEvent) => {
79 .onActionEnd((event: GestureEvent) => {
H A Dts-basic-gestures-pangesture.md72 | onActionStart(event:&nbsp;(event:&nbsp;[GestureEvent](ts-gesture-settings.md#gestureevent对象说明))&n…
73 | onActionUpdate(event:&nbsp;(event:&nbsp;[GestureEvent](ts-gesture-settings.md#gestureevent对象说明))&…
74 | onActionEnd(event:&nbsp;(event:&nbsp;[GestureEvent](ts-gesture-settings.md#gestureevent对象说明))&nbs…
113 .onActionStart((event: GestureEvent) => {
116 .onActionUpdate((event: GestureEvent) => {
122 .onActionEnd((event: GestureEvent) => {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_proxy.h50 …void OnDragStart(const GestureEvent& info, const std::string& extraInfo, const RefPtr<FrameNode>& …
51 void OnDragMove(const GestureEvent& info);
52 void OnDragEnd(const GestureEvent& info, bool isTextDragEnd = false);
54 void OnItemDragStart(const GestureEvent& info, const RefPtr<FrameNode>& frameNode);
55 void OnItemDragMove(const GestureEvent& info, int32_t draggedIndex, DragType dragType);
56 void OnItemDragEnd(const GestureEvent& info, int32_t draggedIndex, DragType dragType);
H A Ddrag_drop_proxy.cpp35 const GestureEvent& info, const std::string& extraInfo, const RefPtr<FrameNode>& frameNode) in OnDragStart()
52 void DragDropProxy::OnDragMove(const GestureEvent& info) in OnDragMove()
65 void DragDropProxy::OnDragEnd(const GestureEvent& info, bool isTextDragEnd) in OnDragEnd()
92 void DragDropProxy::OnItemDragStart(const GestureEvent& info, const RefPtr<FrameNode>& frameNode) in OnItemDragStart()
104 void DragDropProxy::OnItemDragMove(const GestureEvent& info, int32_t draggedIndex, DragType dragTyp… in OnItemDragMove()
116 void DragDropProxy::OnItemDragEnd(const GestureEvent& info, int32_t draggedIndex, DragType dragType) in OnItemDragEnd()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/
H A Dclick_event_test_ng.cpp91 …GestureEventFunc callback = [&unknownPropertyValue](GestureEvent& info) { unknownPropertyValue = i… in __anon2d438b710202()
99 GestureEvent info = GestureEvent();
123 GestureEventFunc callback1 = [](GestureEvent& info) {}; in __anon2d438b710302()
126 GestureEventFunc callback2 = [](GestureEvent& info) {}; in __anon2d438b710402()
141 GestureEventFunc callback3 = [](GestureEvent& info) {}; in __anon2d438b710502()
200 GestureEventFunc callback = [](GestureEvent& info) {}; in __anon2d438b710602()
222 GestureEvent info = GestureEvent();
271 GestureEventFunc callback = [&result](GestureEvent& info) { result = RESULT_SUCCESS; }; in __anon2d438b710802()
278 GestureEvent info = GestureEvent();
314 GestureEventFunc callback = [](GestureEvent& info) {}; in __anon2d438b710902()
[all …]
H A Dgesture_event_hub_test_ng.cpp477 GestureEvent info;
1002 auto func = [](GestureEvent& info) {}; in __anon9b9e2c481b02()
1120 GestureEvent gestureEvent;
1181 GestureEvent gestureEvent;
1240 GestureEvent gestureEvent;
1296 GestureEvent gestureEvent;
1354 GestureEvent gestureEvent;
1490 GestureEvent info;
1538 GestureEvent info;
1592 GestureEvent info;
[all …]
H A Dlong_press_event_test_ng.cpp84 …GestureEventFunc callback = [&unknownPropertyValue](GestureEvent& info) { unknownPropertyValue = i… in __anon3737de070202()
92 GestureEvent info = GestureEvent();
130 GestureEvent info;
137 GestureEventFunc callback = [](GestureEvent& info) {}; in __anon3737de070302()
H A Ddrag_event_test_ng.cpp73 GestureEvent info = GestureEvent();
144 GestureEventFunc actionStart = [](GestureEvent& info) {}; in __anon74fe3dc90502()
146 GestureEventFunc actionEnd = [](GestureEvent& info) {}; in __anon74fe3dc90702()
241 GestureEvent info = GestureEvent();
283 dragEventActuator->StartDragTaskForWeb(GestureEvent());
284 auto actionStart = [](GestureEvent&) {}; in __anon74fe3dc90d02() argument
285 auto longPressUpdate = [](GestureEvent&) {}; in __anon74fe3dc90e02() argument
287 dragEventActuator->StartDragTaskForWeb(GestureEvent());
552 GestureEvent info = GestureEvent();
644 GestureEvent info = GestureEvent();
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.5.5/
H A Dchangelogs-arkui.md506 .onAction((event?: GestureEvent)=> {
512 .onActionStart((event?: GestureEvent)=>{
515 .onActionUpdate((event?: GestureEvent)=>{
518 .onActionEnd((event?: GestureEvent)=>{
527 .onActionStart((event?: GestureEvent)=>{
530 .onActionUpdate((event?: GestureEvent)=>{
533 .onActionEnd((event?: GestureEvent)=>{
539 .onAction((event?: GestureEvent)=> {
551 .onAction((event?: GestureEvent)=> {
599 .onAction((event?: GestureEvent)=> {
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/observer/
H A Dui_observer_listener.h43 void OnWillClick(const GestureEvent& gestureEventInfo, const ClickInfo& clickInfo,
45 void OnDidClick(const GestureEvent& gestureEventInfo, const ClickInfo& clickInfo,
59 … void AddGestureEventInfoOne(napi_value objValueClickEvent, const GestureEvent& gestureEventInfo);
60 … void AddGestureEventInfoTwo(napi_value objValueClickEvent, const GestureEvent& gestureEventInfo);
61 …void AddGestureEventInfoThree(napi_value objValueClickEvent, const GestureEvent& gestureEventInfo);
62 void AddFingerListInfo(napi_value objValueClickEvent, const GestureEvent& gestureEventInfo);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/
H A Dlinear_split_pattern.h72 void HandlePanStart(const GestureEvent& info);
73 void HandlePanUpdate(const GestureEvent& info);
74 void HandlePanEnd(const GestureEvent& info);
75 void HandlePanStartBeforeAPI10(const GestureEvent& info);
76 void HandlePanUpdateBeforeAPI10(const GestureEvent& info);
89 void UpdateDragFRCSceneInfo(const GestureEvent& info, SceneStatus sceneStatus);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dgesture_event.h26 class GestureEvent : public BaseEventInfo {
27 DECLARE_RELATIONSHIP_OF_CLASSES(GestureEvent, BaseEventInfo);
30 GestureEvent() : BaseEventInfo("gesture") {} in GestureEvent() function
31 ~GestureEvent() override = default;
83 GestureEvent& SetGlobalPoint(const Point& globalPoint) in SetGlobalPoint()
96 GestureEvent& SetScreenLocation(const Offset& screenLocation) in SetScreenLocation()
107 GestureEvent& SetGlobalLocation(const Offset& globalLocation) in SetGlobalLocation()
114 GestureEvent& SetLocalLocation(const Offset& localLocation) in SetLocalLocation()
134 GestureEvent& SetPinchCenter(const Offset& pinchCenter) in SetPinchCenter()
381 using GestureEventFunc = std::function<void(GestureEvent& info)>;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dgesture.h34 static void HandlerOnAction(const std::function<void(const GestureEvent& event)>& callback);
35 … static void HandlerOnActionStart(const std::function<void(const GestureEvent& event)>& callback);
36 … static void HandlerOnActionUpdate(const std::function<void(const GestureEvent& event)>& callback);
37 static void HandlerOnActionEnd(const std::function<void(const GestureEvent& event)>& callback);
38 … static void HandlerOnActionCancel(const std::function<void(const GestureEvent& event)>& callback);
40 … const CJGestureEvent& action, const std::function<void(const GestureEvent& event)>& callback);
H A Dgesture.cpp80 void Gesture::HandlerOnAction(const std::function<void(const GestureEvent& event)>& callback) in HandlerOnAction()
84 void Gesture::HandlerOnActionStart(const std::function<void(const GestureEvent& event)>& callback) in HandlerOnActionStart()
88 void Gesture::HandlerOnActionUpdate(const std::function<void(const GestureEvent& event)>& callback) in HandlerOnActionUpdate()
93 void Gesture::HandlerOnActionEnd(const std::function<void(const GestureEvent& event)>& callback) in HandlerOnActionEnd()
97 void Gesture::HandlerOnActionCancel(const std::function<void(const GestureEvent& event)>& callback) in HandlerOnActionCancel()
103 const CJGestureEvent& action, const std::function<void(const GestureEvent& event)>& callback) in HandlerOnGestureEvent()
120 auto info = GestureEvent(); in HandlerOnGestureEvent()
130 auto onActionFunc = [callback = std::move(callback), impl](GestureEvent& info) { in HandlerOnGestureEvent()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Ddrag_drop_proxy_test_ng.cpp91 GestureEvent info;
135 GestureEvent info;
175 GestureEvent info;
215 GestureEvent info;
297 GestureEvent info;
340 GestureEvent info;
378 GestureEvent info;
416 GestureEvent info;
491 GestureEvent info;
523 GestureEvent info;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Ddrag_drop_event.h108 void LongPressOnAction(const GestureEvent& info);
109 virtual void PanOnActionStart(const GestureEvent& info) = 0;
110 virtual void PanOnActionUpdate(const GestureEvent& info) = 0;
111 virtual void PanOnActionEnd(const GestureEvent& info) = 0;
113 …temInfo GenerateDragItemInfo(const RefPtr<PipelineContext>& context, const GestureEvent& info) = 0;
114 …<DragDropEvent> FindDragDropNode(const RefPtr<PipelineContext>& context, const GestureEvent& info);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_event_hub.cpp33 auto actionStartTask = [weak = WeakClaim(this)](const GestureEvent& info) { in InitItemDragEvent()
39 auto actionUpdateTask = [weak = WeakClaim(this)](const GestureEvent& info) { in InitItemDragEvent()
45 auto actionEndTask = [weak = WeakClaim(this)](const GestureEvent& info) { in InitItemDragEvent()
62 void ListEventHub::OnItemDragStart(const GestureEvent& info, const DragDropInfo& dragDropInfo) in OnItemDragStart()
80 void ListEventHub::HandleOnItemDragStart(const GestureEvent& info) in HandleOnItemDragStart()
138 void ListEventHub::HandleOnItemDragUpdate(const GestureEvent& info) in HandleOnItemDragUpdate()
144 void ListEventHub::HandleOnItemDragEnd(const GestureEvent& info) in HandleOnItemDragEnd()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/
H A Dlong_press_recognizer_test_ng.cpp481 GestureEvent info;
511 GestureEvent info;
514 auto onActionEnd = [](GestureEvent& info) { return true; }; in __anon876fb52d0502()
768 auto onActionEnd = [](GestureEvent& info) { return true; }; in __anon876fb52d0802()
946 GestureEvent info;
959 auto onActionEnd = [](GestureEvent& info) { return true; }; in __anon876fb52d0d02()
981 GestureEvent info;
994 auto onActionEnd = [](GestureEvent& info) { return true; }; in __anon876fb52d1002()
1065 GestureEvent info;
1078 auto onActionEnd = [](GestureEvent& info) { return true; }; in __anon876fb52d1502()
[all …]
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-gesture-events-single-gesture.md33 .onAction((event: GestureEvent|undefined) => {
87 .onAction((event: GestureEvent|undefined) => {
157 .onActionStart((event: GestureEvent|undefined) => {
161 .onActionUpdate((event: GestureEvent|undefined) => {
237 .onActionStart((event: GestureEvent|undefined) => {
241 .onActionUpdate((event: GestureEvent|undefined) => {
297 .onActionStart((event: GestureEvent|undefined) => {
301 .onActionUpdate((event: GestureEvent|undefined) => {
376 .onAction((event: GestureEvent|undefined) => {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Drender_web.h151 void PanOnActionStart(const GestureEvent& info) override;
152 void PanOnActionUpdate(const GestureEvent& info) override;
153 void PanOnActionEnd(const GestureEvent& info) override;
155 …DragItemInfo GenerateDragItemInfo(const RefPtr<PipelineContext>& context, const GestureEvent& info…
174 void HandleDragMove(const GestureEvent& event);
193 void OnDragWindowStartEvent(RefPtr<PipelineContext> pipelineContext, const GestureEvent& info,
195 void OnDragWindowMoveEvent(RefPtr<PipelineContext> pipelineContext, const GestureEvent& info);
196 void OnDragWindowDropEvent(RefPtr<PipelineContext> pipelineContext, const GestureEvent& info);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_event_test_ng.cpp30 void HandleDrag(GestureEvent info);
31 void HandleDragStart(GestureEvent info);
32 void HandleDragUpdate(GestureEvent info);
33 void HandleDragEnd(GestureEvent info);
75 GestureEvent info; in CreateDragInfo()
92 GestureEvent info;
138 GestureEvent info = CreateDragInfo(false);
162 GestureEvent info = CreateDragInfo(false);
204 GestureEvent info = CreateDragInfo(true);
292 GestureEvent info = CreateDragInfo(true);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_gesture_function.h32 void Execute(const GestureEvent& info);
35 JSRef<JSObject> CreateGestureEvent(const GestureEvent& info);
37 JSRef<JSArray> CreateFingerListArray(const GestureEvent& info);

12345678910>>...19