Home
last modified time | relevance | path

Searched refs:rightBorderWidth (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/search/
H A Drender_search.cpp141 double rightBorderWidth = NormalizeToPx(border.Right().GetWidth()); in InitRect() local
154 …GetLayoutSize().Width() - rightBorderWidth - searchBoxWidth - searchBoxSpacing, searchBoxVerticalO… in InitRect()
156 …Offset(GetLayoutSize().Width() - rightBorderWidth - searchBoxWidth - searchBoxSpacing, topBorderWi… in InitRect()
171 …double padding = searchTextRect_.Width() + rightBorderWidth + NormalizeToPx(closeIconHotZoneHorizo… in InitRect()
185 …Offset closeIconOffset = Offset(GetLayoutSize().Width() - rightBorderWidth - searchTextRect_.Width… in InitRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp9105 auto rightBorderWidth = border.rightDimen.value_or(Dimension(0.0f)); in OnBackPressed() local
9107 if (rightBorderWidth.Unit() == DimensionUnit::PERCENT && percentReferenceWidth > 0) { in OnBackPressed()
9108 return rightBorderWidth.Value() * percentReferenceWidth; in OnBackPressed()
9110 return rightBorderWidth.ConvertToPx(); in OnBackPressed()