/foundation/arkui/ui_lite/test/uitest/test_ui_list_view/ |
H A D | ui_test_list_layout.cpp | 79 UILabelButton* button2 = new UILabelButton(); in UIKitListVerticalAddTestAutoSize001() local 80 button2->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitListVerticalAddTestAutoSize001() 81 button2->SetText("button2"); in UIKitListVerticalAddTestAutoSize001() 82 list->Insert(button1, button2); in UIKitListVerticalAddTestAutoSize001() 119 UILabelButton* button2 = new UILabelButton(); in UIKitListVerticalRemoveTestAutoSize001() local 120 button2->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitListVerticalRemoveTestAutoSize001() 121 button2->SetText("button2"); in UIKitListVerticalRemoveTestAutoSize001() 122 list->Add(button2); in UIKitListVerticalRemoveTestAutoSize001() 146 UILabelButton* button2 = new UILabelButton(); UIKitListVerticalRemoveTestAutoSize002() local 173 UILabelButton* button2 = new UILabelButton(); UIKitListHorAddTestAutoSize001() local 199 UILabelButton* button2 = new UILabelButton(); UIKitListHorRemoveTestAutoSize001() local 226 UILabelButton* button2 = new UILabelButton(); UIKitListHorRemoveTestAutoSize002() local [all...] |
/foundation/arkui/ui_lite/test/uitest/test_ui_swipe_view/ |
H A D | ui_test_ui_swipe_view.cpp | 105 UILabelButton* button2 = new UILabelButton(); in UIKitSwipeViewTestHorizontal001() local 106 button2->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitSwipeViewTestHorizontal001() 107 button2->SetText("button2"); in UIKitSwipeViewTestHorizontal001() 108 button2->SetViewId(UI_TEST_HOR_001_BUTTON2); in UIKitSwipeViewTestHorizontal001() 109 swipe->Add(button2); in UIKitSwipeViewTestHorizontal001() 136 UILabelButton* button2 = new UILabelButton(); in UIKitSwipeViewTestHorizontal002() local 137 button2->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitSwipeViewTestHorizontal002() 138 button2->SetText("button2"); in UIKitSwipeViewTestHorizontal002() 173 UILabelButton* button2 = new UILabelButton(); UIKitSwipeViewTestHorizontal003() local 210 UILabelButton* button2 = new UILabelButton(); UIKitSwipeViewTestVer001() local 242 UILabelButton* button2 = new UILabelButton(); UIKitSwipeViewTestVer002() local 340 UILabelButton* button2 = new UILabelButton(); UIKitSwipeViewTestAlign001() local [all...] |
/foundation/arkui/ui_lite/test/uitest/test_opacity/ |
H A D | ui_test_opacity.cpp | 147 UIButton* button2 = new UIButton(); in UIKitOpacityTestUIButton001() local 148 button2->SetPosition(200, 30, BUTTON_WIDTH, BUTTON_HEIGHT >> 1); // 200: width 30 : height in UIKitOpacityTestUIButton001() 149 button2->SetOpaScale(100); // 100: opacity in UIKitOpacityTestUIButton001() 152 group->Add(button2); in UIKitOpacityTestUIButton001() 178 UIButton* button2 = CreateTestCaseUIButton(100); // 100: opacity in UIKitOpacityTestUIButton002() local 179 button2->SetPosition(200, 30); // 200: width 30 y in UIKitOpacityTestUIButton002() 180 group->Add(button2); in UIKitOpacityTestUIButton002() 345 UIButton* button2 = new UIButton(); in UIKitOpacityTestUIViewGroup001() local 346 button2->SetPosition(170, 60, BUTTON_WIDTH, BUTTON_HEIGHT); // 170: x 60: y in UIKitOpacityTestUIViewGroup001() 347 button2 in UIKitOpacityTestUIViewGroup001() 472 UILabelButton* button2 = new UILabelButton(); UIKitOpacityTestUISwipeView001() local [all...] |
/foundation/arkui/ui_lite/test/uitest/test_ui_analog_clock/ |
H A D | ui_test_analog_clock.cpp | 224 UILabelButton* button2 = SetUpButton("左移", UI_TEST_SHIF_LEFT_1); in CreateButtons001() local 225 group->Add(button2); in CreateButtons001() 227 button2->SetPosition(curFace->GetWidth() + 58, BUTTON_HEIGHT + 58, BUTTON_WIDTH, BUTTON_HEIGHT); in CreateButtons001() 230 static_cast<UIView*>(button2), clock, in CreateButtons001() 233 button2->SetOnClickListener(clickMoveLeftListener_); in CreateButtons001() 334 UILabelButton* button2 = SetUpButton("左移", UI_TEST_SHIF_LEFT_2); in CreateButtons002() local 335 group->Add(button2); in CreateButtons002() 337 button2->SetPosition(curFace->GetWidth() + 58, 98, BUTTON_WIDTH, BUTTON_HEIGHT); in CreateButtons002() 341 static_cast<UIView*>(button2), clock, in CreateButtons002() 344 button2 in CreateButtons002() [all...] |
/foundation/arkui/ui_lite/test/uitest/test_ui_scroll_view/ |
H A D | ui_test_ui_scroll_view.cpp | 177 UILabelButton* button2 = new UILabelButton(); in UIKitUIScrollViewTestbar003() local 178 button2->SetText("button2"); in UIKitUIScrollViewTestbar003() 179 button2->SetPosition(0, g_buttonH, g_buttonW, g_buttonH); in UIKitUIScrollViewTestbar003() 181 scroll->Add(button2); in UIKitUIScrollViewTestbar003()
|
/foundation/arkui/ui_lite/test/uitest/test_event_injector/ |
H A D | ui_test_event_injector.cpp | 350 UILabelButton* button2 = new UILabelButton(); in SetUpScrollView() local 351 button2->SetText("button2"); in SetUpScrollView() 352 button2->SetPosition(0, SCROLL_BUTTON_H, SCROLL_BUTTON_W, SCROLL_BUTTON_H); in SetUpScrollView() 354 scrollTestView_->Add(button2); in SetUpScrollView()
|
/foundation/arkui/ui_lite/test/uitest/test_button/ |
H A D | ui_test_button.cpp | 793 UILabelButton* button2 = in UIKitButtonTest001() local 795 button2->SetOnClickListener(clickBigListener_); in UIKitButtonTest001() 820 container_->Add(button2); in UIKitButtonTest001()
|