Home
last modified time | relevance | path

Searched refs:maxHeight_ (Results 1 - 25 of 58) sorted by relevance

123

/foundation/window/window_manager/window_scene/session/host/include/
H A Dsession_utils.h52 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 Dwater_flow_layout_info.cpp112 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 Dwater_flow_layout_info.h195 float maxHeight_ = 0.0f; member in OHOS::Ace::NG::WaterFlowLayoutInfo
/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Dflex_item_component.h154 return maxHeight_; in GetMaxHeight()
159 maxHeight_ = maxHeight; in SetMaxHeight()
217 Dimension maxHeight_ = Dimension(Size::INFINITE_SIZE); member in OHOS::Ace::FlexItemComponent
H A Drender_flex_item.cpp51 minHeight_ != flexItem->GetMinHeight() || maxHeight_ != flexItem->GetMaxHeight()) { in Update()
60 maxHeight_ = flexItem->GetMaxHeight(); in Update()
104 maxHeight_ = Dimension(Size::INFINITE_SIZE); in ClearRenderObject()
H A Drender_flex_item.h124 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 Dcalendar_layout_algorithm.cpp61 maxHeight_ = pipeline->GetRootHeight(); in MeasureContent()
66 maxHeight_ = constrainSize.Height(); in MeasureContent()
H A Dcalendar_layout_algorithm.h39 float maxHeight_ = 0.0f; member in OHOS::Ace::NG::CalendarLayoutAlgorithm
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Dwater_flow_component.cpp125 maxHeight_ = 0.0_px; in SetMaxHeight()
128 maxHeight_ = maxHeight; in SetMaxHeight()
H A Dwater_flow_component.h117 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 Dbox_base_component.h206 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 Dwater_flow_layout_info_sw.cpp45 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 Dwater_flow_layout_info_sw.h228 float maxHeight_ = 0.0f; member in OHOS::Ace::NG::WaterFlowLayoutInfoSW
/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy.cpp465 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 Dwindow_layout_policy_cascade.cpp292 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 Dwindow_layout_test.cpp899 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 Dwindow_scene_session_impl.cpp945 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 Dwm_common.h658 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 Drender_calendar.h109 double maxHeight_ = 0.0; member in OHOS::Ace::RenderCalendar
H A Drosen_render_calendar.cpp186 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 Dsecurity_component_layout_algorithm.h99 double maxHeight_ = 1000000.0; // Infinity member in OHOS::Ace::NG::SecurityComponentLayoutAlgorithm
/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_node_test.cpp757 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 Dtab_bar_layout_algorithm.h140 std::optional<float> maxHeight_; member in OHOS::Ace::NG::TabBarLayoutAlgorithm
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwm_common.h1062 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 Dhidump_controller.cpp179 << "[" << limits.maxWidth_ << " " << limits.maxHeight_ << " " in DumpLayoutRectParam()
184 << "[" << userLimits.maxWidth_ << " " << userLimits.maxHeight_ << " " in DumpLayoutRectParam()
187 << "[" << configLimitsVP.maxWidth_ << " " << configLimitsVP.maxHeight_ << " " in DumpLayoutRectParam()

Completed in 24 milliseconds

123