Home
last modified time | relevance | path

Searched defs:curRatio (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy_cascade.cpp347 float curRatio = static_cast<float>(newRect.width_) / static_cast<float>(newRect.height_); in ComputeRectByAspectRatio() local
781 float curRatio = static_cast<float>(winRect.width_) / static_cast<float>(winRect.height_); in FixWindowSizeByRatioIfDragBeyondLimitRegion() local
857 float curRatio = static_cast<float>(winRect.width_) / static_cast<float>(winRect.height_); in UpdateFloatingWindowSizeBySizeLimits() local
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dmove_drag_controller.cpp418 float curRatio = static_cast<float>(targetRect.width_) / static_cast<float>(targetRect.height_); in CalcFreeformTargetRect() local
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dwindow_helper.h516 auto curRatio = static_cast<float>(rect.width_) / static_cast<float>(rect.height_); in IsRectSatisfiedWithSizeLimits() local
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_scene_session_impl.cpp1659 float curRatio = static_cast<float>(width) / static_cast<float>(height); in UpdateFloatingWindowSizeBySizeLimits() local