Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp9076 auto percentReferenceWidth = GetPercentReferenceWidth(); in OnBackPressed() local
9077 if (leftBorderWidth.Unit() == DimensionUnit::PERCENT && percentReferenceWidth > 0) { in OnBackPressed()
9078 return leftBorderWidth.Value() * percentReferenceWidth; in OnBackPressed()
9086 auto percentReferenceWidth = GetPercentReferenceWidth(); in OnBackPressed() local
9087 if (topBorderWidth.Unit() == DimensionUnit::PERCENT && percentReferenceWidth > 0) { in OnBackPressed()
9088 return topBorderWidth.Value() * percentReferenceWidth; in OnBackPressed()
9096 auto percentReferenceWidth = GetPercentReferenceWidth(); in OnBackPressed() local
9098 return bottomBorderWidth.Value() * percentReferenceWidth; in OnBackPressed()
9106 auto percentReferenceWidth = GetPercentReferenceWidth(); in OnBackPressed() local
9107 if (rightBorderWidth.Unit() == DimensionUnit::PERCENT && percentReferenceWidth > 0) { in OnBackPressed()
[all …]