Home
last modified time | relevance | path

Searched refs:ToLayoutHeight (Results 1 - 3 of 3) sorted by relevance

/foundation/window/window_manager/window_scene/session/host/include/
H A Dsession_utils.h31 inline float ToLayoutHeight(const int32_t winHeight, float vpr) in ToLayoutHeight() function
/foundation/window/window_manager/window_scene/session/host/src/
H A Dmove_drag_controller.cpp741 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 Dscene_session.cpp697 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 12 milliseconds