Home
last modified time | relevance | path

Searched refs:dialogHeight (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/dialog_modal/
H A Drender_dialog_modal.cpp55 double dialogHeight = maxSize.Height() * MAX_HEIGHT_PERCENT + NormalizeToPx(BG_MARGIN) * 2; in PerformLayout() local
56 if (dialogHeight + statusBarPx + navigationBarPx > maxSize.Height()) { in PerformLayout()
59 dialogHeight = maxSize.Height() - navigationBarPx - NormalizeToPx(BG_MARGIN); in PerformLayout()
61 maxSize.SetHeight(dialogHeight); in PerformLayout()
76 dialogHeight - statusBarPx); in PerformLayout()
/foundation/arkui/ace_engine/frameworks/core/common/agingadapation/
H A Daging_adapation_dialog_util.cpp43 Dimension dialogHeight; in ShowLongPressDialog() local
48 dialogHeight = Dimension(dialogTheme->GetBigDialogWidth(), DimensionUnit::VP); in ShowLongPressDialog()
50 dialogHeight = Dimension(dialogTheme->GetMaxDialogWidth(), DimensionUnit::VP); in ShowLongPressDialog()
52 auto marginSize = (dialogHeight - dialogTheme->GetIdealSize()).ConvertToPx() / 2; in ShowLongPressDialog()
95 Dimension dialogHeight; in ShowLongPressDialog() local
100 dialogHeight = Dimension(dialogTheme->GetBigDialogWidth(), DimensionUnit::VP); in ShowLongPressDialog()
102 dialogHeight = Dimension(dialogTheme->GetMaxDialogWidth(), DimensionUnit::VP); in ShowLongPressDialog()
104 auto marginSize = (dialogHeight - dialogTheme->GetIdealSize()).ConvertToPx() / 2; in ShowLongPressDialog()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_layout_algorithm.cpp151 auto dialogHeight = dialogProp->GetHeight().value_or(Dimension(-1, DimensionUnit::VP)); in UpdateChildLayoutConstraint() local
152 if (NonNegative(dialogHeight.Value())) { in UpdateChildLayoutConstraint()
153 childLayoutProperty->UpdateUserDefinedIdealSize(CalcSize(std::nullopt, CalcLength(dialogHeight))); in UpdateChildLayoutConstraint()
160 dialogHeight.ConvertToPxWithSize(childLayoutConstraint.maxSize.Height()))); in UpdateChildLayoutConstraint()
300 auto dialogHeight = dialogProp->GetHeight().value_or(Dimension(-1, DimensionUnit::VP)); in ComputeInnerLayoutSizeParam() local
302 auto realHeight = dialogHeight.Unit() == DimensionUnit::PERCENT ? in ComputeInnerLayoutSizeParam()
303 dialogHeight.ConvertToPxWithSize(defaultMaxHeight) : dialogHeight.ConvertToPx(); in ComputeInnerLayoutSizeParam()
305 auto height = dialogHeight.Unit() == DimensionUnit::PERCENT ? defaultMaxHeight : realHeight; in ComputeInnerLayoutSizeParam()
596 auto dialogHeight in AdjustHeightForKeyboard() local
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_dialog.cpp407 uint16_t dialogHeight = height; in MeasureSize() local
408 dialogLayer_->SetHeight(dialogHeight); in MeasureSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_picker_pattern.cpp1082 float dialogHeight = pipelineContext->GetRootHeight(); in CalculateDialogOffset() local
1091 dialogHeight -= titleHeight; in CalculateDialogOffset()
1096 if (hostRect.Bottom() + (DIALOG_HEIGHT).ConvertToPx() > dialogHeight) { in CalculateDialogOffset()

Completed in 6 milliseconds