Lines Matching refs:component
302 void (*OnSurfaceCreated)(OH_NativeXComponent* component, void* window);
304 void (*OnSurfaceChanged)(OH_NativeXComponent* component, void* window);
306 void (*OnSurfaceDestroyed)(OH_NativeXComponent* component, void* window);
308 void (*DispatchTouchEvent)(OH_NativeXComponent* component, void* window);
319 void (*DispatchMouseEvent)(OH_NativeXComponent* component, void* window);
321 void (*DispatchHoverEvent)(OH_NativeXComponent* component, bool isHover);
351 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
361 int32_t OH_NativeXComponent_GetXComponentId(OH_NativeXComponent* component, char* id, uint64_t* size);
366 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
375 OH_NativeXComponent* component, const void* window, uint64_t* width, uint64_t* height);
380 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
389 OH_NativeXComponent* component, const void* window, double* x, double* y);
394 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
402 OH_NativeXComponent* component, const void* window, OH_NativeXComponent_TouchEvent* touchEvent);
407 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
415 OH_NativeXComponent* component, uint32_t pointIndex, OH_NativeXComponent_TouchPointToolType* toolType);
420 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
427 int32_t OH_NativeXComponent_GetTouchPointTiltX(OH_NativeXComponent* component, uint32_t pointIndex, float* tiltX);
432 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
439 int32_t OH_NativeXComponent_GetTouchPointTiltY(OH_NativeXComponent* component, uint32_t pointIndex, float* tiltY);
445 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
451 * {@link OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER} component is NULL, windowX is NULL\n
456 int32_t OH_NativeXComponent_GetTouchPointWindowX(OH_NativeXComponent* component, uint32_t pointIndex, float* windowX);
462 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
468 * {@link OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER} component is NULL, windowY is NULL\n
473 int32_t OH_NativeXComponent_GetTouchPointWindowY(OH_NativeXComponent* component, uint32_t pointIndex, float* windowY);
479 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
485 * {@link OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER} component is NULL, displayX is NULL\n
490 int32_t OH_NativeXComponent_GetTouchPointDisplayX(OH_NativeXComponent* component, uint32_t pointIndex, float* displayX);
496 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
502 * {@link OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER} component is NULL, displayY is NULL\n
507 int32_t OH_NativeXComponent_GetTouchPointDisplayY(OH_NativeXComponent* component, uint32_t pointIndex, float* displayY);
512 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
519 int32_t OH_NativeXComponent_GetHistoricalPoints(OH_NativeXComponent* component, const void* window,
525 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
533 OH_NativeXComponent* component, const void* window, OH_NativeXComponent_MouseEvent* mouseEvent);
538 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
544 int32_t OH_NativeXComponent_RegisterCallback(OH_NativeXComponent* component, OH_NativeXComponent_Callback* callback);
549 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
556 OH_NativeXComponent* component, OH_NativeXComponent_MouseEvent_Callback* callback);
561 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
568 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window));
573 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
580 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window));
585 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
592 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window));
597 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
603 int32_t OH_NativeXComponent_GetKeyEvent(OH_NativeXComponent* component, OH_NativeXComponent_KeyEvent** keyEvent);
665 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
672 OH_NativeXComponent* component, OH_NativeXComponent_ExpectedRateRange* range);
677 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
683 int32_t OH_NativeXComponent_RegisterOnFrameCallback(OH_NativeXComponent* component,
684 void (*callback)(OH_NativeXComponent* component, uint64_t timestamp, uint64_t targetTimestamp));
689 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
694 int32_t OH_NativeXComponent_UnregisterOnFrameCallback(OH_NativeXComponent* component);
697 * @brief Attaches the UI component created through the native API of ArkUI to this <b>OH_NativeXComponent</b> instance.
699 * @param component Indicates the pointer to the <b>OH_NativeXComponent</b> instance.
700 * @param root Indicates the pointer to the component instance created by the native API.
706 int32_t OH_NativeXComponent_AttachNativeRootNode(OH_NativeXComponent* component, ArkUI_NodeHandle root);
709 * @brief Detaches the native component of ArkUI from this <b>OH_NativeXComponent</b> instance.
711 * @param component Indicates the pointer to the <b>OH_NativeXComponent</b> instance.
712 * @param root Indicates the pointer to the component instance created by the native API.
718 int32_t OH_NativeXComponent_DetachNativeRootNode(OH_NativeXComponent* component, ArkUI_NodeHandle root);
724 * @param component Indicates the pointer to the <b>OH_NativeXComponent</b> instance.
731 int32_t OH_NativeXComponent_RegisterUIInputEventCallback(OH_NativeXComponent* component,
732 void (*callback)(OH_NativeXComponent* component, ArkUI_UIInputEvent* event, ArkUI_UIInputEvent_Type type),
737 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
744 int32_t OH_NativeXComponent_SetNeedSoftKeyboard(OH_NativeXComponent* component, bool needSoftKeyboard);
749 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
756 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window));
761 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
768 OH_NativeXComponent* component, void (*callback)(OH_NativeXComponent* component, void* window));
773 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
780 OH_NativeXComponent* component, HitTestMode (*callback)(OH_NativeXComponent* component, ArkUI_UIInputEvent* event));
785 * @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
795 OH_NativeXComponent* component, int32_t pointId, OH_NativeXComponent_EventSourceType* sourceType);
798 * @brief Obtains the pointer to an <b>OH_NativeXComponent</b> instance based on the specified component
801 * @param node Indicates the pointer to the component instance created by the native API.
812 * @param component Indicates the pointer to the <b>OH_NativeXComponent</b> instance.
819 OH_NativeXComponent* component, ArkUI_AccessibilityProvider** handle);