Lines Matching defs:shadow
121 WLOGFD("shadow elevation and radius are both 0.0, id: %{public}u", node->GetWindowId());
131 auto& shadow = node->isFocused_ ? windowSystemEffectConfig_.focusedShadow_ :
136 if (MathHelper::GreatNotEqual(shadow.elevation_, 0.f)) {
142 WLOGFD("[WEffect]close shadow id: %{public}u", node->GetWindowId());
147 if (!ColorParser::Parse(shadow.color_, colorValue)) {
148 WLOGFE("[WEffect]invalid color string: %{public}s", shadow.color_.c_str());
153 node->GetWindowId(), static_cast<int32_t>(node->isFocused_), shadow.elevation_);
155 shadow.color_.c_str(), shadow.offsetX_, shadow.offsetY_, shadow.alpha_, shadow.radius_);
157 if (MathHelper::GreatNotEqual(shadow.elevation_, 0.f)) {
158 surfaceNode->SetShadowElevation(shadow.elevation_ * vpr);
160 surfaceNode->SetShadowRadius(ConvertRadiusToSigma(shadow.radius_ * vpr));
163 surfaceNode->SetShadowOffsetX(shadow.offsetX_ * vpr);
164 surfaceNode->SetShadowOffsetY(shadow.offsetY_ * vpr);
165 surfaceNode->SetShadowAlpha(shadow.alpha_);