Lines Matching refs:event
20 * @brief Describes the surface and touch event held by the ArkUI XComponent, which can be used for the EGL/OpenGL ES\n
73 /** Trigger a touch event when a finger is pressed. */
75 /** Trigger a touch event when a finger is lifted. */
77 /** Trigger a touch event when a finger moves on the screen in pressed state. */
79 /** Trigger an event when a touch event is canceled. */
113 * @brief Represents the touch event source type.
121 /** Indicates that the input source generates a mouse multi-touch event. */
123 /** Indicates that the input source generates a touchscreen multi-touch event. */
125 /** Indicates that the input source generates a touchpad multi-touch event. */
127 /** Indicates that the input source generates a joystick multi-touch event. */
130 * @brief Indicates that the input source generates a keyboard event.
139 * @brief Represents the mouse event action.
152 * @brief Represents the mouse event button.
196 /** Touch type of the touch event. */
200 /** Pressure of the current touch event. */
202 /** Timestamp of the current touch event. */
204 /** The angle betweenprojection on plane-X-Y and axis-Z of the current touch event. */
206 /** The angle betweenprojection on plane-Y-Z and axis-Z of the current touch event. */
208 /** The sourceTool of the current touch event. */
223 /** Touch type of the touch event. */
227 /** Pressure of the current touch event. */
229 /** Timestamp of the current touch event. */
247 /** Touch type of the touch event. */
251 /** Pressure of the current touch event. */
253 /** ID of the device where the current touch event is generated. */
255 /** Timestamp of the current touch event. */
264 * @brief Represents the mouse event information.
278 /** Timestamp of the current mouse event. */
280 /** Mouse event action. */
282 /** Mouse event button. */
295 * @brief Registers the surface lifecycle and touch event callbacks.
307 /** Called when a touch event is triggered. */
312 * @brief Registers the mouse event callbacks.
318 /** Called when a mouse event is triggered. */
320 /** Called when a hover event is triggered. */
392 * @brief Obtains the touch event dispatched by the ArkUI XComponent.
396 * @param touchEvent Indicates the pointer to the current touch event.
510 * @brief Obtains the touch event dispatched by the ArkUI XComponent.
523 * @brief Obtains the mouse event dispatched by the ArkUI XComponent.
527 * @param mouseEvent Indicates the pointer to the current mouse event.
539 * @param callback Indicates the pointer to a surface lifecycle and touch event callback.
550 * @param callback Indicates the pointer to a mouse event callback.
562 * @param callback Indicates the pointer to a focus event callback.
574 * @param callback Indicates the pointer to a key event callback.
586 * @param callback Indicates the pointer to a blur event callback.
595 * @brief Obtains the key event dispatched by the ArkUI XComponent.
606 * @brief Obtains the action of the key event.
618 * @brief Obtains the keyCode of the key event.
629 * @brief Obtains the sourceType of the key event.
641 * @brief Obtains the deviceId of the key event.
652 * @brief Obtains the timestamp of the key event.
721 * @brief Registers a UI input event callback for this <b>OH_NativeXComponent</b> instance and enables the callback to
722 * be invoked when a UI input event is received.
725 * @param callback Indicates the pointer to the UI input event callback.
726 * @param type Indicates the type of the current UI input event.
732 void (*callback)(OH_NativeXComponent* component, ArkUI_UIInputEvent* event, ArkUI_UIInputEvent_Type type),
750 * @param callback Indicates the pointer to a surface show event callback.
762 * @param callback Indicates the pointer to a surface hide event callback.
774 * @param callback Indicates the pointer to a key event callback.
780 OH_NativeXComponent* component, HitTestMode (*callback)(OH_NativeXComponent* component, ArkUI_UIInputEvent* event));
783 * @brief Obtains the touch event's source type dispatched by the ArkUI XComponent.
786 * @param pointId Indicates the id of the touch point which triggers this touch event.
787 * @param sourceType Indicates the source type of this touch event.