Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_layout_algorithm.cpp204 …double adjustedScale = std::clamp(fontScale, pickerTheme->GetNormalFontScale(), pickerTheme->GetMa… in AdjustFontSizeScale() local
207 result = fontSizeValue / fontScale * adjustedScale; in AdjustFontSizeScale()
224 double adjustedScale = in ReCalcItemHeightScale() local
226 if (!NearZero(adjustedScale)) { in ReCalcItemHeightScale()
228 … userSetHeightValue / adjustedScale * PERCENT_120 + (themePadding.ConvertToPx() * DIVIDER_SIZE); in ReCalcItemHeightScale()
H A Dtimepicker_dialog_view.cpp1031 auto adjustedScale = std::clamp(fontScale, pickerTheme->GetNormalFontScale(), in AdjustFontSizeScale() local
1033 return fontSizeValue * adjustedScale; in AdjustFontSizeScale()
1108 auto adjustedScale = in ConvertTitleFontScaleValue() local
1113 return (fontSizeValue * adjustedScale); in ConvertTitleFontScaleValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_layout_algorithm.cpp227 double adjustedScale = std::clamp(fontScale, pickerTheme->GetNormalFontScale(), in AdjustFontSizeScale() local
231 result = fontSizeValue / fontScale * adjustedScale; in AdjustFontSizeScale()
248 double adjustedScale = std::clamp(systemFontScale, pickerTheme->GetNormalFontScale(), in ReCalcItemHeightScale() local
250 if (!NearZero(adjustedScale)) { in ReCalcItemHeightScale()
251 userSetHeightValue = userSetHeightValue / adjustedScale * PERCENT_120 + in ReCalcItemHeightScale()
H A Ddatepicker_dialog_view.cpp2022 auto adjustedScale = std::clamp(fontScale, pickerTheme->GetNormalFontScale(), in AdjustFontSizeScale() local
2024 return fontSizeValue * adjustedScale; in AdjustFontSizeScale()
2099 auto adjustedScale = in ConvertTitleFontScaleValue() local
2104 return (fontSizeValue * adjustedScale); in ConvertTitleFontScaleValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_layout_algorithm.cpp310 double adjustedScale = std::clamp(fontScale, pickerTheme->GetNormalFontScale(), in AdjustFontSizeScale() local
314 result = fontSizeValue / fontScale * adjustedScale; in AdjustFontSizeScale()
331 double adjustedScale = std::clamp(systemFontScale, pickerTheme->GetNormalFontScale(), in ReCalcItemHeightScale() local
333 if (!NearZero(adjustedScale)) { in ReCalcItemHeightScale()
334 userSetHeightValue = userSetHeightValue / adjustedScale * PERCENT_120 + in ReCalcItemHeightScale()
H A Dtextpicker_dialog_view.cpp1495 auto adjustedScale = std::clamp(fontScale, pickerTheme->GetNormalFontScale(), in AdjustFontSizeScale() local
1497 return fontSizeValue * adjustedScale; in AdjustFontSizeScale()