Home
last modified time | relevance | path

Searched refs:Window (Results 1 - 25 of 297) sorted by relevance

12345678910>>...12

/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_test.cpp67 ASSERT_EQ(nullptr, Window::Create("", option)); in HWTEST_F()
77 // no option: Window::Create with defult option in HWTEST_F()
81 auto window = Window::Create("WindowTest02", option); in HWTEST_F()
96 auto window = Window::Create("WindowTest03", option); in HWTEST_F()
112 auto window = Window::Create("WindowTest04", option); in HWTEST_F()
130 ASSERT_EQ(nullptr, Window::Create("WindowTest05", option, abilityContext_)); in HWTEST_F()
142 ASSERT_EQ(nullptr, Window::CreatePiP(option, pipTemplateInfo, abilityContext_)); in HWTEST_F()
144 ASSERT_EQ(nullptr, Window::CreatePiP(option, pipTemplateInfo, abilityContext_)); in HWTEST_F()
146 ASSERT_EQ(nullptr, Window::CreatePiP(option, pipTemplateInfo, abilityContext_)); in HWTEST_F()
153 sptr<Window> windo in HWTEST_F()
[all...]
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/
H A Dwindow_register_manager.h30 WmErrorCode RegisterListener(sptr<Window>, std::string type,
32 WmErrorCode UnregisterListener(sptr<Window>, std::string type,
36 WmErrorCode ProcessWindowChangeRegister(sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister);
37 WmErrorCode ProcessSystemAvoidAreaChangeRegister(sptr<CjWindowListener> listener, sptr<Window> window,
39 WmErrorCode ProcessAvoidAreaChangeRegister(sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister);
40 WmErrorCode ProcessLifeCycleEventRegister(sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister);
42 sptr<Window> window, bool isRegister);
43 WmErrorCode ProcessSystemBarChangeRegister(sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister);
44 WmErrorCode ProcessTouchOutsideRegister(sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister);
45 WmErrorCode ProcessScreenshotRegister(sptr<CjWindowListener> listener, sptr<Window> windo
[all...]
H A Dwindow_register_manager.cpp25 {SYSTEM_BAR_TINT_CHANGE_CB, [this](sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister) in CjWindowRegisterManager()
28 [this](sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister) in CjWindowRegisterManager()
30 {WATER_MARK_FLAG_CHANGE_CB, [this](sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister) in CjWindowRegisterManager()
34 {WINDOW_SIZE_CHANGE_CB, [this](sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister) in CjWindowRegisterManager()
36 {SYSTEM_AVOID_AREA_CHANGE_CB, [this](sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister) in CjWindowRegisterManager()
38 {AVOID_AREA_CHANGE_CB, [this](sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister) in CjWindowRegisterManager()
40 {LIFECYCLE_EVENT_CB, [this](sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister) in CjWindowRegisterManager()
42 {WINDOW_EVENT_CB, [this](sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister) in CjWindowRegisterManager()
44 {KEYBOARD_HEIGHT_CHANGE_CB, [this](sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister) in CjWindowRegisterManager()
46 {TOUCH_OUTSIDE_CB, [this](sptr<CjWindowListener> listener, sptr<Window> windo in CjWindowRegisterManager()
[all...]
/foundation/window/window_manager/previewer/src/
H A Dwindow.cpp24 constexpr HiviewDFX::HiLogLabel LABEL = {LOG_CORE, HILOG_DOMAIN_WINDOW, "Window"};
26 sptr<Window> Window::Create(const std::string& windowName, sptr<WindowOption>& option, in Create()
50 sptr<Window> Window::Find(const std::string& windowName) in Find()
55 std::vector<sptr<Window>> Window::GetSubWindow(uint32_t parentId) in GetSubWindow()
57 return std::vector<sptr<Window>>(); in GetSubWindow()
60 sptr<Window> Window
[all...]
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_window.cpp19 Window::Window(std::unique_ptr<PlatformWindow> platformWindow) : platformWindow_(std::move(platformWindow)) {} in Window() function in OHOS::Ace::Window
21 void Window::OnVsync(uint64_t nanoTimestamp, uint32_t frameCount) {} in OnVsync()
23 void Window::RequestFrame() {} in RequestFrame()
25 void Window::SetRootRenderNode(const RefPtr<RenderNode>& root) {} in SetRootRenderNode()
27 void Window::SetVsyncCallback(AceVsyncCallback&& callback) {} in SetVsyncCallback()
29 void Window::SetUiDvsyncSwitch(bool dvsyncSwitch) {} in SetUiDvsyncSwitch()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window_register_manager.h55 WmErrorCode RegisterListener(sptr<Window> window, std::string type,
57 WmErrorCode UnregisterListener(sptr<Window> window, std::string type,
61 WmErrorCode ProcessWindowChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window, bool isRegister,
63 WmErrorCode ProcessSystemAvoidAreaChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window,
65 WmErrorCode ProcessAvoidAreaChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window, bool isRegister,
67 WmErrorCode ProcessLifeCycleEventRegister(sptr<JsWindowListener> listener, sptr<Window> window, bool isRegister,
69 WmErrorCode ProcessOccupiedAreaChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window,
71 WmErrorCode ProcessSystemBarChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window, bool isRegister,
73 WmErrorCode ProcessTouchOutsideRegister(sptr<JsWindowListener> listener, sptr<Window> window, bool isRegister,
75 WmErrorCode ProcessScreenshotRegister(sptr<JsWindowListener> listener, sptr<Window> windo
[all...]
/foundation/window/window_manager/wm/src/
H A Dwindow.cpp32 constexpr HiviewDFX::HiLogLabel LABEL = {LOG_CORE, HILOG_DOMAIN_WINDOW, "Window"};
35 static sptr<Window> CreateWindowWithSession(sptr<WindowOption>& option, in CreateWindowWithSession()
63 sptr<Window> Window::Create(const std::string& windowName, sptr<WindowOption>& option, in Create()
107 sptr<Window> Window::Create(sptr<WindowOption>& option, const std::shared_ptr<OHOS::AbilityRuntime::Context>& context, in Create()
138 sptr<Window> Window::CreatePiP(sptr<WindowOption>& option, const PiPTemplateInfo& pipTemplateInfo, in CreatePiP()
171 sptr<Window> Window
[all...]
H A Dstatic_call.cpp23 sptr<Window> StaticCall::CreateWindow(const std::string& windowName, in CreateWindow()
26 return Window::Create(windowName, option, context); in CreateWindow()
29 sptr<Window> StaticCall::CreateWindow(sptr<WindowOption>& option, std::shared_ptr<AbilityRuntime::Context> context, in CreateWindow()
33 return Window::Create(option, context, iSession, errCode, identityToken); in CreateWindow()
36 std::vector<sptr<Window>> StaticCall::GetSubWindow(uint32_t parentId) in GetSubWindow()
38 return Window::GetSubWindow(parentId); in GetSubWindow()
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dwindow.cpp21 Window::Window(std::unique_ptr<PlatformWindow> platformWindow) : platformWindow_(std::move(platformWindow)) in Window() function in OHOS::Ace::Window
26 LOGI("Window Created success."); in Window()
29 void Window::RequestFrame() in RequestFrame()
40 void Window::SetRootRenderNode(const RefPtr<RenderNode>& root) in SetRootRenderNode()
46 void Window::OnVsync(uint64_t nanoTimestamp, uint32_t frameCount) in OnVsync()
58 void Window::SetVsyncCallback(AceVsyncCallback&& callback) in SetVsyncCallback()
66 void Window::SetUiDvsyncSwitch(bool dvsyncSwitch) in SetUiDvsyncSwitch()
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_test_utils.h65 static sptr<Window> CreateTestWindow(const TestWindowInfo& info);
66 static sptr<Window> CreateStatusBarWindow();
67 static sptr<Window> CreateNavigationBarWindow();
68 static sptr<Window> CreateDockWindow();
70 static bool RectEqualTo(const sptr<Window>& window, const Rect& r);
72 static void UpdateSplitRects(const sptr<Window>& window);
74 static Rect GetDefaultFloatingRect(const sptr<Window>& window, bool avoid);
78 static void InitTileWindowRects(const sptr<Window>& window, bool avoid);
H A Dwindow_systemsubwindow_test.cpp81 static sptr<Window> CreateBaseWindow(WindowType type, struct Rect rect, uint32_t flags) in CreateBaseWindow()
91 sptr<Window> window = Window::Create(baseWindowName, baseOp, nullptr); in CreateBaseWindow()
95 static sptr<Window> CreateAppSubWindow(sptr<Window> parentWindow, WindowType type, struct Rect rect, in CreateAppSubWindow()
107 sptr<Window> window = Window::Create(subWinName, subOp); in CreateAppSubWindow()
111 static sptr<Window> CreateSystemSubWindow(sptr<Window> parentWindow, struct Rect rect, in CreateSystemSubWindow()
123 sptr<Window> windo in CreateSystemSubWindow()
[all...]
H A Dwindow_focus_test.cpp132 const sptr<Window>& window1 = Utils::CreateTestWindow(fullScreenAppInfo_); in HWTEST_F()
140 const sptr<Window>& window2 = Utils::CreateTestWindow(floatAppInfo_); in HWTEST_F()
148 const sptr<Window>& window3 = Utils::CreateTestWindow(floatAppInfo_); in HWTEST_F()
157 const sptr<Window>& subWindow = Utils::CreateTestWindow(subAppInfo_); in HWTEST_F()
196 const sptr<Window>& mainWindow = Utils::CreateTestWindow(floatAppInfo_); in HWTEST_F()
206 const sptr<Window>& subWindow = Utils::CreateTestWindow(subAppInfo_); in HWTEST_F()
233 const sptr<Window>& mainWindow1 = Utils::CreateTestWindow(floatAppInfo_); in HWTEST_F()
243 const sptr<Window>& aboveSubWindow = Utils::CreateTestWindow(subAppInfo_); in HWTEST_F()
249 const sptr<Window>& mainWindow2 = Utils::CreateTestWindow(floatAppInfo_); in HWTEST_F()
278 const sptr<Window> in HWTEST_F()
[all...]
H A Dwindow_subwindow_test.cpp63 static sptr<Window> CreateSubWindow(sptr<WindowScene> scene, WindowType type, in CreateSubWindow()
80 * @tc.desc: FullScreen Main Window + Floating SubWindow
89 sptr<Window> subWindow = CreateSubWindow(scene, WindowType::WINDOW_TYPE_APP_SUB_WINDOW, rect, flags); in HWTEST_F()
108 * @tc.desc: FullScreen Main Window + Floating SubWindow & Parent Limit work
117 sptr<Window> subWindow = CreateSubWindow(scene, WindowType::WINDOW_TYPE_APP_SUB_WINDOW, rect, flags); in HWTEST_F()
136 * @tc.desc: FullScreen Main Window + Floating MediaWindow
145 sptr<Window> subWindow = CreateSubWindow(scene, WindowType::WINDOW_TYPE_MEDIA, rect, flags); in HWTEST_F()
164 * @tc.desc: FullScreen Main Window + Floating MediaWindow
173 sptr<Window> subWindow = CreateSubWindow(scene, WindowType::WINDOW_TYPE_MEDIA, rect, flags); in HWTEST_F()
192 * @tc.desc: FullScreen Main Window
[all...]
H A Dwindow_water_mark_test.cpp68 bool FillColor(sptr<Window> window);
72 sptr<Window> CreateWindow(const Utils::TestWindowInfo& appinfo);
107 sptr<Window> WaterMarkTest::CreateWindow(const Utils::TestWindowInfo& appinfo) in CreateWindow()
115 sptr<Window> window = Window::Create(appinfo.name, option); in CreateWindow()
119 bool WaterMarkTest::FillColor(sptr<Window> window) in FillColor()
146 sptr<Window> window = CreateWindow(appInfo_); in HWTEST_F()
H A Dwindow_split_immersive_test.cpp35 void IsShowTopBar(const sptr<Window>& top, bool isShow);
36 void HideAndUnregister(const sptr<Window>& fullWindow, const sptr<Window>& priWindow, const sptr<Window>& top);
38 std::vector<sptr<Window>> activeWindows_;
97 const sptr<Window>& fullWindow = Utils::CreateTestWindow(fullInfo_); in HWTEST_F()
108 const sptr<Window>& priWindow = Utils::CreateTestWindow(splitInfo_); in HWTEST_F()
H A Dwindow_touch_outside_test.cpp115 const sptr<Window> &firstWindow = Utils::CreateTestWindow(firstWindowInfo_); in HWTEST_F()
134 const sptr<Window> &firstWindow = Utils::CreateTestWindow(firstWindowInfo_); in HWTEST_F()
139 const sptr<Window> &secondWindow = Utils::CreateTestWindow(secondWindowInfo_); in HWTEST_F()
157 const sptr<Window> &firstWindow = Utils::CreateTestWindow(firstWindowInfo_); in HWTEST_F()
162 const sptr<Window> &secondWindow = Utils::CreateTestWindow(secondWindowInfo_); in HWTEST_F()
179 const sptr<Window> &firstWindow = Utils::CreateTestWindow(firstWindowInfo_); in HWTEST_F()
184 const sptr<Window> &secondWindow = Utils::CreateTestWindow(secondWindowInfo_); in HWTEST_F()
191 const sptr<Window> &thirdWindow = Utils::CreateTestWindow(thirdWindowInfo_); in HWTEST_F()
H A Dwindow_raisetoapptop_test.cpp36 std::vector<sptr<Window>> activeWindows_;
78 sptr<Window> mainWindow = Utils::CreateTestWindow(fullInfo_); in HWTEST_F()
90 sptr<Window> subWindow1 = Utils::CreateTestWindow(fullInfo_); in HWTEST_F()
99 sptr<Window> subWindow2 = Utils::CreateTestWindow(fullInfo_); in HWTEST_F()
119 sptr<Window> mainWindow = Utils::CreateTestWindow(fullInfo_); in HWTEST_F()
131 sptr<Window> subWindow1 = Utils::CreateTestWindow(fullInfo_); in HWTEST_F()
140 sptr<Window> subWindow2 = Utils::CreateTestWindow(fullInfo_); in HWTEST_F()
149 sptr<Window> dialog = Utils::CreateTestWindow(fullInfo_); in HWTEST_F()
167 sptr<Window> mainWindow = Utils::CreateTestWindow(fullInfo_); in HWTEST_F()
179 sptr<Window> subWindow in HWTEST_F()
[all...]
H A Dwindow_dialogwindow_test.cpp64 static sptr<Window> CreateDialogWindow(sptr<WindowScene> scene, WindowType type, Rect rect, std::string name = "") in CreateDialogWindow()
76 return Window::Create(winName, option, scene->GetMainWindow()->GetContext()); in CreateDialogWindow()
81 * @tc.desc: FullScreen Main Window + Floating dialogWindow
90 sptr<Window> dialogWindow = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect); in HWTEST_F()
108 * @tc.desc: FullScreen Main Window + 2 dialogWindow
117 sptr<Window> dialogWindow0 = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect); in HWTEST_F()
123 sptr<Window> dialogWindow1 = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect); in HWTEST_F()
138 * @tc.desc: FullScreen Main Window + 2 dialogWindow with the same name
147 sptr<Window> dialogWindow0 = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect, "dialog0"); in HWTEST_F()
148 sptr<Window> dialogWindow in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/interfaces/kits/window/
H A Dwindow.h17 * @addtogroup Window
30 * @brief Declares the <b>Window</b> class that provides a drawing canvas for the <b>RootView</b>,
34 * The <b>Window</b> class also provides window management capabilities, including creating, destroying, showing,
106 class Window { class
109 * @brief A constructor used to create a <b>Window</b> instance.
114 Window() = default;
117 * @brief A destructor used to delete the <b>Window</b> instance.
122 virtual ~Window() = default;
125 * @brief Creates a <b>Window</b> instance.
128 * @return Returns the <b>Window</
[all...]
/foundation/window/window_manager/interfaces/kits/napi/extension_window/
H A Djs_extension_window_register_manager.h34 WmErrorCode RegisterListener(sptr<Window> window, std::string type,
36 WmErrorCode UnregisterListener(sptr<Window> window, std::string type,
49 sptr<Window> window, bool isRegister);
51 sptr<Window> window, bool isRegister);
53 sptr<Window> window, bool isRegister);
55 const sptr<Window>& window, const std::string& type, bool isRegister);
/foundation/window/window_manager/test/systemtest/dms/
H A Ddisplay_manager_test.cpp55 sptr<Window> CreateWindow(std::string name, WindowMode mode, Rect rect, uint32_t color = 0xff000000);
56 bool DrawWindowColor(const sptr<Window>& window, uint32_t color, int32_t width, int32_t height);
85 sptr<Window> DisplayManagerTest::CreateWindow(std::string name, in CreateWindow()
101 sptr<Window> window = Window::Create(option->GetWindowName(), option); in CreateWindow()
115 bool DisplayManagerTest::DrawWindowColor(const sptr<Window>& window, uint32_t color, int32_t width, int32_t height) in DrawWindowColor()
136 sptr<Window> window = CreateWindow("test", WindowMode::WINDOW_MODE_FULLSCREEN, Rect {0, 0, 0, 0}); in HWTEST_F()
165 sptr<Window> window1 = CreateWindow("test", WindowMode::WINDOW_MODE_FULLSCREEN, Rect {0, 0, 0, 0}); in HWTEST_F()
171 sptr<Window> window2 = CreateWindow("private", WindowMode::WINDOW_MODE_FLOATING, in HWTEST_F()
181 sptr<Window> window in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/frameworks/window/
H A Dwindow.cpp21 Window* Window::CreateWindow(const WindowConfig& config) in CreateWindow()
34 void Window::DestroyWindow(Window* window) in DestroyWindow()
/foundation/window/window_manager/previewer/mock/
H A Djs_window_register_manager.h42 WmErrorCode RegisterListener(sptr<Window> window, std::string type,
44 WmErrorCode UnregisterListener(sptr<Window> window, std::string type,
49 WmErrorCode ProcessSystemAvoidAreaChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window,
51 WmErrorCode ProcessAvoidAreaChangeRegister(sptr<JsWindowListener> listener, sptr<Window> window, bool isRegister,
54 const sptr<JsWindowListener>& listener, const sptr<Window>& window, bool isRegister, napi_env env,
/foundation/window/window_manager/wmserver/src/
H A Dfreeze_controller.cpp35 sptr<Window> window = CreateCoverWindow(displayId); in FreezeDisplay()
61 sptr<Window> window = iter->second; in UnfreezeDisplay()
69 sptr<Window> FreezeController::CreateCoverWindow(DisplayId displayId) in CreateCoverWindow()
81 sptr<Window> window = Window::Create("freeze" + std::to_string(displayId), option); in CreateCoverWindow()
/foundation/arkui/ui_lite/frameworks/core/
H A Drender_manager.h44 Window* GetWindowById(int32_t id) in GetWindowById()
71 void AddToDisplay(Window* window);
73 void RemoveFromDisplay(Window* window);
107 List<Window*> winList_;

Completed in 15 milliseconds

12345678910>>...12