Searched refs:dialogOffset (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | customdialog_composed_element.cpp | 87 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 D | actionsheetdialog_composed_element.cpp | 127 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 D | alertdialog_composed_element.cpp | 127 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 D | calendar_picker_layout_property.h | 69 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 D | render_dialog_tween.cpp | 398 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 D | dialog_layout_algorithm.h | 87 …OffsetF& topLeftPoint, const OffsetF& dialogOffset, const SizeF& childSize, bool needAvoidKeyboard…
|
H A D | dialog_layout_algorithm.cpp | 707 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 D | dialog_model_test_ng.cpp | 1254 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);
|