Home
last modified time | relevance | path

Searched refs:uiNodeHandle (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp795 node->uiNodeHandle, item->value[NUM_0].f32, GetDefaultUnit(node, UNIT_VP), nullptr); in SetWidth()
802 fullImpl->getNodeModifiers()->getCommonModifier()->resetWidth(node->uiNodeHandle); in ResetWidth()
808 g_numberValues[0].f32 = modifier->getWidth(node->uiNodeHandle, GetDefaultUnit(node, UNIT_VP)); in GetWidth()
825 node->uiNodeHandle, item->value[NUM_0].f32, GetDefaultUnit(node, UNIT_VP), nullptr); in SetHeight()
832 fullImpl->getNodeModifiers()->getCommonModifier()->resetHeight(node->uiNodeHandle); in ResetHeight()
838 g_numberValues[0].f32 = modifier->getHeight(node->uiNodeHandle, GetDefaultUnit(node, UNIT_VP)); in GetHeight()
854 node->uiNodeHandle, item->value[NUM_0].u32); in SetBackgroundColor()
857 node->uiNodeHandle, item->value[NUM_0].u32); in SetBackgroundColor()
860 node->uiNodeHandle, item->value[NUM_0].u32); in SetBackgroundColor()
863 node->uiNodeHandle, ite in SetBackgroundColor()
[all...]
H A Dnode_utils.cpp34 impl->getNodeModifiers()->getFrameNodeModifier()->getLayoutSize(node->uiNodeHandle, tempSize); in OH_ArkUI_NodeUtils_GetLayoutSize()
46 auto value = impl->getNodeModifiers()->getFrameNodeModifier()->getLayoutPositionWithoutMargin(node->uiNodeHandle); in OH_ArkUI_NodeUtils_GetLayoutPosition()
60 impl->getNodeModifiers()->getFrameNodeModifier()->getPositionToWindow(node->uiNodeHandle, &tempOffset, false); in OH_ArkUI_NodeUtils_GetLayoutPositionInWindow()
74 impl->getNodeModifiers()->getFrameNodeModifier()->getPositionToScreen(node->uiNodeHandle, &tempOffset, false); in OH_ArkUI_NodeUtils_GetLayoutPositionInScreen()
89 node->uiNodeHandle, &tempOffset, false); in OH_ArkUI_NodeUtils_GetPositionWithTranslateInWindow()
104 node->uiNodeHandle, &tempOffset, false); in OH_ArkUI_NodeUtils_GetPositionWithTranslateInScreen()
119 node->uiNodeHandle, userData, reinterpret_cast<void*>(onColorModeChange)); in OH_ArkUI_RegisterSystemColorModeChangeEvent()
130 impl->getNodeModifiers()->getFrameNodeModifier()->resetSystemColorModeChangeEvent(node->uiNodeHandle); in OH_ArkUI_UnregisterSystemColorModeChangeEvent()
141 node->uiNodeHandle, userData, reinterpret_cast<void*>(onFontStyleChange)); in OH_ArkUI_RegisterSystemFontStyleChangeEvent()
152 impl->getNodeModifiers()->getFrameNodeModifier()->resetSystemFontStyleChangeEvent(node->uiNodeHandle); in OH_ArkUI_UnregisterSystemFontStyleChangeEvent()
[all...]
H A Dnode_extened.cpp92 node->uiNodeHandle, eventType, reinterpret_cast<void*>(node)); in RegisterNodeCustomEvent()
95 node->uiNodeHandle, eventType, reinterpret_cast<void*>(node)); in RegisterNodeCustomEvent()
123 auto resultValue = impl->getExtendedAPI()->unregisterCustomNodeAsyncEvent(node->uiNodeHandle, eventType); in UnregisterNodeCustomEvent()
247 impl->getExtendedAPI()->setMeasureWidth(node->uiNodeHandle, width > 0 ? width : 0); in SetMeasuredSize()
248 impl->getExtendedAPI()->setMeasureHeight(node->uiNodeHandle, height > 0 ? height : 0); in SetMeasuredSize()
258 impl->getExtendedAPI()->setX(node->uiNodeHandle, positionX); in SetLayoutPosition()
259 impl->getExtendedAPI()->setY(node->uiNodeHandle, positionY); in SetLayoutPosition()
271 impl->getExtendedAPI()->getLayoutConstraint(node->uiNodeHandle, data); in GetLayoutConstraint()
294 size.width = impl->getExtendedAPI()->getMeasureWidth(node->uiNodeHandle); in GetMeasuredSize()
295 size.height = impl->getExtendedAPI()->getMeasureHeight(node->uiNodeHandle); in GetMeasuredSize()
[all...]
H A Dnative_node_napi.cpp48 *handle = new ArkUI_Node({ .type = -1, .uiNodeHandle = reinterpret_cast<ArkUINodeHandle>(nativePtr) }); in OH_ArkUI_GetNodeHandleFromNapiValue()
50 impl->getExtendedAPI()->setAttachNodePtr((*handle)->uiNodeHandle, reinterpret_cast<void*>(*handle)); in OH_ArkUI_GetNodeHandleFromNapiValue()
95 *handle = new ArkUI_Node({ .type = -1, .uiNodeHandle = reinterpret_cast<ArkUINodeHandle>(frameNode) }); in OH_ArkUI_GetNodeHandleFromNapiValue()
97 impl->getExtendedAPI()->setAttachNodePtr((*handle)->uiNodeHandle, reinterpret_cast<void*>(*handle)); in OH_ArkUI_GetNodeHandleFromNapiValue()
218 navigationAPI->getNavigationId(node->uiNodeHandle, buffer, bufferSize, writeLength); in OH_ArkUI_GetNavigationId()
233 navigationAPI->getNavDestinationName(node->uiNodeHandle, buffer, bufferSize, writeLength); in OH_ArkUI_GetNavDestinationName()
242 auto stacklength = fullImpl->getNavigation()->getStackLength(node->uiNodeHandle); in OH_ArkUI_GetNavStackLength()
261 navigationAPI->getNavDesNameByIndex(node->uiNodeHandle, index, buffer, bufferSize, writeLength); in OH_ArkUI_GetNavDestinationNameByIndex()
276 navigationAPI->getNavDestinationId(node->uiNodeHandle, buffer, bufferSize, writeLength); in OH_ArkUI_GetNavDestinationId()
289 auto navDestinationState = navigationAPI->getNavDestinationState(node->uiNodeHandle); in OH_ArkUI_GetNavDestinationState()
[all...]
H A Dnode_model.cpp199 impl->getBasicAPI()->disposeNode(nativePtr->uiNodeHandle); in DisposeNode()
215 impl->getBasicAPI()->addChild(parentNode->uiNodeHandle, childNode->uiNodeHandle); in AddChild()
216 impl->getBasicAPI()->markDirty(parentNode->uiNodeHandle, ARKUI_DIRTY_FLAG_MEASURE_BY_CHILD_REQUEST); in AddChild()
229 impl->getBasicAPI()->removeChild(parentNode->uiNodeHandle, childNode->uiNodeHandle); in RemoveChild()
230 impl->getBasicAPI()->markDirty(parentNode->uiNodeHandle, ARKUI_DIRTY_FLAG_MEASURE_BY_CHILD_REQUEST); in RemoveChild()
244 parentNode->uiNodeHandle, childNode->uiNodeHandle, siblingNode ? siblingNode->uiNodeHandle in InsertChildAfter()
[all...]
H A Dgesture_impl.cpp501 node->uiNodeHandle, recognizer->gesture, priorityNum, mask); in AddGestureToNode()
502 recognizer->targetInfo.uiNode = reinterpret_cast<void*>(node->uiNodeHandle); in AddGestureToNode()
509 node->uiNodeHandle, recognizer->gesture); in RemoveGestureFromNode()
578 node->uiNodeHandle, callback); in SetGestureInterrupterToNode()
588 node->uiNodeHandle, userData, callback); in SetInnerGestureParallelTo()
H A Dlist_option.cpp43 item->node = node->uiNodeHandle; in OH_ArkUI_ListItemSwipeActionItem_SetContent()
178 node->uiNodeHandle, userData, onFinish); in OH_ArkUI_List_CloseAllSwipeActions()
H A Dnode_adapter_impl.cpp191 innerEvent->handle = handle->uiNodeHandle; in OH_ArkUI_NodeAdapterEvent_SetItem()
212 int32_t instanceId = basicAPI->getContextByNode(node->uiNodeHandle); in OH_ArkUI_GetContextByNode()
H A Dnode_model.h36 ArkUINodeHandle uiNodeHandle = nullptr; member
H A Ddialog_model.cpp49 return impl->getDialogAPI()->setContent(handle->controller, content->uiNodeHandle); in SetContent()
/foundation/arkui/ace_engine/interfaces/native/event/
H A Ddrag_and_drop_impl.cpp118 auto dragActions = impl->getDragAdapterAPI()->createDragActionWithNode(node->uiNodeHandle); in OH_ArkUI_CreateDragActionWithNode()
329 impl->getNodeModifiers()->getCommonModifier()->setDraggable(node->uiNodeHandle, enabled); in OH_ArkUI_SetNodeDraggable()
452 node->uiNodeHandle, dragPreviewOptions, dragInteractionOptions); in OH_ArkUI_SetNodeDragPreviewOption()
464 impl->getNodeModifiers()->getCommonModifier()->resetDragPreview(node->uiNodeHandle); in OH_ArkUI_SetNodeDragPreview()
469 impl->getDragAdapterAPI()->setDragPreview(node->uiNodeHandle, &pixelMap); in OH_ArkUI_SetNodeDragPreview()
479 fullImpl->getNodeModifiers()->getCommonModifier()->setAllowDrop(node->uiNodeHandle, typesArray, count); in OH_ArkUI_SetNodeAllowedDropDataTypes()
511 fullImpl->getNodeModifiers()->getCommonModifier()->setDisAllowDrop(node->uiNodeHandle); in OH_ArkUI_DisallowNodeAnyDropDataTypes()
521 fullImpl->getNodeModifiers()->getCommonModifier()->resetAllowDrop(node->uiNodeHandle); in OH_ArkUI_AllowNodeAllDropDataTypes()
/foundation/arkui/ace_engine/interfaces/native/
H A Dnative_interface_xcomponent.cpp272 return component->AttachNativeRootNode(root->uiNodeHandle); in OH_NativeXComponent_AttachNativeRootNode()
281 return component->DetachNativeRootNode(root->uiNodeHandle); in OH_NativeXComponent_DetachNativeRootNode()
339 nodeModifiers->getXComponentModifier()->getNativeXComponent(node->uiNodeHandle)); in OH_NativeXComponent_GetNativeXComponent()
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Ddrag_and_drop_test.cpp81 auto frameNode = reinterpret_cast<NG::FrameNode*>(rootFrameNode->uiNodeHandle); in HWTEST_F()

Completed in 23 milliseconds