Home
last modified time | relevance | path

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

/foundation/windowmanager/wm/test/systemtest/
Dwindow_immersive_test.cpp97 for (auto tint : tints) { in SetWindowSystemProps() local
98 window->SetSystemBarProperty(tint.type_, tint.prop_); in SetWindowSystemProps()
106 for (auto tint : expect) { in DumpFailedInfo() local
108 static_cast<uint32_t>(tint.type_), tint.prop_.enable_, in DumpFailedInfo()
109 tint.prop_.backgroundColor_, tint.prop_.contentColor_); in DumpFailedInfo()
112 for (auto tint : act) { in DumpFailedInfo() local
114 static_cast<uint32_t>(tint.type_), tint.prop_.enable_, in DumpFailedInfo()
115 tint.prop_.backgroundColor_, tint.prop_.contentColor_); in DumpFailedInfo()
129 for (auto tint : act) { in SystemBarPropsEqualsTo() local
130 if (item.prop_ == tint.prop_ && item.type_ == tint.type_) { in SystemBarPropsEqualsTo()
[all …]
/foundation/windowmanager/wm/src/
Dwindow_manager.cpp185 for (auto tint : tints) { in NotifySystemBarChanged() local
189 tint.type_, tint.prop_.enable_, tint.prop_.backgroundColor_, tint.prop_.contentColor_, in NotifySystemBarChanged()
190 tint.region_.posX_, tint.region_.posY_, tint.region_.width_, tint.region_.height_); in NotifySystemBarChanged()
/foundation/windowmanager/wm/src/zidl/
Dwindow_manager_agent_stub.cpp60 SystemBarRegionTint tint(type, prop, region); in OnRemoteRequest() local
61 tints.emplace_back(tint); in OnRemoteRequest()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window_utils.cpp239 …tiveValue* CreateJsSystemBarRegionTintObject(NativeEngine& engine, const SystemBarRegionTint& tint) in CreateJsSystemBarRegionTintObject() argument
249 object->SetProperty("type", CreateJsValue(engine, static_cast<uint32_t>(tint.type_))); in CreateJsSystemBarRegionTintObject()
250 object->SetProperty("isEnable", CreateJsValue(engine, tint.prop_.enable_)); in CreateJsSystemBarRegionTintObject()
251 std::string bkgColor = GetHexColor(tint.prop_.backgroundColor_); in CreateJsSystemBarRegionTintObject()
254 std::string contentColor = GetHexColor(tint.prop_.contentColor_); in CreateJsSystemBarRegionTintObject()
257 Rect rect = tint.region_; in CreateJsSystemBarRegionTintObject()