Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dmeasure_utils.h49 const ScaleProperty& scaleProperty, float percentReference = -1.0f, bool roundPixel = true,
53 float percentReference = -1.0f, bool roundPixel = true, bool nonNegative = false);
56 const ScaleProperty& scaleProperty, float percentReference = -1.0f, bool roundPixel = true);
59 float percentReference = -1.0f, bool roundPixel = true);
62 const ScaleProperty& scaleProperty, float percentReference = -1.0f, bool roundPixel = true);
65 const ScaleProperty& scaleProperty, float percentReference = -1.0f, bool roundPixel = true);
H A Dmeasure_utils.cpp110 const ScaleProperty& scaleProperty, float percentReference, bool roundPixel, bool nonNegative) in ConvertToPaddingPropertyF() argument
115 …return ConvertToPaddingPropertyF(*padding, scaleProperty, percentReference, roundPixel, nonNegativ… in ConvertToPaddingPropertyF()
119 float percentReference, bool roundPixel, bool nonNegative) in ConvertToPaddingPropertyF() argument
127 if (roundPixel && versionSatisfy) { in ConvertToPaddingPropertyF()
159 const ScaleProperty& scaleProperty, float percentReference, bool roundPixel) in ConvertToMarginPropertyF() argument
161 return ConvertToPaddingPropertyF(margin, scaleProperty, percentReference, roundPixel); in ConvertToMarginPropertyF()
165 …arginProperty& margin, const ScaleProperty& scaleProperty, float percentReference, bool roundPixel) in ConvertToMarginPropertyF() argument
167 return ConvertToPaddingPropertyF(margin, scaleProperty, percentReference, roundPixel); in ConvertToMarginPropertyF()
171 const ScaleProperty& scaleProperty, float percentReference, bool roundPixel) in ConvertToBorderWidthPropertyF() argument
176 return ConvertToBorderWidthPropertyF(*borderWidth, scaleProperty, percentReference, roundPixel); in ConvertToBorderWidthPropertyF()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_property.h281 …PaddingPropertyF CreatePaddingWithoutBorder(bool useRootConstraint = true, bool roundPixel = true);
H A Dlayout_property.cpp733 PaddingPropertyF LayoutProperty::CreatePaddingWithoutBorder(bool useRootConstraint, bool roundPixel) in CreatePaddingWithoutBorder() argument
738 …dding_, layoutConstraint_->scaleProperty, layoutConstraint_->percentReference.Width(), roundPixel); in CreatePaddingWithoutBorder()
744 useRootConstraint ? PipelineContext::GetCurrentRootWidth() : 0.0f, roundPixel); in CreatePaddingWithoutBorder()