/foundation/arkui/ui_lite/test/framework/src/ |
H A D | test_case_list_adapter.cpp | 44 : rootView_(uiView), mainMenu_(mainMenu), uiTest_(uiTest), testCaseLabel_(testCaseLabel) in BtnOnClickBackListener() 52 if ((rootView_ == nullptr) || (mainMenu_ == nullptr) || (uiTest_ == nullptr) || (testCaseLabel_ == nullptr)) { 56 rootView_->Remove(testCaseLabel_); 57 rootView_->Remove(&view); 59 UIView* tempView = rootView_->GetChildById(g_uiTestId); 61 rootView_->Remove(tempView); 65 rootView_->Add(mainMenu_); 66 rootView_->Invalidate(); 71 UIViewGroup* rootView_; member in OHOS::BtnOnClickBackListener 84 : rootView_(uiVie in BtnOnClickUiTestListener() 130 UIViewGroup* rootView_; global() member in OHOS::BtnOnClickUiTestListener [all...] |
H A D | ui_test_app.cpp | 31 if (rootView_ == nullptr) { in Start() 32 rootView_ = RootView::GetInstance(); in Start() 33 rootView_->SetPosition(0, 0); in Start() 34 rootView_->Resize(Screen::GetInstance().GetWidth(), Screen::GetInstance().GetHeight()); in Start() 38 rootView_->Add(mainMenu_); in Start() 39 rootView_->Invalidate(); in Start() 158 rootView_ = nullptr; in ~UITestApp()
|
/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/ |
H A D | second_ability_slice.cpp | 51 rootView_ = RootView::GetWindowRootView(); in OnStart() 52 rootView_->SetPosition(ROOT_VIEW_POSITION_X, ROOT_VIEW_POSITION_Y); in OnStart() 53 rootView_->Resize(ROOT_VIEW_WIDTH, ROOT_VIEW_HEIGHT); in OnStart() 54 rootView_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in OnStart() 56 rootView_->Add(button1); in OnStart() 58 SetUIContent(rootView_); in OnStart() 65 DeleteViewChildren(rootView_); in OnStop()
|
H A D | next_ability_slice.cpp | 51 rootView_ = RootView::GetWindowRootView(); in OnStart() 52 rootView_->SetPosition(ROOT_VIEW_POSITION_X, ROOT_VIEW_POSITION_Y); in OnStart() 53 rootView_->Resize(ROOT_VIEW_WIDTH, ROOT_VIEW_HEIGHT); in OnStart() 54 rootView_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in OnStart() 56 rootView_->Add(button1); in OnStart() 58 SetUIContent(rootView_); in OnStart() 65 DeleteViewChildren(rootView_); in OnStop()
|
H A D | main_ability_slice.cpp | 87 rootView_ = RootView::GetWindowRootView(); in OnStart() 88 rootView_->SetPosition(ROOT_VIEW_POSITION_X, ROOT_VIEW_POSITION_Y); in OnStart() 89 rootView_->Resize(ROOT_VIEW_WIDTH, ROOT_VIEW_HEIGHT); in OnStart() 90 rootView_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in OnStart() 92 rootView_->Add(button1); in OnStart() 94 SetUIContent(rootView_); in OnStart() 101 DeleteViewChildren(rootView_); in OnStop()
|
H A D | second_ability_slice.h | 29 RootView *rootView_ { nullptr };
|
H A D | next_ability_slice.h | 29 RootView *rootView_ { nullptr };
|
H A D | main_ability_slice.h | 29 RootView *rootView_ { nullptr };
|
/foundation/arkui/ui_lite/frameworks/window/ |
H A D | window_impl.cpp | 22 WindowImpl::WindowImpl() : rootView_(nullptr), iWindow_(nullptr), isShow_(false), gfxAlloc_({}) {} in WindowImpl() 73 rootView_ = rootView; in BindRootView() 74 rootView_->boundWindow_ = this; in BindRootView() 80 if (rootView_ != nullptr) { in UnbindRootView() 81 rootView_->boundWindow_ = nullptr; in UnbindRootView() 82 rootView_ = nullptr; in UnbindRootView() 88 return rootView_; in GetRootView() 143 if (rootView_ != nullptr) { in Resize() 144 rootView_->Invalidate(); in Resize() 172 if (rootView_ ! in Render() [all...] |
H A D | window_impl.h | 65 RootView* rootView_; member in OHOS::WindowImpl
|
/foundation/arkui/ui_lite/test/unittest/events/ |
H A D | event_bubble_unit_test.cpp | 92 static RootView* rootView_; member in OHOS::EventBubbleTest 157 RootView* EventBubbleTest::rootView_ = nullptr; member in OHOS::EventBubbleTest 174 rootView_ = RootView::GetInstance(); in TestApp() 175 rootView_->SetTouchable(true); in TestApp() 176 rootView_->SetPosition(0, 0, Screen::GetInstance().GetWidth(), Screen::GetInstance().GetHeight()); in TestApp() 179 rootView_->Add(layout_); in TestApp() 201 rootView_->Invalidate(); in TestApp() 267 if ((clickView_ == nullptr) || (rootView_ == nullptr)) { in HWTEST_F() 276 rootView_->GetTargetView(clickPoint, &curView, &targetView); in HWTEST_F() 289 rootView_ in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/test/framework/include/ |
H A D | test_case_list_adapter.h | 28 : rootView_(RootView::GetInstance()), mainMenu_(mainMenu), backBtn_(backBtn), in TestCaseListAdapter() 37 RootView* rootView_; member in OHOS::TestCaseListAdapter
|
H A D | ui_test_app.h | 49 RootView* rootView_ = nullptr; member in OHOS::UITestApp
|
/foundation/arkui/ui_lite/test/unittest/dfx/ |
H A D | event_injector_unit_test.cpp | 96 static RootView* rootView_; member in OHOS::EventInjectorTest 107 RootView* EventInjectorTest::rootView_ = nullptr; member in OHOS::EventInjectorTest 152 rootView_ = RootView::GetInstance(); in TestApp() 153 rootView_->SetPosition(0, 0, Screen::GetInstance().GetWidth(), Screen::GetInstance().GetHeight()); in TestApp() 156 rootView_->Add(layout_); in TestApp() 174 rootView_->Invalidate(); in TestApp()
|