/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | util_modifier.cpp | 26 ArkUI_Float32 GetFontScale(int deviceId) in GetFontScale() function 32 scale = container->GetPipelineContext()->GetFontScale() * density; in GetFontScale() 53 GetFontScale, in GetUtilsModifier() 63 GetFontScale, in GetCJUIUtilsModifier()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/ |
H A D | stepper_layout_algorithm.cpp | 66 if ((pipeline->GetFontScale() == LEVEL_ONE || pipeline->GetFontScale() == LEVEL_TWO || in Measure() 67 pipeline->GetFontScale() == LEVEL_THREE)) { in Measure() 128 if (pipeline->GetFontScale() == LEVEL_ONE || pipeline->GetFontScale() == LEVEL_TWO || in MeasureLeftButton() 129 pipeline->GetFontScale() == LEVEL_THREE) { in MeasureLeftButton() 169 if ((pipeline->GetFontScale() == LEVEL_ONE || pipeline->GetFontScale() == LEVEL_TWO || in MeasureRightButton() 170 pipeline->GetFontScale() == LEVEL_THREE) && !isLoadingButton_) { in MeasureRightButton() 241 if (pipeline->GetFontScale() == LEVEL_ONE || pipeline->GetFontScale() == LEVEL_TWO || in Layout() 242 pipeline->GetFontScale() == LEVEL_THREE) { in Layout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_environment.cpp | 33 JSClass<JSEnvironment>::CustomMethod("getFontScale", &JSEnvironment::GetFontScale); in JSBind() 89 void JSEnvironment::GetFontScale(const JSCallbackInfo& args) in GetFontScale() function in OHOS::Ace::Framework::JSEnvironment 99 auto returnValue = JSVal(ToJSValue(context->GetFontScale())); in GetFontScale()
|
H A D | js_environment.h | 29 void GetFontScale(const JSCallbackInfo& args);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | dimension.cpp | 140 auto fontScale = std::clamp(pipeline->GetFontScale(), 0.0f, pipeline->GetMaxAppFontScale()); in ConvertToFp() 195 float fontScale = std::clamp(pipeline->GetFontScale(), minFontScale, maxFontScale); in ConvertToPxByCustomFontScale() 204 float fontScale = std::clamp(pipeline->GetFontScale(), minFontScale, maxFontScale); in ConvertToPxByAppFontScale() 214 float fontScale = std::clamp(pipeline->GetFontScale(), 0.0f, maxFontScale); in ConvertToVpByAppFontScale()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/agingadapation/ |
H A D | aging_adapation_dialog_util.cpp | 45 float scale = context->GetFontScale(); in ShowLongPressDialog() 97 float scale = context->GetFontScale(); in ShowLongPressDialog() 136 float scale = context->GetFontScale(); in CreateCustomDialog() 180 float scale = context->GetFontScale(); in CreateDialogTextNode()
|
/ohos5.0/foundation/arkui/ui_appearance/services/src/ |
H A D | ui_appearance_ability_client.cpp | 76 int32_t UiAppearanceAbilityClient::GetFontScale(std::string &fontScale) in GetFontScale() function in OHOS::ArkUi::UiAppearance::UiAppearanceAbilityClient 84 auto res = uiAppearanceServiceProxy_->GetFontScale(fontScale); in GetFontScale()
|
H A D | ui_appearance_ability_stub.cpp | 64 auto state = GetFontScale(fontScale); in OnGetFontScaleInner()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/form/mock/ |
H A D | mock_system_properties.cpp | 19 float SystemProperties::GetFontScale() in GetFontScale() function in OHOS::Ace::SystemProperties
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pipeline/ |
H A D | mock_pipeline_context.h | 39 MOCK_METHOD(float, GetFontScale, ());
|
/ohos5.0/foundation/arkui/ui_appearance/services/include/ |
H A D | ui_appearance_ability_interface.h | 41 virtual int32_t GetFontScale(std::string &fontScale) = 0;
|
H A D | ui_appearance_ability_proxy.h | 28 int32_t GetFontScale(std::string& fontScale) override;
|
H A D | ui_appearance_ability_client.h | 41 int32_t GetFontScale(std::string& fontScale);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | calc_length.cpp | 29 scaleProperty.fpScale = pipeline->GetFontScale(); in CreateScaleProperty()
|
/ohos5.0/foundation/barrierfree/accessibility/frameworks/common/src/ |
H A D | accessibility_caption.cpp | 37 int32_t CaptionProperty::GetFontScale() const in GetFontScale() function in OHOS::AccessibilityConfig::CaptionProperty
|
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/ |
H A D | accessibility_caption.h | 63 int32_t GetFontScale() const;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/ |
H A D | select_layout_algorithm.cpp | 137 if (fontScale_ == context->GetFontScale()) { in NeedAgingUpdateParams() 140 fontScale_ = context->GetFontScale(); in NeedAgingUpdateParams()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_layout_algorithm.cpp | 191 auto fontScale = pipeline->GetFontScale(); in GetChildHeight() 192 …if (GreatOrEqualCustomPrecision(fontScale, progressTheme->GetFontScale()) && (GetType() == Progres… in GetChildHeight()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_pixel_unit_convert_ffi.cpp | 60 fontScale = pipelineContext->GetFontScale(); in GetFp2PxParam()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/ |
H A D | cj_environment.cpp | 69 result.value = context->GetFontScale(); in FfiOHOSAceFrameworkEnvironmentGetFontScale()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_column_layout_algorithm.cpp | 191 if (GreatOrEqual(pipeline->GetFontScale(), pickerTheme->GetMaxOneFontScale())) { in NeedAdaptForAging() 221 auto systemFontScale = static_cast<double>(pipeline->GetFontScale()); in ReCalcItemHeightScale()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_column_layout_algorithm.cpp | 214 if (GreatOrEqual(pipeline->GetFontScale(), pickerTheme->GetMaxOneFontScale())) { in NeedAdaptForAging() 245 auto systemFontScale = static_cast<double>(pipeline->GetFontScale()); in ReCalcItemHeightScale()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_prop_convertor.cpp | 249 … rsTextStyle.fontSize_ = context->NormalizeToPx(textStyle.GetFontSize() * context->GetFontScale()); in ToRSTextStyle() 251 … rsTextStyle.fontSize = context->NormalizeToPx(textStyle.GetFontSize() * context->GetFontScale()); in ToRSTextStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_view.cpp | 98 …if (sheetStyle.isTitleBuilder.has_value() && pipeline->GetFontScale() == sheetTheme->GetSheetNorma… in CreateOperationColumnNode() 372 if (pipeline->GetFontScale() == sheetTheme->GetSheetNormalScale() || isTitleCustombuilder) { in BuildTitleColumn() 395 if (pipeline->GetFontScale() == sheetTheme->GetSheetNormalScale()) { in BuildTitleColumn()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_dialog_view.cpp | 184 auto fontSizeScale = pipeline->GetFontScale(); in SetTitleIdealSize() 341 auto fontSizeScale = pipeline->GetFontScale(); in SetCalendarIdealSize() 530 auto fontSizeScale = pipeline->GetFontScale(); in CreateButtonNode() 590 auto fontSizeScale = pipeline->GetFontScale(); in UpdateButtonLayoutProperty() 825 auto fontSizeScale = pipelineContext->GetFontScale(); in SetCalendarPaintProperties() 994 auto fontSizeScale = pipelineContext->GetFontScale(); in UpdatePaintProperties() 1051 auto fontSizeScale = pipelineContext->GetFontScale(); in UpdateButtons()
|