Home
last modified time | relevance | path

Searched refs:bottomPadding (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
H A Dqrcode_layout_algorithm.cpp46 auto bottomPadding = 0.0f; in MeasureContent() local
52bottomPadding = padding->bottom.value_or(CalcLength(0.0_vp)).GetDimension().ConvertToPx(); in MeasureContent()
63 auto height = DEFAULT_SIZE.ConvertToPx() - topPadding - bottomPadding; in MeasureContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dbutton_layout_algorithm.cpp215 auto bottomPadding = padding.bottom.value_or(0.0); in PerformMeasureSelf() local
231 … auto actualHeight = static_cast<float>(childSize_.Height() + topPadding + bottomPadding); in PerformMeasureSelf()
239 … if (GreatOrEqual(childSize_.Height() + topPadding + bottomPadding, frameSize.Height())) { in PerformMeasureSelf()
240 … frameSize = SizeF(frameSize.Width(), childSize_.Height() + topPadding + bottomPadding); in PerformMeasureSelf()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnav_bar_layout_algorithm.cpp172 float bottomPadding = padding.bottom.value_or(0.0f); in CheckBottomEdgeOverlap() local
173 if (!NearEqual(bottomPadding, 0.0f) || !NearEqual(bottomMargin, 0.0f)) { in CheckBottomEdgeOverlap()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_layout_algorithm.cpp647 auto bottomPadding = padding.bottom.value_or(0.0f); in LayoutSearchIcon() local
663 if (topPadding <= iconInterval && bottomPadding <= iconInterval) { in LayoutSearchIcon()
665 } else if (topPadding <= iconInterval && bottomPadding > iconInterval) { in LayoutSearchIcon()
666 imageVerticalOffset = params.searchFrameHeight - (bottomPadding + iconFrameHeight); in LayoutSearchIcon()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/
H A Dnavdestination_layout_algorithm.cpp83 float bottomPadding = padding.bottom.value_or(0.0f); in CheckBottomEdgeOverlap() local
84 if (!NearEqual(bottomPadding, 0.0f) || !NearEqual(bottomMargin, 0.0f)) { in CheckBottomEdgeOverlap()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.cpp452 double bottomPadding = 0.0; local
454 bottomPadding = NormalizeToPx(decoration_->GetPadding().Bottom());
456 … errorOffset += Offset(0.0, innerRect_.Height() + bottomPadding + NormalizeToPx(COUNT_SPACING));
479 double bottomPadding = 0.0; local
481 bottomPadding = NormalizeToPx(decoration_->GetPadding().Bottom());
483 countOffset += Offset(0.0, bottomPadding + NormalizeToPx(COUNT_SPACING));
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_measure_layout.cpp80 auto bottomPadding = padding ? padding->bottom->GetDimension().ConvertToVp() : 0.0f; in GenPlaceChildrenConstraintNG() local
89 …roperty<double>("maxHeight", size.Height() / pipeline->GetDipScale() - topPadding - bottomPadding - in GenPlaceChildrenConstraintNG()