Home
last modified time | relevance | path

Searched refs:ToWinHeight (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/
H A Dsession_utils.h41 inline float ToWinHeight(const int32_t layoutHeight, float vpr) in ToWinHeight() function
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dmove_drag_controller.cpp520 … minH = SessionUtils::ToWinHeight(SessionUtils::ToLayoutWidth(minW, vpr_) / aspectRatio_, vpr_); in CalcFixedAspectRatioTranslateLimits()
523 … maxH = SessionUtils::ToWinHeight(SessionUtils::ToLayoutWidth(maxW, vpr_) * aspectRatio_, vpr_); in CalcFixedAspectRatioTranslateLimits()
H A Dscene_session.cpp2500 rect.height_ = SessionUtils::ToWinHeight(rect.height_, vpr) ; in FixRectByLimits()
2537 …rect.height_ = SessionUtils::ToWinHeight(SessionUtils::ToLayoutWidth(rect.width_, vpr) / aspectRat… in FixRectByAspectRatio()