Searched refs:nodeAPI1 (Results 1 – 6 of 6) sorted by relevance
| /test/xts/acts/arkui/ace_c_arkui_test_api15/entry/src/main/cpp/progress/ |
| D | progress_linear_style_test.cpp | 25 ArkUI_NativeNodeAPI_1 *nodeAPI1 = nullptr; variable 37 static ArkUI_NodeHandle CreateChildNode(ArkUI_NativeNodeAPI_1 *nodeAPI1) in CreateChildNode() argument 39 ArkUI_NodeHandle column = nodeAPI1->createNode(ARKUI_NODE_COLUMN); in CreateChildNode() 42 nodeAPI1->setAttribute(column, NODE_WIDTH, &item1); in CreateChildNode() 44 nodeAPI1->setAttribute(column, NODE_HEIGHT, &item1); in CreateChildNode() 47 nodeAPI1->setAttribute(column, NODE_BORDER_WIDTH, &borderItem); in CreateChildNode() 49 auto rootNodeProgress = nodeAPI1->createNode(ARKUI_NODE_PROGRESS); in CreateChildNode() 52 nodeAPI1->setAttribute(rootNodeProgress, NODE_WIDTH, &item2); in CreateChildNode() 54 nodeAPI1->setAttribute(rootNodeProgress, NODE_HEIGHT, &item2); in CreateChildNode() 57 nodeAPI1->setAttribute(rootNodeProgress, NODE_PROGRESS_VALUE, &item3); in CreateChildNode() [all …]
|
| /test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/refresh/ |
| D | refresh_offsetEvent_test.cpp | 22 static ArkUI_NativeNodeAPI_1 *nodeAPI1; variable 42 refresh1 = nodeAPI1->createNode(ARKUI_NODE_REFRESH); in BasicSet() 53 nodeAPI1->setAttribute(refresh1, NODE_WIDTH, &width_item); in BasicSet() 54 nodeAPI1->setAttribute(refresh1, NODE_HEIGHT, &height_item); in BasicSet() 55 nodeAPI1->setAttribute(refresh1, NODE_REFRESH_OFFSET, &offset_item); in BasicSet() 56 nodeAPI1->setAttribute(refresh1, NODE_REFRESH_PULL_TO_REFRESH, &pull_item); in BasicSet() 57 nodeAPI1->setAttribute(refresh1, NODE_REFRESH_PULL_DOWN_RATIO, &ratio_item); in BasicSet() 61 nodeAPI1->setAttribute(refresh1, NODE_BACKGROUND_COLOR, &background_color_item); in BasicSet() 65 refresh3 = nodeAPI1->createNode(ARKUI_NODE_REFRESH); in BasicSet3() 74 nodeAPI1->setAttribute(refresh3, NODE_WIDTH, &width_item); in BasicSet3() [all …]
|
| /test/xts/acts/arkui/ace_c_arkui_test_api15/entry/src/main/cpp/node/ |
| D | node_handle_by_id_test.cpp | 21 ArkUI_NativeNodeAPI_1 *nodeAPI1 = nullptr; variable 123 nodeAPI1->setAttribute(node, NODE_BACKGROUND_COLOR, &background_color_item); in OnEventReceive() 131 nodeAPI1->setAttribute(node, NODE_BACKGROUND_COLOR, &background_color_item); in OnEventReceive() 143 nodeAPI1->setAttribute(node, NODE_BACKGROUND_COLOR, &background_color_item); in OnEventReceive() 163 OH_ArkUI_GetModuleInterface(ARKUI_NATIVE_NODE, ArkUI_NativeNodeAPI_1, nodeAPI1); in testNodeHandleById001() 164 static ArkUI_NodeHandle root = CreateChildNode(nodeAPI1); in testNodeHandleById001() 165 nodeAPI1->registerNodeEventReceiver(&OnEventReceive); in testNodeHandleById001()
|
| /test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/swiper/ |
| D | swiper_onGestureSwipe_test.cpp | 76 ArkUI_NativeNodeAPI_1 *nodeAPI1 = nullptr; in CreateNativeNode() local 77 OH_ArkUI_GetModuleInterface(ARKUI_NATIVE_NODE, ArkUI_NativeNodeAPI_1, nodeAPI1); in CreateNativeNode() 82 nodeAPI1->setAttribute(nodeHandler, NODE_BACKGROUND_COLOR, &background_color_item); in CreateNativeNode()
|
| D | swiper_onAnimationEnd_test.cpp | 80 ArkUI_NativeNodeAPI_1 *nodeAPI1 = nullptr; in CreateNativeNode() local 81 OH_ArkUI_GetModuleInterface(ARKUI_NATIVE_NODE, ArkUI_NativeNodeAPI_1, nodeAPI1); in CreateNativeNode() 86 nodeAPI1->setAttribute(nodeHandler, NODE_BACKGROUND_COLOR, &background_color_item); in CreateNativeNode()
|
| D | swiper_onAnimationStart_test.cpp | 75 ArkUI_NativeNodeAPI_1 *nodeAPI1 = nullptr; in CreateNativeNode() local
|