Searched refs:CJGestureEvent (Results 1 - 5 of 5) sorted by relevance
/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 | 55 std::function<void(const GestureEvent& event)> FormatGestureEvenFunction(void (*callback)(CJGestureEvent info)) in FormatGestureEvenFunction() 59 CJGestureEvent ffiGestureEvent {}; in FormatGestureEvenFunction() 171 void FfiOHOSAceFrameworkGestureOnAction(void (*callback)(CJGestureEvent info)) in FfiOHOSAceFrameworkGestureOnAction() 176 void FfiOHOSAceFrameworkGestureOnActionStart(void (*callback)(CJGestureEvent info)) in FfiOHOSAceFrameworkGestureOnActionStart() 181 void FfiOHOSAceFrameworkGestureOnActionUpdate(void (*callback)(CJGestureEvent info)) in FfiOHOSAceFrameworkGestureOnActionUpdate() 186 void FfiOHOSAceFrameworkGestureOnActionEnd(void (*callback)(CJGestureEvent info)) in FfiOHOSAceFrameworkGestureOnActionEnd()
|
H A D | cj_common_ffi.h | 212 struct CJGestureEvent { struct
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | gesture.cpp | 77 Gesture::HandlerOnGestureEvent(CJGestureEvent::ACTION, callback); in HandlerOnAction() 81 Gesture::HandlerOnGestureEvent(CJGestureEvent::START, callback); in HandlerOnActionStart() 85 Gesture::HandlerOnGestureEvent(CJGestureEvent::UPDATE, callback); in HandlerOnActionUpdate() 90 Gesture::HandlerOnGestureEvent(CJGestureEvent::END, callback); in HandlerOnActionEnd() 94 Gesture::HandlerOnGestureEvent(CJGestureEvent::CANCEL, callback); in HandlerOnActionCancel() 98 const CJGestureEvent& action, const std::function<void(const GestureEvent& event)>& callback) in HandlerOnGestureEvent() 113 if (action == CJGestureEvent::CANCEL) { in HandlerOnGestureEvent() 134 case CJGestureEvent::ACTION: in HandlerOnGestureEvent() 137 case CJGestureEvent::START: in HandlerOnGestureEvent() 140 case CJGestureEvent in HandlerOnGestureEvent() [all...] |
H A D | gesture.h | 28 enum class CJGestureEvent { ACTION, START, UPDATE, END, CANCEL }; class in OHOS::Ace::Framework::Gesture 40 const CJGestureEvent& action, const std::function<void(const GestureEvent& event)>& callback);
|
Completed in 3 milliseconds