Searched refs:ToLayoutHeight (Results 1 - 3 of 3) sorted by relevance
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | session_utils.h | 31 inline float ToLayoutHeight(const int32_t winHeight, float vpr) in ToLayoutHeight() function
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | move_drag_controller.cpp | 741 if (SessionUtils::ToLayoutWidth(minW, vpr_) < SessionUtils::ToLayoutHeight(minH, vpr_) * aspectRatio_) { in CalcFixedAspectRatioTranslateLimits() 742 minW = SessionUtils::ToWinWidth(SessionUtils::ToLayoutHeight(minH, vpr_) * aspectRatio_, vpr_); in CalcFixedAspectRatioTranslateLimits() 746 if (SessionUtils::ToLayoutWidth(maxW, vpr_) < SessionUtils::ToLayoutHeight(maxH, vpr_) * aspectRatio_) { in CalcFixedAspectRatioTranslateLimits() 749 maxW = SessionUtils::ToWinWidth(SessionUtils::ToLayoutHeight(maxH, vpr_) / aspectRatio_, vpr_); in CalcFixedAspectRatioTranslateLimits()
|
H A D | scene_session.cpp | 697 SessionUtils::ToLayoutHeight(limits.maxHeight_, vpr))) { in CheckAspectRatioValid() 702 SessionUtils::ToLayoutHeight(limits.minHeight_, vpr))) { in CheckAspectRatioValid() 2184 rect.height_ = SessionUtils::ToLayoutHeight(rect.height_, vpr); in FixRectByLimits() 2187 limits.minHeight_ = SessionUtils::ToLayoutHeight(limits.minHeight_, vpr); in FixRectByLimits() 2188 limits.maxHeight_ = SessionUtils::ToLayoutHeight(limits.maxHeight_, vpr); in FixRectByLimits() 2238 SessionUtils::ToLayoutHeight(rect.height_, vpr) * aspectRatio_) { in FixRectByAspectRatio() 2239 rect.width_ = SessionUtils::ToWinWidth(SessionUtils::ToLayoutHeight(rect.height_, vpr)* aspectRatio_, vpr); in FixRectByAspectRatio()
|
Completed in 10 milliseconds