/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | session_utils.h | 52 maxHeight = (limits.maxHeight_ == 0 || limits.maxHeight_ >= INT32_MAX) ? INT32_MAX : limits.maxHeight_; in CalcFloatWindowRectLimits()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_layout_info.cpp | 112 return NearZero(maxHeight_) ? GetMaxMainHeight() : maxHeight_; in GetContentHeight() 170 auto endPos = currentOffset_ + maxHeight_; in GetOverScrolledDelta() 171 if (GreatNotEqual(lastMainSize_, currentOffset_ + maxHeight_)) { in GetOverScrolledDelta() 244 maxHeight_ = 0.0f; in Reset() 268 maxHeight_ = 0.0f; in Reset() 341 float minOffset = lastMainSize_ - maxHeight_; in ReachEnd() 427 maxHeight_ = GetMaxMainHeight(); in Sync() 431 offsetEnd_ = itemEnd_ && GreatOrEqual(mainSize - currentOffset_, maxHeight_); in Sync() 434 currentOffset_ = std::min(-maxHeight_ in Sync() [all...] |
H A D | water_flow_layout_info.h | 195 float maxHeight_ = 0.0f; member in OHOS::Ace::NG::WaterFlowLayoutInfo
|
/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | flex_item_component.h | 154 return maxHeight_; in GetMaxHeight() 159 maxHeight_ = maxHeight; in SetMaxHeight() 217 Dimension maxHeight_ = Dimension(Size::INFINITE_SIZE); member in OHOS::Ace::FlexItemComponent
|
H A D | render_flex_item.cpp | 51 minHeight_ != flexItem->GetMinHeight() || maxHeight_ != flexItem->GetMaxHeight()) { in Update() 60 maxHeight_ = flexItem->GetMaxHeight(); in Update() 104 maxHeight_ = Dimension(Size::INFINITE_SIZE); in ClearRenderObject()
|
H A D | render_flex_item.h | 124 Size max = Size(NormalizePercentToPx(maxWidth_, false), NormalizePercentToPx(maxHeight_, true)); in GetNormalizedConstraints() 210 Dimension maxHeight_ = Dimension(Size::INFINITE_SIZE); member in OHOS::Ace::final
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_layout_algorithm.cpp | 61 maxHeight_ = pipeline->GetRootHeight(); in MeasureContent() 66 maxHeight_ = constrainSize.Height(); in MeasureContent()
|
H A D | calendar_layout_algorithm.h | 39 float maxHeight_ = 0.0f; member in OHOS::Ace::NG::CalendarLayoutAlgorithm
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/ |
H A D | water_flow_component.cpp | 125 maxHeight_ = 0.0_px; in SetMaxHeight() 128 maxHeight_ = maxHeight; in SetMaxHeight()
|
H A D | water_flow_component.h | 117 return maxHeight_; in GetMaxHeight() 137 Dimension maxHeight_ = 0.0_px; member in OHOS::Ace::V2::WaterFlowComponent
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | box_base_component.h | 206 maxHeight_ = maxHeight; in SetMaxHeight() 211 return maxHeight_; in GetMaxHeight() 387 CalcDimension maxHeight_ = Dimension(); member in OHOS::Ace::BoxBaseComponent
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/ |
H A D | water_flow_layout_info_sw.cpp | 45 maxHeight_ = std::max(endPos_ - startPos_ + footerHeight_, maxHeight_); in Sync() 137 float disToBot = EndPosWithMargin() + footerHeight_ - std::min(lastMainSize_, maxHeight_); in GetOverScrolledDelta() 138 if (Positive(disToBot) && LessNotEqual(maxHeight_, lastMainSize_)) { in GetOverScrolledDelta() 240 return maxHeight_; 322 maxHeight_ = 0.0f; 397 maxHeight_ = 0.0f; 456 return -(EndPosWithMargin() + delta_ + footerHeight_) + std::min(maxHeight_, viewHeight); 719 maxHeight_ = 0.0f;
|
H A D | water_flow_layout_info_sw.h | 228 float maxHeight_ = 0.0f; member in OHOS::Ace::NG::WaterFlowLayoutInfoSW
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_layout_policy.cpp | 465 systemLimits.maxHeight_ = static_cast<uint32_t>(maxFloatingWindowSize_ * vpr); in GetSystemSizeLimits() 493 systemLimits.maxHeight_, systemLimits.minHeight_); in GetSystemSizeLimits() 508 uint32_t configuredMaxHeight = static_cast<uint32_t>(customizedLimits.maxHeight_ * virtualPixelRatio); in UpdateWindowSizeLimits() 516 if (systemLimits.minHeight_ <= configuredMaxHeight && configuredMaxHeight <= systemLimits.maxHeight_) { in UpdateWindowSizeLimits() 517 newLimits.maxHeight_ = configuredMaxHeight; in UpdateWindowSizeLimits() 522 if (systemLimits.minHeight_ <= configuredMinHeight && configuredMinHeight <= newLimits.maxHeight_) { in UpdateWindowSizeLimits() 528 newLimits.minRatio_ = static_cast<float>(newLimits.minWidth_) / static_cast<float>(newLimits.maxHeight_); in UpdateWindowSizeLimits() 537 uint32_t newMaxWidth = static_cast<uint32_t>(static_cast<float>(newLimits.maxHeight_) * newLimits.maxRatio_); in UpdateWindowSizeLimits() 542 newLimits.maxHeight_ = std::min(newMaxHeight, newLimits.maxHeight_); in UpdateWindowSizeLimits() [all...] |
H A D | window_layout_policy_cascade.cpp | 292 newLimits.maxHeight_ = sizeLimits.maxHeight_ - winFrameH; in CheckAspectRatioBySizeLimits() 297 float minRatio = static_cast<float>(newLimits.minWidth_) / static_cast<float>(newLimits.maxHeight_); in CheckAspectRatioBySizeLimits() 303 uint32_t newMaxWidth = static_cast<uint32_t>(static_cast<float>(newLimits.maxHeight_) * aspectRatio); in CheckAspectRatioBySizeLimits() 308 newLimits.maxHeight_ = std::min(newMaxHeight, newLimits.maxHeight_); in CheckAspectRatioBySizeLimits() 345 newRect.height_ = std::min(newLimits.maxHeight_, newRect.height_); in ComputeRectByAspectRatio() 773 if (sizeLimits.maxWidth_ == sizeLimits.minWidth_ && sizeLimits.maxHeight_ == sizeLimits.minHeight_) { in FixWindowSizeByRatioIfDragBeyondLimitRegion() 808 if (sizeLimits.maxHeight_ == sizeLimits.minHeight_) { in FixWindowSizeByRatioIfDragBeyondLimitRegion() 840 winRect.height_ = std::min(sizeLimits.maxHeight_, winRec [all...] |
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_layout_test.cpp | 899 EXPECT_EQ(windowLimits.maxHeight_, rect.height_);
in HWTEST_F() 913 EXPECT_EQ(windowLimits.maxHeight_, rect.height_);
in HWTEST_F() 1046 ret = window->Resize(windowLimits.maxWidth_ - 100, windowLimits.maxHeight_ - 100);
in HWTEST_F() 1051 EXPECT_EQ(windowLimits.maxHeight_ - 100, rect.height_);
in HWTEST_F() 1053 ret = window->Resize(windowLimits.maxWidth_ + 100, windowLimits.maxHeight_ + 100);
in HWTEST_F() 1058 EXPECT_EQ(windowLimits.maxHeight_, rect.height_);
in HWTEST_F() 1088 ret = window->Resize(windowLimits.maxWidth_ - 100, windowLimits.maxHeight_ - 100);
in HWTEST_F() 1091 ret = window->Resize(windowLimits.maxWidth_ + 100, windowLimits.maxHeight_ + 100);
in HWTEST_F() 1122 ret = window->Resize(windowLimits.maxWidth_ - 100, windowLimits.maxHeight_ - 100);
in HWTEST_F() 1125 ret = window->Resize(windowLimits.maxWidth_ + 100, windowLimits.maxHeight_ in HWTEST_F() [all...] |
/foundation/window/window_manager/wm/src/ |
H A D | window_scene_session_impl.cpp | 945 systemLimits.maxHeight_ = static_cast<uint32_t>(maxFloatingWindowSize_ * vpr); 966 systemLimits.maxHeight_, systemLimits.minHeight_); 998 customizedLimits.maxHeight_ = static_cast<uint32_t>(customizedLimits.maxHeight_ * virtualPixelRatio); 1009 if (systemLimits.minHeight_ <= customizedLimits.maxHeight_ && 1010 customizedLimits.maxHeight_ <= systemLimits.maxHeight_) { 1011 newLimits.maxHeight_ = customizedLimits.maxHeight_; 1018 customizedLimits.minHeight_ <= newLimits.maxHeight_) { [all...] |
/foundation/window/window_manager/previewer/include/ |
H A D | wm_common.h | 658 uint32_t maxHeight_ = INT32_MAX; member 667 float minRatio) : maxWidth_(maxWidth), maxHeight_(maxHeight), minWidth_(minWidth), minHeight_(minHeight), in WindowLimits() 670 float minRatio, float vpRatio) : maxWidth_(maxWidth), maxHeight_(maxHeight), minWidth_(minWidth), in WindowLimits() 675 return (maxHeight_ == 0 || minHeight_ == 0 || maxWidth_ == 0 || minWidth_ == 0); in IsEmpty()
|
/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | render_calendar.h | 109 double maxHeight_ = 0.0; member in OHOS::Ace::RenderCalendar
|
H A D | rosen_render_calendar.cpp | 186 dailyFiveRowSpace_ = (maxHeight_ - titleHeight - dayHeight_ * fiveRow - boundaryColOffset) / (fiveRow - 1); in PerformLayout() 187 dailySixRowSpace_ = (maxHeight_ - titleHeight - dayHeight_ * sixRow - boundaryColOffset) / (sixRow - 1); in PerformLayout() 191 (maxHeight_ - boundaryColOffset - weekAndDayRowSpace_ - weekHeight_ - dayHeight_ * fiveRow) / (fiveRow - 1); in PerformLayout() 193 (maxHeight_ - boundaryColOffset - weekAndDayRowSpace_ - weekHeight_ - dayHeight_ * sixRow) / (sixRow - 1); in PerformLayout() 203 auto dayHeight = rowCount_ ? (maxHeight_ - NormalizeToPx(CARD_CALENDAR_TITLE_HEIGHT)) / rowCount_ : 0.0; in PerformLayout() 207 focusedAreaRadius_ = (maxHeight_ - NormalizeToPx(CARD_CALENDAR_TITLE_HEIGHT)) / (rowCount_ * 2); in PerformLayout()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_layout_algorithm.h | 99 double maxHeight_ = 1000000.0; // Infinity member in OHOS::Ace::NG::SecurityComponentLayoutAlgorithm
|
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_node_test.cpp | 757 ASSERT_EQ(UINT32_MAX, defaultValue.maxHeight_); in HWTEST_F() 768 ASSERT_EQ(testValue.maxHeight_, resultValue.maxHeight_); in HWTEST_F() 789 ASSERT_EQ(UINT32_MAX, defaultValue.maxHeight_); in HWTEST_F() 800 ASSERT_EQ(testValue.maxHeight_, resultValue.maxHeight_); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_layout_algorithm.h | 140 std::optional<float> maxHeight_; member in OHOS::Ace::NG::TabBarLayoutAlgorithm
|
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | wm_common.h | 1062 uint32_t maxHeight_ = INT32_MAX; member 1071 float minRatio) : maxWidth_(maxWidth), maxHeight_(maxHeight), minWidth_(minWidth), minHeight_(minHeight), in WindowLimits() 1074 float minRatio, float vpRatio) : maxWidth_(maxWidth), maxHeight_(maxHeight), minWidth_(minWidth), in WindowLimits() 1079 return (maxWidth_ == 0 || minWidth_ == 0 || maxHeight_ == 0 || minHeight_ == 0); in IsEmpty()
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | hidump_controller.cpp | 179 << "[" << limits.maxWidth_ << " " << limits.maxHeight_ << " " in DumpLayoutRectParam() 184 << "[" << userLimits.maxWidth_ << " " << userLimits.maxHeight_ << " " in DumpLayoutRectParam() 187 << "[" << configLimitsVP.maxWidth_ << " " << configLimitsVP.maxHeight_ << " " in DumpLayoutRectParam()
|