Home
last modified time | relevance | path

Searched refs:systemFontScale (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/
H A Dselecttitlebar.js379 this.systemFontScale = 1;
442 if (l6.systemFontScale !== undefined) {
443 this.systemFontScale = l6.systemFontScale;
569 this.systemFontScale = m9.getHostContext()?.config?.fontSizeScale ?? 1;
573 return Math.min(this.systemFontScale, this.maxFontScale);
810 this.systemFontScale = 1;
869 if (o2.systemFontScale !== undefined) {
870 this.systemFontScale = o2.systemFontScale;
989 this.systemFontScale = k2.getHostContext()?.config?.fontSizeScale ?? 1;
993 return Math.min(this.systemFontScale, this.maxFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/
H A Dcomposetitlebar.js361 this.systemFontScale = 1;
423 if (j7.systemFontScale !== undefined) {
424 this.systemFontScale = j7.systemFontScale;
533 this.systemFontScale = u6.getHostContext()?.config?.fontSizeScale ?? 1;
537 return Math.min(this.systemFontScale, this.maxFontScale);
855 this.systemFontScale = 1;
913 if (v2.systemFontScale !== undefined) {
914 this.systemFontScale = v2.systemFontScale;
1017 this.systemFontScale = k2.getHostContext()?.config?.fontSizeScale ?? 1;
1021 return Math.min(this.systemFontScale, this.maxFontScale);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_layout_algorithm.cpp221 auto systemFontScale = static_cast<double>(pipeline->GetFontScale()); in ReCalcItemHeightScale() local
223 auto userSetHeightValue = AdjustFontSizeScale(userSetHeight, systemFontScale).ConvertToPx(); in ReCalcItemHeightScale()
225 … std::clamp(systemFontScale, pickerTheme->GetNormalFontScale(), pickerTheme->GetMaxTwoFontScale()); in ReCalcItemHeightScale()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/swiperefresher/source/
H A Dswiperefresher.ets53 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
57 return Math.min(systemFontScale, this.maxAppFontScale);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_layout_algorithm.cpp245 auto systemFontScale = static_cast<double>(pipeline->GetFontScale()); in ReCalcItemHeightScale() local
247 auto userSetHeightValue = AdjustFontSizeScale(userSetHeight, systemFontScale).ConvertToPx(); in ReCalcItemHeightScale()
248 double adjustedScale = std::clamp(systemFontScale, pickerTheme->GetNormalFontScale(), in ReCalcItemHeightScale()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/source/
H A Dcomposetitlebar.ets151 systemFontScale?: number = 1;
219 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
223 return Math.min(this.systemFontScale, this.maxFontScale);
365 systemFontScale?: number = 1;
437 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
441 return Math.min(this.systemFontScale, this.maxFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/source/
H A Dselecttitlebar.ets187 systemFontScale?: number = 1;
252 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
256 return Math.min(this.systemFontScale, this.maxFontScale);
383 systemFontScale?: number = 1;
453 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
457 return Math.min(this.systemFontScale, this.maxFontScale);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_layout_algorithm.cpp328 auto systemFontScale = static_cast<double>(pipeline->GetFontScale()); in ReCalcItemHeightScale() local
330 auto userSetHeightValue = AdjustFontSizeScale(userSetHeight, systemFontScale).ConvertToPx(); in ReCalcItemHeightScale()
331 double adjustedScale = std::clamp(systemFontScale, pickerTheme->GetNormalFontScale(), in ReCalcItemHeightScale()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/interfaces/
H A Dexceptionprompt.js406 let systemFontScale = uiContent.getHostContext()?.config?.fontSizeScale ?? 1; variable
410 return Math.min(systemFontScale, this.maxAppFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/source/
H A Dexceptionprompt.ets170 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
174 return Math.min(systemFontScale, this.maxAppFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/
H A Deditabletitlebar.js113 this.systemFontScale = 1;
162 if (l10.systemFontScale !== undefined) {
163 this.systemFontScale = l10.systemFontScale;
238 this.systemFontScale = y9.getHostContext()?.config?.fontSizeScale ?? 1;
242 return Math.min(this.systemFontScale, this.maxFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/
H A Dtabtitlebar.js407 this.systemFontScale = 1;
469 if (b9.systemFontScale !== undefined) {
470 this.systemFontScale = b9.systemFontScale;
599 this.systemFontScale = m8.getHostContext()?.config?.fontSizeScale ?? 1;
603 return Math.min(this.systemFontScale, this.maxFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/filter/source/
H A Dfilter.ets149 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
153 return Math.min(systemFontScale, this.maxAppFontScale);
293 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
297 return Math.min(systemFontScale, this.maxAppFontScale);
695 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
699 return Math.min(systemFontScale, this.maxAppFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/filter/interfaces/
H A Dfilter.js280 let systemFontScale = uiContent.getHostContext()?.config?.fontSizeScale ?? 1; variable
284 return Math.min(systemFontScale, this.maxAppFontScale);
718 let systemFontScale = uiContent.getHostContext()?.config?.fontSizeScale ?? 1; variable
722 return Math.min(systemFontScale, this.maxAppFontScale);
1681 let systemFontScale = uiContent.getHostContext()?.config?.fontSizeScale ?? 1; variable
1685 return Math.min(systemFontScale, this.maxAppFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/source/
H A Deditabletitlebar.ets157 private systemFontScale?: number = 1;
189 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
193 return Math.min(this.systemFontScale, this.maxFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/source/
H A Dtabtitlebar.ets215 systemFontScale?: number = 1;
280 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
284 return Math.min(this.systemFontScale, this.maxFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/subheader/source/
H A Dsubheader.ets286 …let systemFontScale = (uiContext.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
290 return Math.min(systemFontScale, this.appMaxFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/gridobjectsortcomponent/source/
H A DGridObjectSortComponent.ets237 let systemFontScale: number | undefined =
239 return Math.min(systemFontScale, this.maxAppFontScale, MAX_FONT_SCALE);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/source/
H A Ddialog.ets1125 …let systemFontScale = (uiContext.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
1129 return Math.min(systemFontScale, this.appMaxFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/
H A Ddialog.js3083 let systemFontScale = uiContext.getHostContext()?.config?.fontSizeScale ?? 1; variable
3087 return Math.min(systemFontScale, this.appMaxFontScale);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/treeview/source/
H A Dtreeview.ets1010 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
1014 return Math.min(systemFontScale, this.maxAppFontScale, MAX_FONT_SCALE)
3850 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
3854 return Math.min(systemFontScale, this.maxAppFontScale, MAX_FONT_SCALE)