/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_immersive_test2.cpp | 255 static void UpdateSystemBarProperties(std::map<WindowType, SystemBarProperty>& systemBarProperties,
in UpdateSystemBarProperties() argument 263 systemBarProperties[type].enable_ = property.enable_;
in UpdateSystemBarProperties() 266 systemBarProperties[type].backgroundColor_ = property.backgroundColor_;
in UpdateSystemBarProperties() 269 systemBarProperties[type].contentColor_ = property.contentColor_;
in UpdateSystemBarProperties() 272 systemBarProperties[type].enableAnimation_ = property.enableAnimation_;
in UpdateSystemBarProperties() 275 systemBarProperties[type].settingFlag_ =
in UpdateSystemBarProperties() 280 systemBarProperties[type].settingFlag_ =
in UpdateSystemBarProperties() 289 std::map<WindowType, SystemBarProperty>& systemBarProperties, sptr<WindowSceneSessionImpl> windowToken)
in SetSystemBarPropertiesByFlags() 298 err = windowToken->SetSystemBarProperty(type, systemBarProperties.at(type));
in SetSystemBarPropertiesByFlags() 308 void GetSystemBarStatus(std::map<WindowType, SystemBarProperty>& systemBarProperties,
in GetSystemBarStatus() argument 288 SetSystemBarPropertiesByFlags(std::map<WindowType, SystemBarPropertyFlag>& systemBarPropertyFlags, std::map<WindowType, SystemBarProperty>& systemBarProperties, sptr<WindowSceneSessionImpl> windowToken) SetSystemBarPropertiesByFlags() argument 326 GetSystemBarStatus(std::map<WindowType, SystemBarProperty>& systemBarProperties, SystemBarProperty pro, std::map<WindowType, SystemBarPropertyFlag>& systemBarPropertyFlags, WindowType type) GetSystemBarStatus() argument 341 GetSpecificBarStatus( std::map<WindowType, SystemBarProperty>& systemBarProperties, std::map<WindowType, SystemBarPropertyFlag>& systemBarPropertyFlags, WindowType type) GetSpecificBarStatus() argument 549 std::map<WindowType, SystemBarProperty> systemBarProperties; HWTEST_F() local 594 std::map<WindowType, SystemBarProperty> systemBarProperties; HWTEST_F() local 653 std::map<WindowType, SystemBarProperty> systemBarProperties; HWTEST_F() local 707 std::map<WindowType, SystemBarProperty> systemBarProperties; HWTEST_F() local [all...] |
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window_utils.cpp | 591 bool GetSystemBarStatus(std::map<WindowType, SystemBarProperty>& systemBarProperties,
in GetSystemBarStatus() argument 614 systemBarProperties[WindowType::WINDOW_TYPE_STATUS_BAR] = statusProperty;
in GetSystemBarStatus() 615 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_BAR] = navProperty;
in GetSystemBarStatus() 616 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_INDICATOR] = navIndicatorProperty;
in GetSystemBarStatus() 629 systemBarProperties[WindowType::WINDOW_TYPE_STATUS_BAR].enable_ = true;
in GetSystemBarStatus() 630 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_INDICATOR].enable_ = true;
in GetSystemBarStatus() 632 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_BAR].enable_ = true;
in GetSystemBarStatus() 733 std::map<WindowType, SystemBarProperty>& systemBarProperties)
in GetSpecificBarStatus() 739 systemBarProperties[type] = property;
in GetSpecificBarStatus() 740 systemBarProperties[typ in GetSpecificBarStatus() 731 GetSpecificBarStatus(sptr<Window>& window, const std::string& name, std::map<WindowType, SystemBarProperty>& newSystemBarProperties, std::map<WindowType, SystemBarProperty>& systemBarProperties) GetSpecificBarStatus() argument 746 GetSpecificBarStatus(napi_env env, napi_callback_info info, std::map<WindowType, SystemBarProperty>& systemBarProperties) GetSpecificBarStatus() argument [all...] |
H A D | js_window_utils.h | 304 bool GetSystemBarStatus(std::map<WindowType, SystemBarProperty>& systemBarProperties,
312 std::map<WindowType, SystemBarProperty>& systemBarProperties);
314 std::map<WindowType, SystemBarProperty>& systemBarProperties);
|
H A D | js_window.cpp | 964 static void UpdateSystemBarProperties(std::map<WindowType, SystemBarProperty>& systemBarProperties,
in UpdateSystemBarProperties() argument 972 systemBarProperties[type].enable_ = property.enable_;
in UpdateSystemBarProperties() 975 systemBarProperties[type].backgroundColor_ = property.backgroundColor_;
in UpdateSystemBarProperties() 978 systemBarProperties[type].contentColor_ = property.contentColor_;
in UpdateSystemBarProperties() 981 systemBarProperties[type].enableAnimation_ = property.enableAnimation_;
in UpdateSystemBarProperties() 984 systemBarProperties[type].settingFlag_ =
in UpdateSystemBarProperties() 989 systemBarProperties[type].settingFlag_ =
in UpdateSystemBarProperties() 2608 std::map<WindowType, SystemBarProperty>& systemBarProperties, sptr<Window> windowToken)
in SetSystemBarPropertiesByFlags() 2617 err = windowToken->SetSystemBarProperty(type, systemBarProperties.at(type));
in SetSystemBarPropertiesByFlags() 2629 wptr<Window> weakToken, std::map<WindowType, SystemBarProperty>& systemBarProperties,
in SetSystemBarEnableTask() 2607 SetSystemBarPropertiesByFlags(std::map<WindowType, SystemBarPropertyFlag>& systemBarPropertyFlags, std::map<WindowType, SystemBarProperty>& systemBarProperties, sptr<Window> windowToken) SetSystemBarPropertiesByFlags() argument 2628 SetSystemBarEnableTask(NapiAsyncTask::ExecuteCallback& execute, NapiAsyncTask::CompleteCallback& complete, wptr<Window> weakToken, std::map<WindowType, SystemBarProperty>& systemBarProperties, std::map<WindowType, SystemBarPropertyFlag>& systemBarPropertyFlags, std::shared_ptr<WMError> errCodePtr) SetSystemBarEnableTask() argument 2681 std::map<WindowType, SystemBarProperty> systemBarProperties; OnSetSystemBarEnable() local 2708 std::map<WindowType, SystemBarProperty> systemBarProperties; OnSetWindowSystemBarEnable() local [all...] |
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/ |
H A D | window_impl.cpp | 976 static void UpdateSystemBarProperties(std::map<WindowType, SystemBarProperty>& systemBarProperties, in UpdateSystemBarProperties() argument 984 systemBarProperties[type].enable_ = property.enable_; in UpdateSystemBarProperties() 987 systemBarProperties[type].backgroundColor_ = property.backgroundColor_; in UpdateSystemBarProperties() 990 systemBarProperties[type].contentColor_ = property.contentColor_; in UpdateSystemBarProperties() 1065 std::map<WindowType, SystemBarProperty> systemBarProperties; in SetWindowSystemBarEnable() local 1071 systemBarProperties[WindowType::WINDOW_TYPE_STATUS_BAR] = statusProperty; in SetWindowSystemBarEnable() 1072 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_BAR] = navProperty; in SetWindowSystemBarEnable() 1078 systemBarProperties[WindowType::WINDOW_TYPE_STATUS_BAR].enable_ = true; in SetWindowSystemBarEnable() 1080 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_BAR].enable_ = true; in SetWindowSystemBarEnable() 1085 UpdateSystemBarProperties(systemBarProperties, systemBarPropertyFlag in SetWindowSystemBarEnable() [all...] |
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_node_test.cpp | 428 auto systemBarProperties = windowNode->GetSystemBarProperty(); in HWTEST_F() local 429 ASSERT_EQ(systemBarProperty1, systemBarProperties.find(WindowType::WINDOW_TYPE_STATUS_BAR)->second); in HWTEST_F() 430 ASSERT_EQ(systemBarProperty2, systemBarProperties.find(WindowType::WINDOW_TYPE_NAVIGATION_BAR)->second); in HWTEST_F() 431 ASSERT_EQ(systemBarProperties.end(), systemBarProperties.find(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW)); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | scene_session.cpp | 3732 auto systemBarProperties = property->GetSystemBarProperty(); in HandleActionUpdateOtherProps() local 3733 for (auto iter : systemBarProperties) { in HandleActionUpdateOtherProps() 3922 auto systemBarProperties = property->GetSystemBarProperty(); in HandleSpecificSystemBarProperty() local 3923 if (auto iter = systemBarProperties.find(type); iter != systemBarProperties.end()) { in HandleSpecificSystemBarProperty()
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_manager.cpp | 3674 auto systemBarProperties = property->GetSystemBarProperty(); in HandleSpecificSystemBarProperty() local 3675 for (auto iter : systemBarProperties) { in HandleSpecificSystemBarProperty()
|