Home
last modified time | relevance | path

Searched refs:fontScale_ (Results 1 – 25 of 31) sorted by relevance

12

/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()
146 if (NearEqual(fontScale_, menuTheme->GetBigFontSizeScale()) || in NeedAgingUpdateParams()
147 NearEqual(fontScale_, menuTheme->GetLargeFontSizeScale()) || in NeedAgingUpdateParams()
148 NearEqual(fontScale_, menuTheme->GetMaxFontSizeScale())) { in NeedAgingUpdateParams()
H A Dselect_layout_algorithm.h41 float fontScale_ = 0.0f; variable
/ohos5.0/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_caption.cpp39 return fontScale_; in GetFontScale()
44 fontScale_ = scale; in SetFontScale()
/ohos5.0/foundation/barrierfree/accessibility/common/interface/src/parcel/
H A Daccessibility_caption_parcel.cpp30 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, fontScale_); in ReadFromParcel()
42 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, fontScale_); in Marshalling()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dsystem_properties.h185 if (fontScale != fontScale_) { in SetFontScale()
186 fontScale_ = fontScale; in SetFontScale()
654 static float fontScale_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dtool_bar_test_ng.cpp311 context->fontScale_ = AgingAdapationDialogUtil::GetDialogBigFontSizeScale() - 1.0f;
312 …EXPECT_TRUE(LessNotEqual(context->fontScale_, AgingAdapationDialogUtil::GetDialogBigFontSizeScale(…
315 context->fontScale_ = AgingAdapationDialogUtil::GetDialogBigFontSizeScale() + 1.0f;
316 …EXPECT_FALSE(LessNotEqual(context->fontScale_, AgingAdapationDialogUtil::GetDialogBigFontSizeScale…
H A Dnavdestination_test_ng.cpp545 context->fontScale_ = 1.75f;
589 context->fontScale_ = 2.0f;
634 context->fontScale_ = 3.2f;
H A Dtitle_bar_test_ng.cpp1343 context->fontScale_ = 2.0f;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Dprogress_theme.h98 theme->fontScale_ = pattern->GetAttr<double>("progress_aging_font_scale", 1.75); in ParsePattern()
306 return fontScale_; in GetFontScale()
387 float fontScale_ = 1.75f; variable
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pipeline/
H A Dmock_pipeline_context.h50 float fontScale_ = 1.0f;
H A Dmock_pipeline_context.cpp896 fontScale_ = fontScale; in SetFontScale()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtab_bar_event_test_ng.cpp689 pipeline->fontScale_ = BIG_FONT_SIZE_SCALE; // for InitLongPressEvent
738 pipeline->fontScale_ = 1.f;
749 pipeline->fontScale_ = BIG_FONT_SIZE_SCALE; // for InitLongPressEvent
769 pipeline->fontScale_ = MAX_FONT_SIZE_SCALE;
779 pipeline->fontScale_ = LARGE_FONT_SIZE_SCALE;
784 pipeline->fontScale_ = 1.f;
H A Dtab_bar_test_ng.cpp43 pipeline->fontScale_ = BIG_FONT_SIZE_SCALE;
49 pipeline->fontScale_ = LARGE_FONT_SIZE_SCALE;
54 pipeline->fontScale_ = MAX_FONT_SIZE_SCALE;
77 pipeline->fontScale_ = 1.f;
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_caption.h115 int32_t fontScale_ = 75; // font size variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_base.cpp241 if (!NearEqual(fontScale_, fontScale)) { in SetFontScale()
242 fontScale_ = fontScale; in SetFontScale()
243 …if ((isJsCard_ || (isFormRender_ && !isDynamicRender_)) && GreatOrEqual(fontScale_, CARD_MAX_FONT_… in SetFontScale()
244 fontScale_ = CARD_MAX_FONT_SCALE; in SetFontScale()
H A Dpipeline_base.h789 return fontScale_; in GetFontScale()
1528 float fontScale_ = 1.0f; variable
H A Dpipeline_context.h293 return dipScale_ * fontScale_; in GetFontUnitScale()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/
H A Dsheet_coverage_test_ng.cpp274 pipeline->fontScale_ = pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale();
279 pipeline->fontScale_ = pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale();
308 pipeline->fontScale_ = pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale();
318 pipeline->fontScale_ = pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale();
480 pipeline->fontScale_ = pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale() + 1;
486 pipeline->fontScale_ = pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale();
503 pipeline->fontScale_ = pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale() + 1;
508 pipeline->fontScale_ = pipeline->GetTheme<SheetTheme>()->GetSheetNormalScale();
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/render/
H A Ddrawing_prop_convertor_test_ng.cpp449 EXPECT_EQ(retTextStyle.fontSize_, FONT_SIZE * pipelineContext->fontScale_);
454 EXPECT_EQ(retTextStyle.fontSize, FONT_SIZE * pipelineContext->fontScale_);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drender_text.h162 double fontScale_ = 1.0; variable
H A Drender_text.cpp205 !NearEqual(fontScale_, pipelineContext->GetFontScale())) { in PerformLayout()
207 fontScale_ = pipelineContext->GetFontScale(); in PerformLayout()
929 fontScale_ = 1.0; in ClearRenderObject()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dsystem_properties.cpp443 float SystemProperties::fontScale_ = 1.0; member in OHOS::Ace::SystemProperties
622 return fontScale_; in GetFontScale()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/stepper/
H A Dstepper_test_ng.cpp1444 PipelineBase::GetCurrentContext()->fontScale_ = SUIT_AGE_LEVEL_THRER;
1448 PipelineBase::GetCurrentContext()->fontScale_ = SUIT_AGE_LEVEL_TWO;
1452 PipelineBase::GetCurrentContext()->fontScale_ = SUIT_AGE_LEVEL_ONE;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drender_text_field.h709 double fontScale_ = 1.0; variable
H A Drender_text_field.cpp502 !NearEqual(fontScale_, pipelineContext->GetFontScale())) { in PerformLayout()
503 fontScale_ = pipelineContext->GetFontScale(); in PerformLayout()
504 style_.SetFontSize(fontSize_ * fontScale_); in PerformLayout()

12