Home
last modified time | relevance | path

Searched refs:selfHeight (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/
H A Ddata_panel_layout_algorithm.cpp63 auto selfHeight = contentConstraint.selfIdealSize.Height().value(); in MeasureContent() local
65 width = std::min(width, selfHeight); in MeasureContent()
67 return SizeF(width, selfHeight); in MeasureContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Dshape_container_layout_algorithm.cpp62 auto selfHeight = contentConstraint.selfIdealSize.Height().value(); in MeasureContent() local
63 auto newWidth = (selfHeight / portHeight) * portWidth; in MeasureContent()
64 newSize = contentConstraint.Constrain(SizeF(newWidth, selfHeight)); in MeasureContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid_row/
H A Dgrid_row_layout_algorithm.cpp83 …dRowLayoutAlgorithm::MeasureSelf(LayoutWrapper* layoutWrapper, float childHeight, float selfHeight) in MeasureSelf() argument
92 idealSize.SetHeight(selfHeight + padding.Height()); in MeasureSelf()
287 float selfHeight = maxSize.Height(); in Measure() local
288 MeasureSelf(layoutWrapper, childrenHeight, selfHeight); in Measure()
H A Dgrid_row_layout_algorithm.h62 void MeasureSelf(LayoutWrapper* layoutWrapper, float childHeight, float selfHeight);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_property.cpp424 auto selfHeight = layoutConstraint_->selfIdealSize.Height(); in CheckBorderAndPadding() local
425 if (!selfWidth && !selfHeight) { in CheckBorderAndPadding()
460 std::optional<float> selfHeight; in CheckAspectRatio() local
463 selfHeight = selfWidth.value() / aspectRatio; in CheckAspectRatio()
464 if (selfHeight > maxHeight) { in CheckAspectRatio()
465 selfHeight = maxHeight; in CheckAspectRatio()
466 selfWidth = selfHeight.value() * aspectRatio; in CheckAspectRatio()
470 selfWidth = selfHeight.value() * aspectRatio; in CheckAspectRatio()
473 selfHeight = selfWidth.value() / aspectRatio; in CheckAspectRatio()
477 if (selfHeight) { in CheckAspectRatio()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp3106 float selfHeight = selfSize.Height(); in GetRectOffsetWithPositionEdges() local
3133 parentHeight - selfHeight - in GetRectOffsetWithPositionEdges()