Home
last modified time | relevance | path

Searched refs:minW (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dmove_drag_controller.cpp512 int32_t minW = static_cast<int32_t>(limits_.minWidth_); in CalcFixedAspectRatioTranslateLimits() local
517 …if (SessionUtils::ToLayoutWidth(minW, vpr_) < SessionUtils::ToLayoutHeight(minH, vpr_) * aspectRat… in CalcFixedAspectRatioTranslateLimits()
518minW = SessionUtils::ToWinWidth(SessionUtils::ToLayoutHeight(minH, vpr_) * aspectRatio_, vpr_); in CalcFixedAspectRatioTranslateLimits()
520 … minH = SessionUtils::ToWinHeight(SessionUtils::ToLayoutWidth(minW, vpr_) / aspectRatio_, vpr_); in CalcFixedAspectRatioTranslateLimits()
528 if (minW < minH * aspectRatio_) { in CalcFixedAspectRatioTranslateLimits()
529 minW = minH * aspectRatio_; in CalcFixedAspectRatioTranslateLimits()
531 minH = minW / aspectRatio_; in CalcFixedAspectRatioTranslateLimits()
544 maxTranX_ = static_cast<int32_t>(moveDragProperty_.originalRect_.width_) - minW; in CalcFixedAspectRatioTranslateLimits()
546 minTranX_ = minW - static_cast<int32_t>(moveDragProperty_.originalRect_.width_); in CalcFixedAspectRatioTranslateLimits()
H A Dscene_session.cpp2522 int32_t minW; in FixRectByAspectRatio() local
2527 minW, maxW, minH, maxH); in FixRectByAspectRatio()
2528 rect.width_ = std::max(minW, static_cast<int32_t>(rect.width_)); in FixRectByAspectRatio()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include/
H A Dgl2ext_entries.in118 …rimitiveBoundingBoxOES, GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfl…
119 CALL_HOOK_API(glPrimitiveBoundingBoxOES, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW)
559 …rimitiveBoundingBoxEXT, GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfl…
560 CALL_HOOK_API(glPrimitiveBoundingBoxEXT, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW)
H A Dgl32_entries.in1018 HOOK_API_ENTRY(void, glPrimitiveBoundingBox, GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW
1019 CALL_HOOK_API(glPrimitiveBoundingBox, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW)