Home
last modified time | relevance | path

Searched refs:RootView (Results 1 - 25 of 57) sorted by relevance

123

/foundation/arkui/ui_lite/test/unittest/render/
H A Drender_uni_test.cpp40 static void CreateDefaultWindow(RootView* rootView, int x, int y) in CreateDefaultWindow()
51 static void DestroyWindow(RootView* rootView) in DestroyWindow()
87 RootView* rootView = RootView::GetWindowRootView(); in HWTEST_F()
107 RootView::DestroyWindowRootView(rootView); in HWTEST_F()
118 RootView* rootView = RootView::GetWindowRootView(); in HWTEST_F()
140 RootView::DestroyWindowRootView(rootView); in HWTEST_F()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Droot_view.h68 class RootView : public UIViewGroup { class
71 * @brief Obtains a singleton <b>RootView</b> instance.
73 * @return Returns the singleton <b>RootView</b> instance.
77 static RootView* GetInstance();
81 * @brief Obtains a <b>RootView</b> instance bound to a window.
83 * @return Returns the <b>RootView</b> instance.
87 static RootView* GetWindowRootView() in GetWindowRootView()
89 return new RootView; in GetWindowRootView()
93 * @brief Destroys the <b>RootView</b> bound to a window.
95 * @param rootView Indicates the pointer to the <b>RootView</
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dscroll_layer.cpp83 RootView *rootView = RootView::GetInstance(); in Hide()
97 RootView *rootView = RootView::GetInstance(); in DetachFromRootView()
106 RootView *rootView = RootView::GetInstance(); in Show()
/foundation/arkui/ui_lite/test/unittest/common/
H A Dhardware_acceleration_unit_test.cpp112 static void CreateDefaultWindow(RootView* rootView, int x, int y) in CreateDefaultWindow()
134 RootView* rootView = RootView::GetInstance(); in HWTEST_F()
159 RootView* rootView = RootView::GetInstance(); in HWTEST_F()
190 RootView* rootView = RootView::GetInstance(); in HWTEST_F()
223 RootView* rootView = RootView::GetInstance(); in HWTEST_F()
263 RootView* rootVie in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/unittest/dfx/
H A Dview_bounds_unit_test.cpp47 static void CreateDefaultWindow(RootView* rootView, int x, int y) in CreateDefaultWindow()
58 static void DestroyWindow(RootView* rootView) in DestroyWindow()
151 RootView* rootView = RootView::GetWindowRootView(); in HWTEST_F()
183 RootView::DestroyWindowRootView(rootView); in HWTEST_F()
194 RootView* rootView1 = RootView::GetWindowRootView(); in HWTEST_F()
205 RootView* rootView2 = RootView::GetWindowRootView(); in HWTEST_F()
234 RootView in HWTEST_F()
[all...]
H A Devent_injector_unit_test.cpp58 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()
/foundation/arkui/ui_lite/frameworks/components/
H A Droot_view.cpp39 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()
61 Window* RootView::GetBoundWindow() const in GetBoundWindow()
67 Rect RootView::GetScreenRect() in GetScreenRect()
260 void RootView
[all...]
/foundation/arkui/ui_lite/frameworks/window/
H A Dwindow_impl.h30 void BindRootView(RootView* rootView) override;
32 RootView* GetRootView() override;
65 RootView* rootView_;
/foundation/window/window_manager_lite/test/
H A Dsample_window.cpp40 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 in TestWindowNumLimit()
[all...]
/foundation/ability/ability_lite/interfaces/kits/ability_lite/
H A Dability_slice.h141 void SetUIContent(RootView *rootView);
147 RootView *curRootView_ { nullptr };
/foundation/arkui/ui_lite/test/framework/include/
H A Dtest_case_list_adapter.h28 : rootView_(RootView::GetInstance()), mainMenu_(mainMenu), backBtn_(backBtn), in TestCaseListAdapter()
37 RootView* rootView_;
/foundation/arkui/ui_lite/interfaces/kits/window/
H A Dwindow.h30 * @brief Declares the <b>Window</b> class that provides a drawing canvas for the <b>RootView</b>,
33 * Each window is bound to a <b>RootView</b>. For details, see {@link RootView}.
97 * @brief Provides a drawing canvas for the <b>RootView</b>, which represents the root node of a view tree.
99 * Each window is bound to a <b>RootView</b>. For details, see {@link RootView}.
144 * @brief Binds the <b>RootView</b> to this window.
146 * @param rootView Indicates the <b>RootView</b> to bind.
150 virtual void BindRootView(RootView* rootView) = 0;
153 * @brief Unbinds the <b>RootView</
[all...]
/foundation/arkui/ui_lite/frameworks/core/
H A Drender_manager.cpp52 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()
/foundation/arkui/ui_lite/test/autotest/src/
H A Dui_auto_test.cpp43 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()
/foundation/arkui/ace_engine_lite/test/moduletest/common/
H A Dbasic_tdd_test.cpp61 RootView *rootView = RootView::GetInstance(); in SetUpTestCase()
155 RootView *rootView = RootView::GetInstance(); in CreatePage()
164 RootView *rootView = RootView::GetInstance(); in DestroyPage()
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Dace_ability.cpp52 RootView *rootView = RootView::GetInstance(); in OnStart()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/
H A Ddialog_tdd_test.cpp298 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()
/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/
H A Dsecond_ability_slice.h29 RootView *rootView_ { nullptr };
H A Dnext_ability_slice.h29 RootView *rootView_ { nullptr };
H A Dmain_ability_slice.h29 RootView *rootView_ { nullptr };
/foundation/arkui/ui_lite/frameworks/dock/
H A Dvirtual_input_device.cpp26 RootView::GetInstance()->OnVirtualDeviceEvent(event); in DispatchEvent()
H A Dkey_input_device.cpp26 RootView::GetInstance()->OnKeyEvent(event); in DispatchEvent()
/foundation/ability/ability_lite/frameworks/ability_lite/include/
H A Dability_window.h29 void SetRootView(RootView *rootView, int16_t x = 0, int16_t y = 0);
H A Dability_slice_manager.h42 void SetUIContent(RootView *rootView);
/foundation/arkui/ui_lite/test/unittest/events/
H A Devent_bubble_unit_test.cpp52 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()

Completed in 18 milliseconds

123