Searched refs:minW (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | move_drag_controller.cpp | 512 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() 518 … minW = 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 D | scene_session.cpp | 2522 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 D | gl2ext_entries.in | 118 …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 D | gl32_entries.in | 1018 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)
|