/ohos5.0/foundation/arkui/ui_lite/test/unittest/render/ |
H A D | render_uni_test.cpp | 40 static void CreateDefaultWindow(RootView* rootView, int x, int y) in CreateDefaultWindow() 51 static void DestroyWindow(RootView* rootView) in DestroyWindow() 87 RootView* rootView = RootView::GetWindowRootView(); 107 RootView::DestroyWindowRootView(rootView); 118 RootView* rootView = RootView::GetWindowRootView(); 140 RootView::DestroyWindowRootView(rootView);
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | root_view.cpp | 39 RootView::RootView() in RootView() function in OHOS::RootView 47 RootView* RootView::GetInstance() in GetInstance() 49 static RootView instance; in GetInstance() 53 RootView::~RootView() in ~RootView() 67 Rect RootView::GetScreenRect() in GetScreenRect() 335 void RootView::OptimizeInvalidMap() in OptimizeInvalidMap() 479 void RootView::Measure() in Measure() 514 void RootView::Render() in Render() 585 void RootView::ClearMapBuffer() in Render() 860 void RootView::InitDrawContext() in Render() [all …]
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/dfx/ |
H A D | view_bounds_unit_test.cpp | 47 static void CreateDefaultWindow(RootView* rootView, int x, int y) in CreateDefaultWindow() 58 static void DestroyWindow(RootView* rootView) in DestroyWindow() 151 RootView* rootView = RootView::GetWindowRootView(); 183 RootView::DestroyWindowRootView(rootView); 194 RootView* rootView1 = RootView::GetWindowRootView(); 205 RootView* rootView2 = RootView::GetWindowRootView(); 234 RootView::DestroyWindowRootView(rootView1); 239 RootView::DestroyWindowRootView(rootView2);
|
H A D | event_injector_unit_test.cpp | 58 class TestEventInjectorView : public UIView, public RootView::OnKeyActListener { 96 static RootView* rootView_; 107 RootView* EventInjectorTest::rootView_ = nullptr; 143 window_->BindRootView(RootView::GetInstance()); in TestApp() 152 rootView_ = RootView::GetInstance(); in TestApp() 170 RootView::GetInstance()->SetOnKeyActListener(keyView_); in TestApp() 213 RootView::GetInstance()->ClearOnKeyActListener(); in TearDownTestCase()
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | root_view.h | 68 class RootView : public UIViewGroup { 77 static RootView* GetInstance(); 87 static RootView* GetWindowRootView() in GetWindowRootView() 89 return new RootView; in GetWindowRootView() 100 static bool DestroyWindowRootView(RootView* rootView) in DestroyWindowRootView() 102 if (rootView == RootView::GetInstance()) { in DestroyWindowRootView() 303 RootView(); 305 ~RootView();
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-graphics-overview.md | 132 class RootView { 144 UIView <|-- RootView 145 WindowImpl *-- RootView 149 - 每一个窗口 Window 持有一个 RootView 150 - RootView 为当前窗口的根节点,当前窗口所有控件都必须挂载在 RootView 下才能显示 153 - RootView 统一管理当前窗口所有的脏区域信息 154 - 每次刷新信号触发,会遍历绘制所有的 Window,每个 Window 从 RootView 开始先进行 Measure 布局,然后调用 Render 函数绘制,遍历绘制所有脏区域内的 View。
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/common/ |
H A D | hardware_acceleration_unit_test.cpp | 112 static void CreateDefaultWindow(RootView* rootView, int x, int y) in CreateDefaultWindow() 134 RootView* rootView = RootView::GetInstance(); 159 RootView* rootView = RootView::GetInstance(); 190 RootView* rootView = RootView::GetInstance(); 223 RootView* rootView = RootView::GetInstance(); 263 RootView* rootView = RootView::GetInstance();
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | scroll_layer.cpp | 83 RootView *rootView = RootView::GetInstance(); in Hide() 97 RootView *rootView = RootView::GetInstance(); in DetachFromRootView() 106 RootView *rootView = RootView::GetInstance(); in Show()
|
/ohos5.0/foundation/window/window_manager_lite/test/ |
H A D | sample_window.cpp | 40 static RootView* g_rootView1 = nullptr; 41 static RootView* g_rootView2 = nullptr; 42 static RootView* g_rootView3 = nullptr; 45 void CreateDefaultWindow(RootView* rootView, int x, int y) in CreateDefaultWindow() 190 g_rootView1 = RootView::GetWindowRootView(); in TestWindow() 196 g_rootView2 = RootView::GetWindowRootView(); in TestWindow() 200 g_rootView3 = RootView::GetWindowRootView(); in TestWindow() 235 RootView* g_rootViewList[MAX_LIST_NUM]; 247 RootView* rootView = RootView::GetWindowRootView(); in TestWindowNumLimit()
|
/ohos5.0/base/update/updater/services/ui/ |
H A D | updater_ui_env.cpp | 96 RootView::GetInstance()->SetPosition(0, 0); in InitRootView() 97 RootView::GetInstance()->SetStyle(STYLE_BACKGROUND_COLOR, Color::Black().full); in InitRootView() 98 …RootView::GetInstance()->Resize(Screen::GetInstance().GetWidth(), Screen::GetInstance().GetHeight(… in InitRootView() 99 RootView::GetInstance()->Invalidate(); in InitRootView()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/window/ |
H A D | window_impl.h | 30 void BindRootView(RootView* rootView) override; 32 RootView* GetRootView() override; 65 RootView* rootView_;
|
H A D | window_impl.cpp | 66 void WindowImpl::BindRootView(RootView* rootView) in BindRootView() 86 RootView* WindowImpl::GetRootView() in GetRootView()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/core/ |
H A D | render_manager.cpp | 52 RootView* rootView = RootView::GetInstance(); in Callback() 168 void RenderManager::RenderRect(const Rect& rect, RootView* rootView) in RenderRect() 192 RootView* rootView = windowImpl->GetRootView(); in RefreshScreen() 201 RootView::GetInstance()->Invalidate(); in RefreshScreen()
|
/ohos5.0/base/powermgr/battery_manager/charger/src/ |
H A D | charger_animation.cpp | 121 OHOS::RootView::GetInstance()->Add(container.release()); in InitAllComponents() 129 OHOS::RootView::GetInstance()->SetPosition(0, 0); in InitRootView() 130 … OHOS::RootView::GetInstance()->SetStyle(OHOS::STYLE_BACKGROUND_COLOR, OHOS::Color::Black().full); in InitRootView() 131 OHOS::RootView::GetInstance()->Resize( in InitRootView() 133 OHOS::RootView::GetInstance()->Invalidate(); in InitRootView()
|
/ohos5.0/foundation/arkui/ui_lite/test/autotest/src/ |
H A D | ui_auto_test.cpp | 43 while (RootView::GetInstance()->GetChildById(UI_TEST_MAIN_LIST_ID) == nullptr) { in ResetMainMenu() 54 UIView* view = RootView::GetInstance()->GetChildById(id); in EnterSubMenu() 56 UIView* listView = RootView::GetInstance()->GetChildById(UI_TEST_MAIN_LIST_ID); in EnterSubMenu() 81 UIView* view = RootView::GetInstance()->GetChildById(id); in ClickViewById() 97 UIView* view = RootView::GetInstance()->GetChildById(id); in DragViewToHead() 117 UIView* view = RootView::GetInstance()->GetChildById(id); in DrageToView()
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/ |
H A D | basic_tdd_test.cpp | 61 RootView *rootView = RootView::GetInstance(); in SetUpTestCase() 155 RootView *rootView = RootView::GetInstance(); in CreatePage() 164 RootView *rootView = RootView::GetInstance(); in DestroyPage()
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/events/ |
H A D | event_bubble_unit_test.cpp | 52 class TestEventBubbleView : public UIView, public RootView::OnKeyActListener { 92 static RootView* rootView_; 157 RootView* EventBubbleTest::rootView_ = nullptr; 174 rootView_ = RootView::GetInstance(); in TestApp() 197 RootView::GetInstance()->SetOnKeyActListener(keyView_); in TestApp() 234 RootView::GetInstance()->ClearOnKeyActListener(); in TearDownTestCase()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/ |
H A D | dialog_tdd_test.cpp | 298 Window *window = RootView::GetInstance()->GetBoundWindow(); in DialogTest001() 328 Window *window = RootView::GetInstance()->GetBoundWindow(); in DialogTest002() 376 Window *window = RootView::GetInstance()->GetBoundWindow(); in DialogTest003() 442 Window *window = RootView::GetInstance()->GetBoundWindow(); in DialogTest004() 508 Window *window = RootView::GetInstance()->GetBoundWindow(); in DialogTest005()
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-graphics-overview.md | 132 class RootView { 144 UIView <|-- RootView 145 WindowImpl *-- RootView 149 - Each window has a **RootView**. 150 …- **RootView** is the root node of a window. All components in a window can be displayed only afte… 153 - **RootView** manages information about all dirty areas in a window. 154 …. For each window, the **Measure** function is called for layout from **RootView**, and then the *…
|
/ohos5.0/foundation/ability/ability_lite/interfaces/kits/ability_lite/ |
H A D | ability_slice.h | 141 void SetUIContent(RootView *rootView); 147 RootView *curRootView_ { nullptr };
|
/ohos5.0/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_;
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/window/ |
H A D | window.h | 150 virtual void BindRootView(RootView* rootView) = 0; 167 virtual RootView* GetRootView() = 0;
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/ |
H A D | ace_ability.cpp | 52 RootView *rootView = RootView::GetInstance(); in REGISTER_AA()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/dfx/ |
H A D | ui_dump_dom_tree.cpp | 383 RootView* rootView = RootView::GetInstance(); in DumpDomNode() 401 RootView* rootView = RootView::GetInstance(); in DumpDomTree()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | pointer_input_device.cpp | 43 UIViewGroup* rootView = RootView::GetInstance(); in DispatchEvent() 315 if ((touchableView_ != nullptr) && RootView::FindSubView(*view, touchableView_)) { in UpdateEventViews() 319 if ((draggableView_ != nullptr) && RootView::FindSubView(*view, draggableView_)) { in UpdateEventViews()
|