Home
last modified time | relevance | path

Searched refs:windowSystemEffectConfig_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_system_effect.cpp32 AppWindowEffectConfig WindowSystemEffect::windowSystemEffectConfig_; member in OHOS::Rosen::WindowSystemEffect
37 windowSystemEffectConfig_ = config; in SetWindowSystemEffectConfig()
63 auto fullscreenRadius = windowSystemEffectConfig_.fullScreenCornerRadius_ * vpr; in SetCornerRadius()
64 auto splitRadius = windowSystemEffectConfig_.splitCornerRadius_ * vpr; in SetCornerRadius()
65 auto floatRadius = windowSystemEffectConfig_.floatCornerRadius_ * vpr; in SetCornerRadius()
117 if (MathHelper::NearZero(windowSystemEffectConfig_.focusedShadow_.elevation_) && in SetWindowShadow()
118 MathHelper::NearZero(windowSystemEffectConfig_.unfocusedShadow_.elevation_) && in SetWindowShadow()
119 MathHelper::NearZero(windowSystemEffectConfig_.focusedShadow_.radius_) && in SetWindowShadow()
120 MathHelper::NearZero(windowSystemEffectConfig_.unfocusedShadow_.radius_)) { in SetWindowShadow()
131 auto& shadow = node->isFocused_ ? windowSystemEffectConfig_.focusedShadow_ : in SetWindowShadow()
[all …]
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_system_effect_test.cpp106 WindowSystemEffect::windowSystemEffectConfig_.fullScreenCornerRadius_ = 0.0f;
112 WindowSystemEffect::windowSystemEffectConfig_.splitCornerRadius_ = 0.0f;
118 WindowSystemEffect::windowSystemEffectConfig_.floatCornerRadius_ = 0.0f;
122 WindowSystemEffect::windowSystemEffectConfig_.floatCornerRadius_ = 16.0f;
155 WindowSystemEffect::windowSystemEffectConfig_.focusedShadow_.color_ = "";
158 WindowSystemEffect::windowSystemEffectConfig_.focusedShadow_.elevation_ = 0.0001f;
161 WindowSystemEffect::windowSystemEffectConfig_ = effectConfig_;
/ohos5.0/foundation/window/window_manager/wmserver/include/
H A Dwindow_system_effect.h67 static AppWindowEffectConfig windowSystemEffectConfig_; variable