Home
last modified time | relevance | path

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

/foundation/window/window_manager/window_scene/session/host/include/
H A Dsession_utils.h36 inline float ToWinWidth(const int32_t layoutWidth, float vpr) in ToWinWidth() function
/foundation/window/window_manager/window_scene/session/host/src/
H A Dmove_drag_controller.cpp742 minW = SessionUtils::ToWinWidth(SessionUtils::ToLayoutHeight(minH, vpr_) * aspectRatio_, vpr_); in CalcFixedAspectRatioTranslateLimits()
749 maxW = SessionUtils::ToWinWidth(SessionUtils::ToLayoutHeight(maxH, vpr_) / aspectRatio_, vpr_); in CalcFixedAspectRatioTranslateLimits()
H A Dscene_session.cpp2205 rect.width_ = SessionUtils::ToWinWidth(rect.width_, vpr); in FixRectByLimits()
2239 rect.width_ = SessionUtils::ToWinWidth(SessionUtils::ToLayoutHeight(rect.height_, vpr)* aspectRatio_, vpr); in FixRectByAspectRatio()

Completed in 10 milliseconds