Home
last modified time | relevance | path

Searched refs:g_rootView2 (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/window/window_manager_lite/test/
H A Dsample_window.cpp41 static RootView* g_rootView2 = nullptr; variable
109 Window* window = g_rootView2->GetBoundWindow(); in Callback()
113 g_rootView2->Invalidate(); in Callback()
114 CreateDefaultWindow(g_rootView2, 70, 75); // 70: x, 75: y in Callback()
150 g_rootView2->Add(button); in AddButton()
183 g_rootView2->Add(block); in AddBlock()
196 g_rootView2 = RootView::GetWindowRootView(); in TestWindow()
197 g_rootView2->SetPosition(0, 0, 200, 200); // 200: width, 200: height in TestWindow()
198 g_rootView2->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in TestWindow()
223 g_rootView2->Invalidate(); in TestWindow()
[all …]