Home
last modified time | relevance | path

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

/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window_utils.cpp509 bool GetSystemBarStatus(std::map<WindowType, SystemBarProperty>& systemBarProperties, in GetSystemBarStatus() argument
527 systemBarProperties[WindowType::WINDOW_TYPE_STATUS_BAR] = statusProperty; in GetSystemBarStatus()
528 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_BAR] = navProperty; in GetSystemBarStatus()
538 systemBarProperties[WindowType::WINDOW_TYPE_STATUS_BAR].enable_ = true; in GetSystemBarStatus()
540 systemBarProperties[WindowType::WINDOW_TYPE_NAVIGATION_BAR].enable_ = true; in GetSystemBarStatus()
Djs_window.cpp641 static void UpdateSystemBarProperties(std::map<WindowType, SystemBarProperty>& systemBarProperties, in UpdateSystemBarProperties() argument
651 systemBarProperties[type].enable_ = property.enable_; in UpdateSystemBarProperties()
654 systemBarProperties[type].backgroundColor_ = property.backgroundColor_; in UpdateSystemBarProperties()
657 systemBarProperties[type].contentColor_ = property.contentColor_; in UpdateSystemBarProperties()
1804 std::map<WindowType, SystemBarProperty> systemBarProperties; in OnSetSystemBarEnable() local
1806 … if (errCode == WMError::WM_OK && !GetSystemBarStatus(systemBarProperties, systemBarPropertyFlags, in OnSetSystemBarEnable()
1811 …AsyncTask::CompleteCallback complete = [weakToken, systemBarProperties, systemBarPropertyFlags, er… in OnSetSystemBarEnable()
1821 UpdateSystemBarProperties(systemBarProperties, systemBarPropertyFlags, weakToken); in OnSetSystemBarEnable()
1823 systemBarProperties.at(WindowType::WINDOW_TYPE_STATUS_BAR)); in OnSetSystemBarEnable()
1825 systemBarProperties.at(WindowType::WINDOW_TYPE_NAVIGATION_BAR)); in OnSetSystemBarEnable()
[all …]
Djs_window_utils.h175 bool GetSystemBarStatus(std::map<WindowType, SystemBarProperty>& systemBarProperties,
/foundation/window/window_manager/wmserver/test/unittest/
Dwindow_node_test.cpp418 auto systemBarProperties = windowNode->GetSystemBarProperty(); variable
419 …ASSERT_EQ(systemBarProperty1, systemBarProperties.find(WindowType::WINDOW_TYPE_STATUS_BAR)->second…
420 …ASSERT_EQ(systemBarProperty2, systemBarProperties.find(WindowType::WINDOW_TYPE_NAVIGATION_BAR)->se…
421 …ASSERT_EQ(systemBarProperties.end(), systemBarProperties.find(WindowType::WINDOW_TYPE_APP_MAIN_WIN…
/foundation/window/window_manager/window_scene/session_manager/src/
Dscene_session_manager.cpp1539 auto systemBarProperties = property->GetSystemBarProperty(); in HandleUpdateProperty() local
1540 for (auto iter : systemBarProperties) { in HandleUpdateProperty()