Home
last modified time | relevance | path

Searched refs:dialogOffset (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dcustomdialog_composed_element.cpp87 auto dialogOffset = renderDialog->GetDialogProperties().offset; in GetDialogOffset() local
89 jsonValue->Put("dX", dialogOffset.GetX().Value()); in GetDialogOffset()
90 jsonValue->Put("dY", dialogOffset.GetY().Value()); in GetDialogOffset()
H A Dactionsheetdialog_composed_element.cpp127 auto dialogOffset = renderDialog->GetDialogProperties().offset; in GetDialogOffset() local
129 jsonValue->Put("dX", dialogOffset.GetX().Value()); in GetDialogOffset()
130 jsonValue->Put("dY", dialogOffset.GetY().Value()); in GetDialogOffset()
H A Dalertdialog_composed_element.cpp127 auto dialogOffset = renderDialog->GetDialogProperties().offset; in GetDialogOffset() local
129 jsonValue->Put("dX", dialogOffset.GetX().Value()); in GetDialogOffset()
130 jsonValue->Put("dY", dialogOffset.GetY().Value()); in GetDialogOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_picker_layout_property.h69 auto dialogOffset = GetDialogOffset().value_or(DimensionOffset()); in ToJsonValue() local
75 jsonOffset->Put("dx", dialogOffset.GetX().ToString().c_str()); in ToJsonValue()
76 jsonOffset->Put("dy", dialogOffset.GetY().ToString().c_str()); in ToJsonValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog_tween/
H A Drender_dialog_tween.cpp398 Offset dialogOffset = in ComputeChildPosition() local
401 dialogOffset.SetX(offset_.GetX().Value() * childSize.Width()); in ComputeChildPosition()
403 dialogOffset.SetX(NormalizeToPx(offset_.GetX())); in ComputeChildPosition()
406 dialogOffset.SetY(offset_.GetY().Value() * childSize.Height()); in ComputeChildPosition()
408 dialogOffset.SetY(NormalizeToPx(offset_.GetY())); in ComputeChildPosition()
412 return topLeftPoint + dialogOffset; in ComputeChildPosition()
417 return topLeftPoint + dialogOffset; in ComputeChildPosition()
430 return topLeftPoint + dialogOffset; in ComputeChildPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_layout_algorithm.h87 …OffsetF& topLeftPoint, const OffsetF& dialogOffset, const SizeF& childSize, bool needAvoidKeyboard…
H A Ddialog_layout_algorithm.cpp707 OffsetF dialogOffset = OffsetF(dialogOffsetX.value_or(0.0), dialogOffsetY.value_or(0.0)); in ComputeChildPosition() local
722 return AdjustChildPosition(topLeftPoint, dialogOffset, childSize, needAvoidKeyboard); in ComputeChildPosition()
857 …OffsetF& topLeftPoint, const OffsetF& dialogOffset, const SizeF& childSize, bool needAvoidKeyboard) in AdjustChildPosition() argument
860 CHECK_NULL_RETURN(pipelineContext, topLeftPoint + dialogOffset); in AdjustChildPosition()
871 auto childOffset = topLeftPoint + dialogOffset; in AdjustChildPosition()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/dialog/
H A Ddialog_model_test_ng.cpp1254 auto dialogOffset = OffsetF(); variable
1257 … auto offset = layoutAlgorithm->AdjustChildPosition(topLeftOffset, dialogOffset, childSize, true);
1265 offset = layoutAlgorithm->AdjustChildPosition(topLeftOffset, dialogOffset, childSize, true);
1270 offset = layoutAlgorithm->AdjustChildPosition(topLeftOffset, dialogOffset, childSize, true);