Home
last modified time | relevance | path

Searched refs:BLUR_SIGMA_SCALE (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dscalar.h27 static const scalar BLUR_SIGMA_SCALE = 0.57735f; variable
37 return radius > 0 ? BLUR_SIGMA_SCALE * radius + 0.5f : 0.0f; in ConvertRadiusToSigma()
42 return sigma > 0.5f ? (sigma - 0.5f) / BLUR_SIGMA_SCALE : 0.0f; in ConvertSigmaToRadius()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/
H A Ddrawing_decoration_painter.h34 constexpr float BLUR_SIGMA_SCALE = 0.57735f; in ConvertRadiusToSigma() local
36 return radius > 0.0f ? BLUR_SIGMA_SCALE * radius + SCALE_HALF : 0.0f; in ConvertRadiusToSigma()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_filter.cpp66 return radiusPx > 0.0f ? BLUR_SIGMA_SCALE * radiusPx + 0.5f : 0.0f; in RadiusVp2Sigma()
H A Drs_material_filter.cpp121 return radiusPx > 0.0f ? BLUR_SIGMA_SCALE * radiusPx + 0.5f : 0.0f; in RadiusVp2Sigma()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_filter.h29 constexpr float BLUR_SIGMA_SCALE = 0.57735f; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_func_wrapper.cpp37 constexpr float BLUR_SIGMA_SCALE = 0.57735f; variable
452 return GreatNotEqual(radius, 0.0f) ? BLUR_SIGMA_SCALE * radius + SCALE_HALF : 0.0f; in RadiusToSigma()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Ddrag_event.cpp81 constexpr float BLUR_SIGMA_SCALE = 0.57735f; variable
1403 return GreatNotEqual(radius, 0.0f) ? BLUR_SIGMA_SCALE * radius + SCALE_HALF : 0.0f; in RadiusToSigma()
/ohos5.0/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_drawing.cpp99 constexpr float BLUR_SIGMA_SCALE { 0.57735f }; variable
2077 return radiusPx > 0.0f ? BLUR_SIGMA_SCALE * radiusPx + 0.5f : 0.0f; in RadiusVp2Sigma()