/foundation/window/window_manager/wmserver/include/ |
H A D | window_zorder_policy.h | 31 int32_t GetWindowPriority(WindowType type) const; 34 const std::map<WindowType, int32_t> windowPriorityMap_ { 36 { WindowType::WINDOW_TYPE_MEDIA, -1 }, 37 { WindowType::WINDOW_TYPE_APP_SUB_WINDOW, 2 }, 38 { WindowType::WINDOW_TYPE_SYSTEM_SUB_WINDOW, 2 }, 39 { WindowType::WINDOW_TYPE_APP_COMPONENT, 2 }, 42 { WindowType::WINDOW_TYPE_APP_MAIN_WINDOW, 1 }, 45 { WindowType::WINDOW_TYPE_WALLPAPER, 0 }, 46 { WindowType::WINDOW_TYPE_DESKTOP, 1 }, 47 { WindowType [all...] |
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.h | 71 const std::map<WindowType, JsSessionType> WINDOW_TO_JS_SESSION_TYPE_MAP { 72 { WindowType::WINDOW_TYPE_APP_MAIN_WINDOW, JsSessionType::TYPE_APP }, 73 { WindowType::WINDOW_TYPE_APP_SUB_WINDOW, JsSessionType::TYPE_SUB_APP }, 74 { WindowType::WINDOW_TYPE_SYSTEM_ALARM_WINDOW, JsSessionType::TYPE_SYSTEM_ALERT }, 75 { WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT, JsSessionType::TYPE_INPUT_METHOD }, 76 { WindowType::WINDOW_TYPE_STATUS_BAR, JsSessionType::TYPE_STATUS_BAR }, 77 { WindowType::WINDOW_TYPE_PANEL, JsSessionType::TYPE_PANEL }, 78 { WindowType::WINDOW_TYPE_KEYGUARD, JsSessionType::TYPE_KEYGUARD }, 79 { WindowType::WINDOW_TYPE_VOLUME_OVERLAY, JsSessionType::TYPE_VOLUME_OVERLAY }, 80 { WindowType [all...] |
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/ |
H A D | window_utils.h | 115 const std::map<ApiWindowType, WindowType> CJ_TO_NATIVE_WINDOW_TYPE_MAP { 116 { ApiWindowType::TYPE_APP, WindowType::WINDOW_TYPE_APP_SUB_WINDOW }, 117 { ApiWindowType::TYPE_DIALOG, WindowType::WINDOW_TYPE_DIALOG }, 118 { ApiWindowType::TYPE_SYSTEM_ALERT, WindowType::WINDOW_TYPE_SYSTEM_ALARM_WINDOW }, 119 { ApiWindowType::TYPE_INPUT_METHOD, WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT }, 120 { ApiWindowType::TYPE_STATUS_BAR, WindowType::WINDOW_TYPE_STATUS_BAR }, 121 { ApiWindowType::TYPE_PANEL, WindowType::WINDOW_TYPE_PANEL }, 122 { ApiWindowType::TYPE_KEYGUARD, WindowType::WINDOW_TYPE_KEYGUARD }, 123 { ApiWindowType::TYPE_VOLUME_OVERLAY, WindowType::WINDOW_TYPE_VOLUME_OVERLAY }, 124 { ApiWindowType::TYPE_NAVIGATION_BAR, WindowType [all...] |
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window_utils.h | 102 const std::map<WindowType, ApiWindowType> NATIVE_JS_TO_WINDOW_TYPE_MAP {
103 { WindowType::WINDOW_TYPE_APP_SUB_WINDOW, ApiWindowType::TYPE_APP },
104 { WindowType::WINDOW_TYPE_DIALOG, ApiWindowType::TYPE_DIALOG },
105 { WindowType::WINDOW_TYPE_SYSTEM_ALARM_WINDOW, ApiWindowType::TYPE_SYSTEM_ALERT },
106 { WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT, ApiWindowType::TYPE_INPUT_METHOD },
107 { WindowType::WINDOW_TYPE_STATUS_BAR, ApiWindowType::TYPE_STATUS_BAR },
108 { WindowType::WINDOW_TYPE_PANEL, ApiWindowType::TYPE_PANEL },
109 { WindowType::WINDOW_TYPE_KEYGUARD, ApiWindowType::TYPE_KEYGUARD },
110 { WindowType::WINDOW_TYPE_VOLUME_OVERLAY, ApiWindowType::TYPE_VOLUME_OVERLAY },
111 { WindowType [all...] |
H A D | js_window_utils.cpp | 449 WindowType type = window->GetType();
in CreateJsWindowPropertiesObject() 491 SystemBarProperty status = window->GetSystemBarPropertyByType(WindowType::WINDOW_TYPE_STATUS_BAR);
in CreateJsSystemBarPropertiesObject() 492 SystemBarProperty navi = window->GetSystemBarPropertyByType(WindowType::WINDOW_TYPE_NAVIGATION_BAR);
in CreateJsSystemBarPropertiesObject() 550 if (windowType >= WindowType::APP_MAIN_WINDOW_BASE && windowType < WindowType::APP_MAIN_WINDOW_END &&
in CreateJsWindowInfoArrayObject() 591 bool GetSystemBarStatus(std::map<WindowType, SystemBarProperty>& systemBarProperties,
in GetSystemBarStatus() 592 std::map<WindowType, SystemBarPropertyFlag>& systemBarpropertyFlags,
in GetSystemBarStatus() 608 auto statusProperty = window->GetSystemBarPropertyByType(WindowType::WINDOW_TYPE_STATUS_BAR);
in GetSystemBarStatus() 609 auto navProperty = window->GetSystemBarPropertyByType(WindowType::WINDOW_TYPE_NAVIGATION_BAR);
in GetSystemBarStatus() 610 auto navIndicatorProperty = window->GetSystemBarPropertyByType(WindowType in GetSystemBarStatus() [all...] |
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_systemsubwindow_test.cpp | 38 std::vector<WindowType> windowTypes_ = {
39 WindowType::WINDOW_TYPE_APP_LAUNCHING,
40 WindowType::WINDOW_TYPE_DOCK_SLICE,
41 WindowType::WINDOW_TYPE_INCOMING_CALL,
42 WindowType::WINDOW_TYPE_SEARCHING_BAR,
43 WindowType::WINDOW_TYPE_SYSTEM_ALARM_WINDOW,
44 WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT,
45 WindowType::WINDOW_TYPE_FLOAT,
46 WindowType::WINDOW_TYPE_TOAST,
47 WindowType [all...] |
H A D | window_immersive_test2.cpp | 42 { WindowType::WINDOW_TYPE_STATUS_BAR, SYS_BAR_PROP_DEFAULT, SYS_BAR_REGION_NULL },
43 { WindowType::WINDOW_TYPE_NAVIGATION_BAR, SYS_BAR_PROP_DEFAULT, SYS_BAR_REGION_NULL },
46 { WindowType::WINDOW_TYPE_STATUS_BAR, SYS_BAR_PROP_1, SYS_BAR_REGION_NULL },
47 { WindowType::WINDOW_TYPE_NAVIGATION_BAR, SYS_BAR_PROP_2, SYS_BAR_REGION_NULL },
50 { WindowType::WINDOW_TYPE_STATUS_BAR, SYS_BAR_PROP_1, SYS_BAR_REGION_NULL },
51 { WindowType::WINDOW_TYPE_NAVIGATION_BAR, SYS_BAR_PROP_3, SYS_BAR_REGION_NULL },
115 WLOGI("WindowType: %{public}4d, Enable: %{public}4d, Color: %{public}x | %{public}x",
in DumpFailedInfo() 121 WLOGI("WindowType: %{public}4d, Enable: %{public}4d, Color: %{public}x | %{public}x",
in DumpFailedInfo() 134 WLOGI("WindowType: %{public}4d, Enable: %{public}4d, Color: %{public}x | %{public}x",
in DumpFailedInfo() 171 if ((tint.type_ == WindowType in SystemBarEnableState() [all...] |
H A D | window_subwindow_test.cpp | 63 static sptr<Window> CreateSubWindow(sptr<WindowScene> scene, WindowType type,
in CreateSubWindow() 89 sptr<Window> subWindow = CreateSubWindow(scene, WindowType::WINDOW_TYPE_APP_SUB_WINDOW, rect, flags);
in HWTEST_F() 117 sptr<Window> subWindow = CreateSubWindow(scene, WindowType::WINDOW_TYPE_APP_SUB_WINDOW, rect, flags);
in HWTEST_F() 145 sptr<Window> subWindow = CreateSubWindow(scene, WindowType::WINDOW_TYPE_MEDIA, rect, flags);
in HWTEST_F() 173 sptr<Window> subWindow = CreateSubWindow(scene, WindowType::WINDOW_TYPE_MEDIA, rect, flags);
in HWTEST_F() 201 sptr<Window> subWindow = CreateSubWindow(scene, WindowType::WINDOW_TYPE_MEDIA, rect, flags);
in HWTEST_F() 207 sptr<Window> subWindow2 = CreateSubWindow(scene, WindowType::WINDOW_TYPE_APP_SUB_WINDOW, rect, flags);
in HWTEST_F() 234 sptr<Window> subWindow0 = CreateSubWindow(scene, WindowType::WINDOW_TYPE_APP_SUB_WINDOW, rect, 0);
in HWTEST_F() 240 sptr<Window> subWindow1 = CreateSubWindow(scene, WindowType::WINDOW_TYPE_APP_SUB_WINDOW, rect, 0);
in HWTEST_F() 268 sptr<Window> subWindow = CreateSubWindow(scene, WindowType in HWTEST_F() [all...] |
H A D | window_dialogwindow_test.cpp | 64 static sptr<Window> CreateDialogWindow(sptr<WindowScene> scene, WindowType type, Rect rect, std::string name = "")
in CreateDialogWindow() 90 sptr<Window> dialogWindow = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect);
in HWTEST_F() 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() 147 sptr<Window> dialogWindow0 = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect, "dialog0");
in HWTEST_F() 148 sptr<Window> dialogWindow1 = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect, "dialog0");
in HWTEST_F() 182 sptr<Window> dialogWindow0 = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect, "dialog0");
in HWTEST_F() 191 sptr<Window> dialogWindow1 = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect, "dialog0");
in HWTEST_F() 214 sptr<Window> dialogWindow = CreateDialogWindow(scene, WindowType::WINDOW_TYPE_DIALOG, rect);
in HWTEST_F() 241 sptr<Window> dialogWindow = CreateDialogWindow(scene, WindowType in HWTEST_F() [all...] |
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | window_option.h | 55 void SetWindowType(WindowType type); 133 void SetSystemBarProperty(WindowType type, const SystemBarProperty& property); 280 void SetParentWindowType(WindowType parentWindowType); 294 WindowType GetWindowType() const; 357 const std::unordered_map<WindowType, SystemBarProperty>& GetSystemBarProperty() const; 476 virtual WindowType GetParentWindowType() const; 496 WindowType type_ { WindowType::WINDOW_TYPE_APP_MAIN_WINDOW }; 513 std::unordered_map<WindowType, SystemBarProperty> sysBarPropMap_ { 514 { WindowType [all...] |
/foundation/window/window_manager/window_scene/common/include/ |
H A D | session_helper.h | 82 static inline bool IsBelowSystemWindow(WindowType type) in IsBelowSystemWindow() 84 return (type >= WindowType::BELOW_APP_SYSTEM_WINDOW_BASE && type < WindowType::BELOW_APP_SYSTEM_WINDOW_END); in IsBelowSystemWindow() 87 static inline bool IsAboveSystemWindow(WindowType type) in IsAboveSystemWindow() 89 return (type >= WindowType::ABOVE_APP_SYSTEM_WINDOW_BASE && type < WindowType::ABOVE_APP_SYSTEM_WINDOW_END); in IsAboveSystemWindow() 92 static inline bool IsSystemSubWindow(WindowType type) in IsSystemSubWindow() 94 return (type >= WindowType::SYSTEM_SUB_WINDOW_BASE && type < WindowType::SYSTEM_SUB_WINDOW_END); in IsSystemSubWindow() 97 static inline bool IsSystemWindow(WindowType typ [all...] |
/foundation/window/window_manager/utils/include/ |
H A D | window_helper.h | 31 static inline bool IsMainWindow(WindowType type) in IsMainWindow() 33 return (type >= WindowType::APP_MAIN_WINDOW_BASE && type < WindowType::APP_MAIN_WINDOW_END); in IsMainWindow() 36 static inline bool IsMainWindowAndNotShown(WindowType type, WindowState state) in IsMainWindowAndNotShown() 41 static inline bool IsSubWindow(WindowType type) in IsSubWindow() 43 return (type >= WindowType::APP_SUB_WINDOW_BASE && type < WindowType::APP_SUB_WINDOW_END); in IsSubWindow() 46 static inline bool IsModalSubWindow(WindowType type, uint32_t windowFlags) in IsModalSubWindow() 51 static inline bool IsApplicationModalSubWindow(WindowType type, uint32_t windowFlags) in IsApplicationModalSubWindow() 57 static inline bool IsToastSubWindow(WindowType typ [all...] |
H A D | window_visibility_info.h | 69 WindowType winType) : windowId_(winId), pid_(pid), uid_(uid), visibilityState_(visibilityState),
in WindowVisibilityInfo() 73 WindowType winType, WindowStatus windowStatus, const Rect& rect, const std::string& bundleName,
in WindowVisibilityInfo() 108 WindowType GetWindowType() const { return windowType_; }
in GetWindowType() 116 WindowType windowType_ { WindowType::WINDOW_TYPE_APP_MAIN_WINDOW };
|
H A D | window_drawing_content_info.h | 54 WindowType winType) : windowId_(winId), pid_(pid), uid_(uid), in WindowDrawingContentInfo() 80 WindowType windowType_ { WindowType::WINDOW_TYPE_APP_MAIN_WINDOW };
|
/foundation/window/window_manager/previewer/include/ |
H A D | window_option.h | 55 void SetWindowType(WindowType type); 140 void SetSystemBarProperty(WindowType type, const SystemBarProperty& property); 253 WindowType GetWindowType() const; 330 const std::unordered_map<WindowType, SystemBarProperty>& GetSystemBarProperty() const; 416 WindowType type_ { WindowType::WINDOW_TYPE_APP_MAIN_WINDOW }; 436 std::unordered_map<WindowType, SystemBarProperty> sysBarPropMap_ { 437 { WindowType::WINDOW_TYPE_STATUS_BAR, SystemBarProperty() }, 438 { WindowType::WINDOW_TYPE_NAVIGATION_BAR, SystemBarProperty() },
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_supplement_test.cpp | 95 property->SetWindowType(WindowType::WINDOW_TYPE_SYSTEM_SUB_WINDOW);
in HWTEST_F() 117 property->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW);
in HWTEST_F() 168 property->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW);
in HWTEST_F() 198 property->SetWindowType(WindowType::WINDOW_TYPE_APP_COMPONENT);
in HWTEST_F() 201 property->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW);
in HWTEST_F() 241 property->SetWindowType(WindowType::WINDOW_TYPE_UI_EXTENSION);
in HWTEST_F() 244 property->SetWindowType(WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT);
in HWTEST_F() 247 property->SetWindowType(WindowType::WINDOW_TYPE_FLOAT);
in HWTEST_F() 251 property->SetWindowType(WindowType::WINDOW_TYPE_APP_SUB_WINDOW);
in HWTEST_F() 255 property->SetWindowType(WindowType in HWTEST_F() [all...] |
H A D | anomaly_detection_test.cpp | 86 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in SessionVisibleTest() 96 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in ZeroOrderTest() 116 sceneSession1->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in EQOrderTest() 126 sceneSession2->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in EQOrderTest() 141 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT); in WindowTypeTest() 152 callingSession->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in WindowTypeTest() 179 sceneSession->property_->SetWindowType(WindowType::ABOVE_APP_SYSTEM_WINDOW_BASE); in SubWindowTest() 183 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_DIALOG); in SubWindowTest() 192 mainSession->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in SubWindowTest() 196 sceneSession->property_->SetWindowType(WindowType in SubWindowTest() [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_scene_session_impl_test.cpp | 155 windowSceneSession->SetWindowType(WindowType::APP_MAIN_WINDOW_BASE); in HWTEST_F() 191 windowSceneSession->property_->type_ = WindowType::APP_SUB_WINDOW_BASE; in HWTEST_F() 220 windowSceneSession->property_->type_ = WindowType::APP_SUB_WINDOW_BASE; in HWTEST_F() 247 windowSceneSession->property_->type_ = WindowType::APP_MAIN_WINDOW_BASE; in HWTEST_F() 250 windowSceneSession->property_->type_ = WindowType::APP_SUB_WINDOW_BASE; in HWTEST_F() 278 windowSceneSession->property_->type_ = WindowType::APP_SUB_WINDOW_BASE; in HWTEST_F() 307 windowSceneSession->property_->type_ = WindowType::SYSTEM_WINDOW_BASE; in HWTEST_F() 336 windowSceneSession->property_->type_ = WindowType::SYSTEM_SUB_WINDOW_BASE; in HWTEST_F() 366 ASSERT_FALSE(!windowSceneSession->IsValidSystemWindowType(WindowType::WINDOW_TYPE_SYSTEM_ALARM_WINDOW)); in HWTEST_F() 367 ASSERT_FALSE(!windowSceneSession->IsValidSystemWindowType(WindowType in HWTEST_F() [all...] |
H A D | window_impl_test5.cpp | 88 window->property_->SetWindowType(WindowType::WINDOW_TYPE_SYSTEM_SUB_WINDOW); in HWTEST_F() 91 window->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_SUB_WINDOW); in HWTEST_F() 94 window->property_->SetWindowType(WindowType::WINDOW_TYPE_DIALOG); in HWTEST_F() 97 window->property_->SetWindowType(WindowType::APP_WINDOW_BASE); in HWTEST_F() 111 option->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in HWTEST_F() 188 auto type = WindowType::WINDOW_TYPE_FLOAT; in HWTEST_F() 191 type = WindowType::WINDOW_TYPE_FLOAT_CAMERA; in HWTEST_F() 197 option->SetWindowType(WindowType::WINDOW_TYPE_FLOAT_CAMERA); in HWTEST_F() 213 option->SetWindowType(WindowType::WINDOW_TYPE_STATUS_BAR); in HWTEST_F() 218 window->property_->SetWindowType(WindowType in HWTEST_F() [all...] |
H A D | window_scene_session_impl_test2.cpp | 85 window->property_->SetWindowType(WindowType::SYSTEM_SUB_WINDOW_BASE); in HWTEST_F() 104 window->property_->SetWindowType(WindowType::SYSTEM_SUB_WINDOW_BASE); in HWTEST_F() 123 window->property_->SetWindowType(WindowType::SYSTEM_SUB_WINDOW_BASE); in HWTEST_F() 140 window->property_->SetWindowType(WindowType::SYSTEM_SUB_WINDOW_BASE); in HWTEST_F() 239 window->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_SUB_WINDOW); in HWTEST_F() 252 option->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in HWTEST_F() 258 windowSceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in HWTEST_F() 281 option->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in HWTEST_F() 300 option->SetWindowType(WindowType::WINDOW_TYPE_FLOAT_CAMERA); in HWTEST_F() 318 option->SetWindowType(WindowType in HWTEST_F() [all...] |
H A D | window_option_test.cpp | 28 const std::unordered_map<WindowType, SystemBarProperty>& SYS_BAR_PROPS_TEST = { 29 { WindowType::WINDOW_TYPE_STATUS_BAR, SYS_BAR_PROP_1 }, 30 { WindowType::WINDOW_TYPE_NAVIGATION_BAR, SYS_BAR_PROP_2 }, 32 const std::unordered_map<WindowType, SystemBarProperty>& SYS_BAR_PROPS_DEFAULT = { 33 { WindowType::WINDOW_TYPE_STATUS_BAR, SYS_BAR_PROP_DEFAULT }, 34 { WindowType::WINDOW_TYPE_NAVIGATION_BAR, SYS_BAR_PROP_DEFAULT }, 86 option->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in HWTEST_F() 87 ASSERT_EQ(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW, option->GetWindowType()); in HWTEST_F() 280 option->SetSystemBarProperty(WindowType::WINDOW_TYPE_STATUS_BAR, SYS_BAR_PROP_1); in HWTEST_F() 281 option->SetSystemBarProperty(WindowType in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | system_bar_style_ohos.cpp | 23 std::map<WindowType, SystemBarProperty>& properties, std::map<WindowType, SystemBarPropertyFlag>& propertyFlags); 28 const std::map<OHOS::Rosen::WindowType, OHOS::Rosen::SystemBarProperty>& properties) in GetStatusBarContentColor() 30 auto it = properties.find(OHOS::Rosen::WindowType::WINDOW_TYPE_STATUS_BAR); in GetStatusBarContentColor() 38 const std::map<OHOS::Rosen::WindowType, OHOS::Rosen::SystemBarPropertyFlag>& propertyFlags) in GetStatusBarContentColorFlag() 40 auto it = propertyFlags.find(OHOS::Rosen::WindowType::WINDOW_TYPE_STATUS_BAR); in GetStatusBarContentColorFlag() 70 style->propertyFlags_.emplace(Rosen::WindowType::WINDOW_TYPE_STATUS_BAR, flag); in GetCurrentSystemBarStyle()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | system_session.cpp | 55 if (GetWindowType() == WindowType::WINDOW_TYPE_FLOAT_CAMERA) { in UpdateCameraWindowStatus() 61 } else if (GetWindowType() == WindowType::WINDOW_TYPE_PIP && GetWindowMode() == WindowMode::WINDOW_MODE_PIP) { in UpdateCameraWindowStatus() 82 if (((type == WindowType::WINDOW_TYPE_TOAST) || (type == WindowType::WINDOW_TYPE_FLOAT)) && in Show() 123 if (!SessionPermission::IsSystemCalling() && type != WindowType::WINDOW_TYPE_INPUT_METHOD_STATUS_BAR) { in Hide() 187 if (type == WindowType::WINDOW_TYPE_DIALOG) { in ProcessPointDownSession() 214 if (GetWindowType() == WindowType::WINDOW_TYPE_DIALOG) { in TransferKeyEvent() 240 if (GetWindowType() == WindowType::WINDOW_TYPE_DIALOG && !dialogSessionBackGestureEnabled_) { in ProcessBackEvent() 310 bool SystemSession::NeedSystemPermission(WindowType type) in NeedSystemPermission() 312 return !(type == WindowType in NeedSystemPermission() [all...] |
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_node_container_test.cpp | 78 WindowType type, WindowMode mode, const Rect& screenRect) in CreateWindowProperty() 107 WindowType::WINDOW_TYPE_APP_LAUNCHING, WindowMode::WINDOW_MODE_FLOATING, windowRect_); in HWTEST_F() 112 WindowType::WINDOW_TYPE_SYSTEM_SUB_WINDOW, WindowMode::WINDOW_MODE_FLOATING, windowRect_); in HWTEST_F() 127 WindowType::WINDOW_TYPE_SYSTEM_SUB_WINDOW, WindowMode::WINDOW_MODE_FLOATING, windowRect_); in HWTEST_F() 131 WindowType::WINDOW_TYPE_SYSTEM_SUB_WINDOW, WindowMode::WINDOW_MODE_FLOATING, windowRect_); in HWTEST_F() 145 WindowType::WINDOW_TYPE_SYSTEM_SUB_WINDOW, WindowMode::WINDOW_MODE_FLOATING, windowRect_); in HWTEST_F() 163 WindowType::WINDOW_TYPE_APP_MAIN_WINDOW, WindowMode::WINDOW_MODE_FULLSCREEN, windowRect_); in HWTEST_F() 167 WindowType::WINDOW_TYPE_APP_MAIN_WINDOW, WindowMode::WINDOW_MODE_FLOATING, windowRect_); in HWTEST_F() 183 WindowType::WINDOW_TYPE_KEYGUARD, WindowMode::WINDOW_MODE_FULLSCREEN, windowRect_); in HWTEST_F() 211 WindowType in HWTEST_F() [all...] |
/foundation/window/window_manager/previewer/src/ |
H A D | window_option.cpp | 36 void WindowOption::SetWindowType(WindowType type) in SetWindowType() 86 void WindowOption::SetSystemBarProperty(WindowType type, const SystemBarProperty& property) in SetSystemBarProperty() 88 if (type == WindowType::WINDOW_TYPE_STATUS_BAR || type == WindowType::WINDOW_TYPE_NAVIGATION_BAR) { in SetSystemBarProperty() 169 WindowType WindowOption::GetWindowType() const in GetWindowType() 229 const std::unordered_map<WindowType, SystemBarProperty>& WindowOption::GetSystemBarProperty() const in GetSystemBarProperty()
|