Home
last modified time | relevance | path

Searched refs:spotRatio (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/slider/
H A Drosen_render_circle_block.cpp63 float spotRatio = LIGHT_HEIGHT / (LIGHT_HEIGHT - elevationOfDefaultShadowXS); in SyncGeometryProperties() local
65 SkRect spotRect = SkRect::MakeLTRB(rect.left() * spotRatio, rect.top() * spotRatio, in SyncGeometryProperties()
66 rect.right() * spotRatio, rect.bottom() * spotRatio); in SyncGeometryProperties()
97 float spotRatio = LIGHT_HEIGHT / (LIGHT_HEIGHT - elevationOfDefaultShadowXS); in SyncGeometryProperties() local
99 auto spotRect = RSRect(rect.GetLeft() * spotRatio, rect.GetTop() * spotRatio, in SyncGeometryProperties()
100 rect.GetRight() * spotRatio, rect.GetBottom() * spotRatio); in SyncGeometryProperties()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp251 float spotRatio = std::max(MIN_SPOT_RATIO, std::min(userSpotRatio, MAX_SPOT_RATIO)); in GetShadowDirtyRect() local
254 …:Rect spotRect = Drawing::Rect(ambientRect.GetLeft() * spotRatio, ambientRect.GetTop() * spotRatio, in GetShadowDirtyRect()
255 ambientRect.GetRight() * spotRatio, ambientRect.GetBottom() * spotRatio); in GetShadowDirtyRect()