Home
last modified time | relevance | path

Searched refs:eventTypeId (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/interfaces/native/event/
H A Dui_input_event.cpp69 switch (event->eventTypeId) { in OH_ArkUI_UIInputEvent_GetAction()
95 switch (event->eventTypeId) { in OH_ArkUI_UIInputEvent_GetSourceType()
128 switch (event->eventTypeId) { in OH_ArkUI_UIInputEvent_GetToolType()
272 switch (event->eventTypeId) { in OH_ArkUI_PointerEvent_GetPointerCount()
305 switch (event->eventTypeId) { in OH_ArkUI_PointerEvent_GetPointerId()
338 switch (event->eventTypeId) { in OH_ArkUI_PointerEvent_GetX()
385 switch (event->eventTypeId) { in OH_ArkUI_PointerEvent_GetXByIndex()
418 switch (event->eventTypeId) { in OH_ArkUI_PointerEvent_GetY()
466 switch (event->eventTypeId) { in OH_ArkUI_PointerEvent_GetYByIndex()
499 switch (event->eventTypeId) { in OH_ArkUI_PointerEvent_GetWindowX()
[all …]
H A Dui_input_event_impl.h36 ArkUIEventTypeId eventTypeId; member
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dinput_checkbox_component.cpp59 bool InputCheckboxComponent::RegisterPrivateEventListener(uint16_t eventTypeId, in RegisterPrivateEventListener() argument
63 if (eventTypeId == K_CHANGE) { in RegisterPrivateEventListener()
71 if (eventTypeId == K_CLICK) { in RegisterPrivateEventListener()
H A Dswitch_component.cpp89 bool SwitchComponent::RegisterPrivateEventListener(uint16_t eventTypeId, in RegisterPrivateEventListener() argument
93 if (eventTypeId == K_CHANGE) { in RegisterPrivateEventListener()
101 if (eventTypeId == K_CLICK) { in RegisterPrivateEventListener()
H A Dinput_radio_component.cpp72 bool InputRadioComponent::RegisterPrivateEventListener(uint16_t eventTypeId, in RegisterPrivateEventListener() argument
76 if (eventTypeId == K_CHANGE) { in RegisterPrivateEventListener()
84 if (eventTypeId == K_CLICK) { in RegisterPrivateEventListener()
H A Dlist_component.cpp88 bool ListComponent::RegisterPrivateEventListener(uint16_t eventTypeId, JSValue funcValue, bool isSt… in RegisterPrivateEventListener() argument
92 switch (eventTypeId) { in RegisterPrivateEventListener()
H A Dinput_edittext_component.cpp105 bool InputEditTextComponent::RegisterPrivateEventListener(uint16_t eventTypeId, in RegisterPrivateEventListener() argument
109 if (eventTypeId == K_CHANGE) { in RegisterPrivateEventListener()
H A Dswiper_component.cpp129 bool SwiperComponent::RegisterPrivateEventListener(uint16_t eventTypeId, in RegisterPrivateEventListener() argument
133 if (eventTypeId == K_CHANGE) { in RegisterPrivateEventListener()
H A Dcomponent.cpp1139 …Component::SetTouchCancelEventListener(UIView &view, jerry_value_t eventFunc, uint16_t eventTypeId) in SetTouchCancelEventListener() argument
1141 onTouchCancelListener_ = new ViewOnTouchCancelListener(eventFunc, eventTypeId); in SetTouchCancelEventListener()
1152 void Component::SetKeyBoardEventListener(jerry_value_t eventFunc, uint16_t eventTypeId) in SetKeyBoardEventListener() argument
1159 keyBoardEventListener_ = new KeyBoardEventListener(eventFunc, eventTypeId); in SetKeyBoardEventListener()
1252 if (!KeyParser::IsKeyValid(eventTypeId) || IS_UNDEFINED(funcValue)) { in RegisterEventListener()
1263 bool registerResult = RegisterPrivateEventListener(eventTypeId, funcValue, isStopPropagation); in RegisterEventListener()
1268 return RegisterCommonEventListener(*uiView, eventTypeId, funcValue, isStopPropagation); in RegisterEventListener()
1272 const uint16_t eventTypeId, in RegisterCommonEventListener() argument
1276 switch (eventTypeId) { in RegisterCommonEventListener()
1304 SetKeyBoardEventListener(funcValue, eventTypeId); in RegisterCommonEventListener()
[all …]
H A Dslider_component.cpp65 bool SliderComponent::RegisterPrivateEventListener(uint16_t eventTypeId, in RegisterPrivateEventListener() argument
69 switch (eventTypeId) { in RegisterPrivateEventListener()
H A Dtabs_component.cpp145 bool TabsComponent::RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue) in RegisterPrivateEventListener() argument
147 if (!KeyParser::IsKeyValid(eventTypeId) || IS_UNDEFINED(funcValue)) { in RegisterPrivateEventListener()
150 if (eventTypeId == K_CHANGE) { in RegisterPrivateEventListener()
H A Dcomponent.h330 …virtual bool RegisterEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropa…
337 const uint16_t eventTypeId,
345 …virtual bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isSt… in RegisterPrivateEventListener() argument
H A Dswitch_component.h35 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
H A Dlist_component.h37 …bool RegisterPrivateEventListener(uint16_t eventTypeId, JSValue funcValue, bool isStopPropagation)…
H A Dinput_checkbox_component.h39 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
H A Dinput_radio_component.h40 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
H A Dslider_component.h36 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
H A Dinput_edittext_component.h45 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
H A Dswiper_component.h39 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
H A Dtabs_component.h47 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue) override;
H A Dimage_animator_component.h64 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
H A Dimage_animator_component.cpp136 bool ImageAnimatorComponent::RegisterPrivateEventListener(uint16_t eventTypeId, in RegisterPrivateEventListener() argument
140 if (eventTypeId == K_STOP) { in RegisterPrivateEventListener()
H A Dpicker_view_component.h137 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
H A Dcamera_component.cpp313 bool CameraComponent::RegisterPrivateEventListener(uint16_t eventTypeId, in RegisterPrivateEventListener() argument
318 switch (eventTypeId) { in RegisterPrivateEventListener()
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Dgesture_impl.cpp561 uiEvent.eventTypeId = C_MOUSE_EVENT_ID; in HandleGestureEvent()
564 uiEvent.eventTypeId = C_AXIS_EVENT_ID; in HandleGestureEvent()
567 uiEvent.eventTypeId = C_TOUCH_EVENT_ID; in HandleGestureEvent()

12