Searched refs:CJGestureEvent (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | gesture.cpp | 82 Gesture::HandlerOnGestureEvent(CJGestureEvent::ACTION, callback); in HandlerOnAction() 86 Gesture::HandlerOnGestureEvent(CJGestureEvent::START, callback); in HandlerOnActionStart() 90 Gesture::HandlerOnGestureEvent(CJGestureEvent::UPDATE, callback); in HandlerOnActionUpdate() 95 Gesture::HandlerOnGestureEvent(CJGestureEvent::END, callback); in HandlerOnActionEnd() 99 Gesture::HandlerOnGestureEvent(CJGestureEvent::CANCEL, callback); in HandlerOnActionCancel() 103 const CJGestureEvent& action, const std::function<void(const GestureEvent& event)>& callback) in HandlerOnGestureEvent() 118 if (action == CJGestureEvent::CANCEL) { in HandlerOnGestureEvent() 139 case CJGestureEvent::ACTION: in HandlerOnGestureEvent() 142 case CJGestureEvent::START: in HandlerOnGestureEvent() 145 case CJGestureEvent::UPDATE: in HandlerOnGestureEvent() [all …]
|
H A D | gesture.h | 28 enum class CJGestureEvent { ACTION, START, UPDATE, END, CANCEL }; enum 40 … const CJGestureEvent& action, const std::function<void(const GestureEvent& event)>& callback);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_gesture_ffi.h | 26 CJ_EXPORT void FfiOHOSAceFrameworkGestureOnAction(void (*callback)(CJGestureEvent info)); 27 CJ_EXPORT void FfiOHOSAceFrameworkGestureOnActionStart(void (*callback)(CJGestureEvent info)); 28 CJ_EXPORT void FfiOHOSAceFrameworkGestureOnActionUpdate(void (*callback)(CJGestureEvent info)); 29 CJ_EXPORT void FfiOHOSAceFrameworkGestureOnActionEnd(void (*callback)(CJGestureEvent info));
|
H A D | cj_gesture_ffi.cpp | 61 …n<void(const GestureEvent& event)> FormatGestureEvenFunction(void (*callback)(CJGestureEvent info)) in FormatGestureEvenFunction() 65 CJGestureEvent ffiGestureEvent {}; in FormatGestureEvenFunction() 177 void FfiOHOSAceFrameworkGestureOnAction(void (*callback)(CJGestureEvent info)) in FfiOHOSAceFrameworkGestureOnAction() 182 void FfiOHOSAceFrameworkGestureOnActionStart(void (*callback)(CJGestureEvent info)) in FfiOHOSAceFrameworkGestureOnActionStart() 187 void FfiOHOSAceFrameworkGestureOnActionUpdate(void (*callback)(CJGestureEvent info)) in FfiOHOSAceFrameworkGestureOnActionUpdate() 192 void FfiOHOSAceFrameworkGestureOnActionEnd(void (*callback)(CJGestureEvent info)) in FfiOHOSAceFrameworkGestureOnActionEnd()
|
H A D | cj_common_ffi.h | 212 struct CJGestureEvent { struct
|