Home
last modified time | relevance | path

Searched refs:minHeight (Results 1 - 25 of 81) sorted by relevance

1234

/foundation/window/window_manager/window_scene/session/host/include/
H A Dsession_utils.h47 int32_t& minWidth, int32_t& maxWidth, int32_t& minHeight, int32_t& maxHeight) in CalcFloatWindowRectLimits()
51 minHeight = limits.minHeight_; in CalcFloatWindowRectLimits()
55 minHeight = std::max(minHeight, static_cast<int32_t>(MIN_FLOATING_HEIGHT * vpr)); in CalcFloatWindowRectLimits()
46 CalcFloatWindowRectLimits(const WindowLimits& limits, uint32_t maxFloatingWindowSize, float vpr, int32_t& minWidth, int32_t& maxWidth, int32_t& minHeight, int32_t& maxHeight) CalcFloatWindowRectLimits() argument
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Dwater_flow_component.cpp101 void WaterFlowComponent::SetMinHeight(const Dimension& minHeight) in SetMinHeight() argument
103 if (LessNotEqual(minHeight.Value(), 0.0)) { in SetMinHeight()
104 LOGW("Invalid minHeight, use 0.0px"); in SetMinHeight()
108 minHeight_ = minHeight; in SetMinHeight()
H A Dwater_flow_component.h50 void SetMinHeight(const Dimension& minHeight);
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dextension_handler.cpp27 auto minHeight = floor(layoutConstraintF.minSize.Height()); in Create() local
34 minHeight = maxHeight; in Create()
38 return { maxWidth, minWidth, maxHeight, minHeight, parentIdealWidth, parentIdealHeight }; in Create()
H A Dextension_handler.h34 int32_t minHeight { 0 };
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box_base.cpp322 double minHeight = ConvertVerticalDimensionToPx(minHeight_, true);
325 if (LessOrEqual(minWidth, 0.0) && LessOrEqual(minHeight, 0.0) && LessOrEqual(maxWidth, 0.0) &&
332 if (GreatNotEqual(minHeight, 0.0) && NearZero(maxHeight)) {
338 if (LessNotEqual(maxHeight, minHeight)) {
339 maxHeight = minHeight;
341 if (GreatNotEqual(minWidth, 0.0) || GreatNotEqual(minHeight, 0.0)) {
344 Size minSize = Size(minWidth, minHeight);
472 auto minHeight = selfLayout.GetMinSize().Height();
496 if (selfMaxHeight_ < minHeight) {
497 selfMaxHeight_ = minHeight;
[all...]
H A Dbox_base_component.h184 void SetMinHeight(const CalcDimension& minHeight) in SetMinHeight() argument
186 minHeight_ = minHeight; in SetMinHeight()
/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Dflex_item_component.h137 void SetMinHeight(const Dimension& minHeight) in SetMinHeight() argument
139 minHeight_ = minHeight; in SetMinHeight()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dwater_flow_model_impl.cpp76 void WaterFlowModelImpl::SetItemMinHeight(const Dimension& minHeight) in SetItemMinHeight() argument
78 JSViewSetProperty(&V2::WaterFlowComponent::SetMinHeight, minHeight); in SetItemMinHeight()
H A Dwater_flow_model_impl.h35 void SetItemMinHeight(const Dimension& minHeight) override;
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dextension_custom_node.cpp23 param.minSize = SizeF(layoutConstraint.minWidth, layoutConstraint.minHeight); in OnMeasure()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_panel_ffi.cpp73 Dimension minHeight = Dimension(height, static_cast<DimensionUnit>(unit)); in FfiOHOSAceFrameworkPanelMiniHeight() local
74 SlidingPanelModel::GetInstance()->SetMiniHeight(minHeight); in FfiOHOSAceFrameworkPanelMiniHeight()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_layout_info.cpp209 auto minHeight = -1.0f; in GetCrossIndexForNextItem() local
220 if (NearEqual(minHeight, -1.0f)) { in GetCrossIndexForNextItem()
221 minHeight = lastOffset; in GetCrossIndexForNextItem()
225 if (LessNotEqual(lastOffset, minHeight)) { in GetCrossIndexForNextItem()
228 minHeight = lastOffset; in GetCrossIndexForNextItem()
230 if (NearZero(minHeight)) { in GetCrossIndexForNextItem()
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dtitle_bar_test_ng.cpp373 * @tc.desc: Test GetTempTitleBarHeight after scrolling and the target height is smaller than the minHeight
433 * @tc.steps: step3. start dragging to minHeight in HWTEST_F()
434 * and check whether tempTitleBarHeight is equal to minHeight. in HWTEST_F()
708 * @tc.desc: Test GetTempTitleOffsetY interface after scrolling and the target height is smaller than the minHeight
769 * @tc.steps: step3. start dragging to minHeight in HWTEST_F()
770 * and check whether tempTitleOffsetY is equal to minHeight. in HWTEST_F()
781 * and check whether tempTitleOffsetY is equal to minHeight. in HWTEST_F()
1084 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); in HWTEST_F() local
1085 float lastCordScrollOffset = minHeight - titleBarPattern->defaultTitleBarHeight_ - 10.00f; in HWTEST_F()
1087 EXPECT_TRUE(LessOrEqual(titleBarPattern->defaultTitleBarHeight_ + lastCordScrollOffset, minHeight)); in HWTEST_F()
1106 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); HWTEST_F() local
1131 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); HWTEST_F() local
1180 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); HWTEST_F() local
1205 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); HWTEST_F() local
1231 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); HWTEST_F() local
1254 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); HWTEST_F() local
1280 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dtitle_bar_pattern.cpp1173 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); in OnCoordScrollUpdate() local
1175 if (LessNotEqual(defaultTitleBarHeight_ + titleBarOffset, minHeight)) { in OnCoordScrollUpdate()
1176 // The target height is smaller than the minHeight, so the titleBarOffset is adjusted to modify the height to in OnCoordScrollUpdate()
1177 // the minHeight. in OnCoordScrollUpdate()
1178 titleBarOffset = minHeight - defaultTitleBarHeight_; in OnCoordScrollUpdate()
1186 // The target height is between the minHeight and the maxTitleBarHeight_. in OnCoordScrollUpdate()
1209 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); in OnCoordScrollEnd() local
1213 if (GreatNotEqual(finalHeight, minHeight) && LessOrEqual(finalHeight, middleHeight)) { in OnCoordScrollEnd()
1214 // The finalHeight is between the minHeight and the middleHeight, so animate to min title. in OnCoordScrollEnd()
1320 float minHeight in CalculateHandledOffsetMinTitle() local
1340 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); CalculateHandledOffsetMaxTitle() local
1360 float minHeight = static_cast<float>(SINGLE_LINE_TITLEBAR_HEIGHT.ConvertToPx()); CalculateHandledOffsetBetweenMinAndMaxTitle() local
[all...]
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnative_node_extented.cpp47 layoutConstraint->minHeight = constraint->minHeight; in OH_ArkUI_LayoutConstraint_Copy()
65 layoutConstraint->minHeight = event->event->data[NUM_1]; in OH_ArkUI_NodeCustomEvent_GetLayoutConstraintInMeasure()
271 return constraint->minHeight; in OH_ArkUI_LayoutConstraint_GetMinHeight()
303 constraint->minHeight = value; in OH_ArkUI_LayoutConstraint_SetMinHeight()
/foundation/window/window_manager/wmserver/src/
H A Ddrag_controller.cpp369 uint32_t minHeight = static_cast<uint32_t>(MIN_FLOATING_HEIGHT * vpr); in CalculateNewWindowRect() local
383 if (diffY > static_cast<int32_t>(startPointRect.height_ - minHeight)) { in CalculateNewWindowRect()
384 diffY = static_cast<int32_t>(startPointRect.height_ - minHeight); in CalculateNewWindowRect()
389 if (diffY < 0 && (-diffY > static_cast<int32_t>(startPointRect.height_ - minHeight))) { in CalculateNewWindowRect()
390 diffY = -(static_cast<int32_t>(startPointRect.height_ - minHeight)); in CalculateNewWindowRect()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dscroll_bar.h131 void SetMinHeight(const Dimension& minHeight) in SetMinHeight() argument
133 minHeight_ = minHeight; in SetMinHeight()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_model_ng.h37 void SetItemMinHeight(const Dimension& minHeight) override;
75 static void SetItemMinHeight(FrameNode* frameNode, const Dimension& minHeight);
H A Dwater_flow_model.h46 virtual void SetItemMinHeight(const Dimension& minHeight) = 0;
/foundation/window/window_manager/window_scene/session/host/src/
H A Dmain_session.cpp209 uint32_t minHeight = GetSystemConfig().miniHeightOfMainWindow_; in RectCheck() local
211 RectSizeCheckProcess(curWidth, curHeight, minWidth, minHeight, maxFloatingWindowSize); in RectCheck()
H A Dsub_session.cpp180 uint32_t minHeight = GetSystemConfig().miniHeightOfSubWindow_; in RectCheck() local
182 RectSizeCheckProcess(curWidth, curHeight, minWidth, minHeight, maxFloatingWindowSize); in RectCheck()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dbutton_layout_algorithm.cpp261 auto minHeight = layoutContraint->minSize.Height(); in PerformMeasureSelf() local
264 actualHeight = std::max(actualHeight, minHeight); in PerformMeasureSelf()
415 auto minHeight = layoutContraint->minSize.Height(); in NeedAgingMeasure() local
418 actualHeight = std::max(actualHeight, minHeight); in NeedAgingMeasure()
/foundation/window/window_manager/previewer/include/
H A Dwm_common.h666 WindowLimits(uint32_t maxWidth, uint32_t maxHeight, uint32_t minWidth, uint32_t minHeight, float maxRatio, in WindowLimits()
667 float minRatio) : maxWidth_(maxWidth), maxHeight_(maxHeight), minWidth_(minWidth), minHeight_(minHeight), in WindowLimits()
669 WindowLimits(uint32_t maxWidth, uint32_t maxHeight, uint32_t minWidth, uint32_t minHeight, float maxRatio, in WindowLimits()
671 minHeight_(minHeight), maxRatio_(maxRatio), minRatio_(minRatio), vpRatio_(vpRatio) {} in WindowLimits()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/inner/
H A Dscroll_bar.h112 void SetMinHeight(const Dimension& minHeight) in SetMinHeight() argument
114 minHeight_ = minHeight; in SetMinHeight()

Completed in 21 milliseconds

1234