Home
last modified time | relevance | path

Searched refs:GetFontScale (Results 1 - 25 of 98) sorted by relevance

1234

/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()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/
H A Dstepper_layout_algorithm.cpp59 if ((pipeline->GetFontScale() == LEVEL_ONE || pipeline->GetFontScale() == LEVEL_TWO || in Measure()
60 pipeline->GetFontScale() == LEVEL_THREE)) { in Measure()
121 if (pipeline->GetFontScale() == LEVEL_ONE || pipeline->GetFontScale() == LEVEL_TWO || in MeasureLeftButton()
122 pipeline->GetFontScale() == LEVEL_THREE) { in MeasureLeftButton()
162 if ((pipeline->GetFontScale() == LEVEL_ONE || pipeline->GetFontScale() == LEVEL_TWO || in MeasureRightButton()
163 pipeline->GetFontScale() == LEVEL_THREE) && !isLoadingButton_) { in MeasureRightButton()
234 if (pipeline->GetFontScale() in Layout()
[all...]
/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);
/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
/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
83 "GetFontScale", 10, nullptr, nullptr, HiviewDFX::XCOLLIE_FLAG_LOG); in GetFontScale()
84 auto res = uiAppearanceServiceProxy_->GetFontScale(fontScale); in GetFontScale()
H A Dui_appearance_ability_stub.cpp64 auto state = GetFontScale(fontScale); in OnGetFontScaleInner()
67 LOGE("ui_appearance GetFontScale write state fail"); in OnGetFontScaleInner()
72 LOGE("ui_appearance GetFontScale write fontScale fail"); in OnGetFontScaleInner()
H A Dui_appearance_ability_proxy.cpp92 int32_t UiAppearanceAbilityProxy::GetFontScale(std::string &fontScale) in GetFontScale() function in OHOS::ArkUi::UiAppearance::UiAppearanceAbilityProxy
/foundation/arkui/ace_engine/test/unittest/core/pattern/time_picker/
H A Dtime_picker_test_dialog_view.cpp202 EXPECT_EQ(ret, Dimension(FONT_VALUE_NOMARL / pipeline->GetFontScale())); in HWTEST_F()
296 EXPECT_EQ(ret, Dimension(FONT_VALUE_NOMARL.Value() / pipeline->GetFontScale())); in HWTEST_F()
307 * @tc.steps: step3+. fontSizeValue's unit is not VP.GetFontScale() < GetTitleFontScaleLimit() in HWTEST_F()
311 auto scale = pickerTheme->GetTitleFontScaleLimit() / pipeline->GetFontScale(); in HWTEST_F()
/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()
/foundation/arkui/ace_engine/test/mock/core/pipeline/
H A Dmock_pipeline_context.h40 MOCK_METHOD(float, GetFontScale, ());
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dcalc_length.cpp28 scaleProperty.fpScale = pipeline->GetFontScale(); in CreateScaleProperty()
/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);
H A Dui_appearance_ability.h55 int32_t GetFontScale(std::string& fontScale) override;
/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_caption.cpp37 int32_t CaptionProperty::GetFontScale() const in GetFontScale() function in OHOS::AccessibilityConfig::CaptionProperty
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_pixel_unit_convert_ffi.cpp58 fontScale = pipelineContext->GetFontScale(); in GetFp2PxParam()
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_caption.h63 int32_t GetFontScale() const;
/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()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_layout_algorithm.cpp185 auto fontScale = pipeline->GetFontScale(); in GetChildHeight()
186 if (GreatOrEqualCustomPrecision(fontScale, progressTheme->GetFontScale()) && (GetType() == ProgressType::CAPSULE)) { in GetChildHeight()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/
H A Dcj_environment.cpp66 result.value = context->GetFontScale(); in FfiOHOSAceFrameworkEnvironmentGetFontScale()
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/
H A Dsheet_others_test_ng.cpp89 EXPECT_NE(pipeline->GetFontScale(), pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale()); in HWTEST_F()
93 EXPECT_EQ(pipeline->GetFontScale(), pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale()); in HWTEST_F()
127 EXPECT_EQ(pipeline->GetFontScale(), pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale()); in HWTEST_F()
303 EXPECT_NE(pipeline->GetFontScale(), pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale()); in HWTEST_F()
330 EXPECT_NE(pipeline->GetFontScale(), pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale()); in HWTEST_F()
356 EXPECT_EQ(pipeline->GetFontScale(), pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale()); in HWTEST_F()
477 EXPECT_NE(pipeline->GetFontScale(), pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale()); in HWTEST_F()
505 EXPECT_EQ(pipeline->GetFontScale(), pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale()); in HWTEST_F()
/foundation/arkui/ui_appearance/test/unittest/
H A Dui_appearance_test.cpp153 DarkModeTest::GetUiAppearanceAbilityTest()->GetFontScale(fontScale); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_layout_algorithm.cpp218 if (GreatOrEqual(pipeline->GetFontScale(), pickerTheme->GetMaxOneFontScale())) { in NeedAdaptForAging()
247 auto systemFontScale = static_cast<double>(pipeline->GetFontScale()); in ReCalcItemHeightScale()

Completed in 10 milliseconds

1234