Searched refs:roundPixel (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_utils.h | 49 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 D | measure_utils.cpp | 110 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 D | layout_property.h | 281 …PaddingPropertyF CreatePaddingWithoutBorder(bool useRootConstraint = true, bool roundPixel = true);
|
H A D | layout_property.cpp | 733 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()
|