Home
last modified time | relevance | path

Searched refs:nodeAPI2 (Results 1 – 2 of 2) sorted by relevance

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/refresh/
Drefresh_onOffsetChange_test.cpp24 static ArkUI_NativeNodeAPI_1 *nodeAPI2; variable
49 refresh2 = nodeAPI2->createNode(ARKUI_NODE_REFRESH); in BasicSet()
56 nodeAPI2->setAttribute(refresh2, NODE_WIDTH, &width_item); in BasicSet()
57 nodeAPI2->setAttribute(refresh2, NODE_HEIGHT, &height_item); in BasicSet()
58 nodeAPI2->setAttribute(refresh2, NODE_REFRESH_PULL_DOWN_RATIO, &ratio_item); in BasicSet()
62 nodeAPI2->setAttribute(refresh2, NODE_BACKGROUND_COLOR, &background_color_item); in BasicSet()
75 OH_ArkUI_GetModuleInterface(ARKUI_NATIVE_NODE, ArkUI_NativeNodeAPI_1, nodeAPI2); in CreateNativeNode()
81 nodeAPI2->setAttribute(refresh2, NODE_ID, &idItem); in CreateNativeNode()
83 nodeAPI2->registerNodeEventReceiver(&OnEventReceive); in CreateNativeNode()
84nodeAPI2->registerNodeEvent(refresh2, NODE_REFRESH_ON_OFFSET_CHANGE, ON_REFRESH_EVENT_ID, nullptr); in CreateNativeNode()
/test/xts/acts/arkui/ace_c_arkui_test_api15/entry/src/main/cpp/window/
Dget_window_info_test.cpp21 ArkUI_NativeNodeAPI_1 *nodeAPI2 = nullptr; variable
127 nodeAPI2->setAttribute(node, NODE_BACKGROUND_COLOR, &background_color_item); in OnEventReceive()
134 nodeAPI2->setAttribute(node, NODE_BACKGROUND_COLOR, &background_color_item); in OnEventReceive()
139 ArkUI_NodeHandle button = nodeAPI2->createNode(ARKUI_NODE_BUTTON); in OnEventReceive()
142 nodeAPI2->setAttribute(node, NODE_BACKGROUND_COLOR, &background_color_item); in OnEventReceive()
163 OH_ArkUI_GetModuleInterface(ARKUI_NATIVE_NODE, ArkUI_NativeNodeAPI_1, nodeAPI2); in testGetWindowInfo001()
164 static ArkUI_NodeHandle root = CreateChildNode(nodeAPI2); in testGetWindowInfo001()
165 nodeAPI2->registerNodeEventReceiver(&OnEventReceive); in testGetWindowInfo001()
202 nodeAPI2->setAttribute(node, NODE_BACKGROUND_COLOR, &background_color_item); in OnEventReceive1()
225 OH_ArkUI_GetModuleInterface(ARKUI_NATIVE_NODE, ArkUI_NativeNodeAPI_1, nodeAPI2); in testHostWindowInfoGetName002()
[all …]