Home
last modified time | relevance | path

Searched refs:GetFontScale (Results 1 – 25 of 92) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dutil_modifier.cpp26 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 Dstepper_layout_algorithm.cpp66 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 Djs_environment.cpp33 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 Djs_environment.h29 void GetFontScale(const JSCallbackInfo& args);
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Ddimension.cpp140 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 Daging_adapation_dialog_util.cpp45 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 Dui_appearance_ability_client.cpp76 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 Dui_appearance_ability_stub.cpp64 auto state = GetFontScale(fontScale); in OnGetFontScaleInner()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/form/mock/
H A Dmock_system_properties.cpp19 float SystemProperties::GetFontScale() in GetFontScale() function in OHOS::Ace::SystemProperties
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pipeline/
H A Dmock_pipeline_context.h39 MOCK_METHOD(float, GetFontScale, ());
/ohos5.0/foundation/arkui/ui_appearance/services/include/
H A Dui_appearance_ability_interface.h41 virtual int32_t GetFontScale(std::string &fontScale) = 0;
H A Dui_appearance_ability_proxy.h28 int32_t GetFontScale(std::string& fontScale) override;
H A Dui_appearance_ability_client.h41 int32_t GetFontScale(std::string& fontScale);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dcalc_length.cpp29 scaleProperty.fpScale = pipeline->GetFontScale(); in CreateScaleProperty()
/ohos5.0/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_caption.cpp37 int32_t CaptionProperty::GetFontScale() const in GetFontScale() function in OHOS::AccessibilityConfig::CaptionProperty
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_caption.h63 int32_t GetFontScale() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/
H A Dselect_layout_algorithm.cpp137 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 Dprogress_layout_algorithm.cpp191 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 Dcj_pixel_unit_convert_ffi.cpp60 fontScale = pipelineContext->GetFontScale(); in GetFp2PxParam()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/
H A Dcj_environment.cpp69 result.value = context->GetFontScale(); in FfiOHOSAceFrameworkEnvironmentGetFontScale()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_layout_algorithm.cpp191 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 Ddatepicker_column_layout_algorithm.cpp214 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 Ddrawing_prop_convertor.cpp249 … 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 Dsheet_view.cpp98 …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 Dcalendar_dialog_view.cpp184 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()

1234