Home
last modified time | relevance | path

Searched refs:getHostContext (Results 1 – 25 of 55) sorted by relevance

123

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-getContext.md35 …getUIContext](js-apis-arkui-UIContext.md#uicontext)获取UIContext实例,并使用[getHostContext](js-apis-arkui…
93 // 建议使用this.getUIContext().getHostContext()
H A Djs-apis-arkui-ComponentContent.md440 …this.getUIContext().getHostContext()?.getApplicationContext().on('environment', environmentCallbac…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-getContext.md35 … API, and then call **getContext** bound to the context through the [getHostContext](js-apis-arkui…
93 // You are advised to use this.getUIContext().getHostContext().
H A Djs-apis-arkui-ComponentContent.md440 …this.getUIContext().getHostContext()?.getApplicationContext().on('environment', environmentCallbac…
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/swiperefresher/source/
H A Dswiperefresher.ets53 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-global-interface.md41 | getContext | getHostContext | 获取当前的Ability的Cont…
H A Darkts-layout-development-media-query.md188 …let context:common.UIAbilityContext = this.getUIContext().getHostContext() as common.UIAbilityCont…
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/swiperefresher/interfaces/
H A Dswiperefresher.js105 let k11 = j11.getHostContext()?.config?.fontSizeScale ?? 1;
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/source/
H A Dcomposetitlebar.ets219 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
437 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
619 let context = this.getUIContext().getHostContext() as common.UIAbilityContext;
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/source/
H A Dselecttitlebar.ets252 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
453 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
621 let context = this.getUIContext().getHostContext() as common.UIAbilityContext;
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/interfaces/
H A Dexceptionprompt.js406 let systemFontScale = uiContent.getHostContext()?.config?.fontSizeScale ?? 1;
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/
H A Dselecttitlebar.js569 this.systemFontScale = m9.getHostContext()?.config?.fontSizeScale ?? 1;
989 this.systemFontScale = k2.getHostContext()?.config?.fontSizeScale ?? 1;
1315 let a = this.getUIContext().getHostContext();
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/source/
H A Dexceptionprompt.ets170 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/
H A Dcomposetitlebar.js533 this.systemFontScale = u6.getHostContext()?.config?.fontSizeScale ?? 1;
1017 this.systemFontScale = k2.getHostContext()?.config?.fontSizeScale ?? 1;
1370 let a = this.getUIContext().getHostContext();
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/toolbar/source/
H A Dtoolbar.ets300 …let fontScaleSystem = (context.getHostContext() as common.UIAbilityContext)?.config?.fontSizeScale…
576 let context = this.getUIContext().getHostContext() as common.UIAbilityContext;
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-global-interface.md42 | getContext | getHostContext | Obtains the conte…
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/toolbar/interfaces/
H A Dtoolbar.js712 let s4 = r4.getHostContext()?.config?.fontSizeScale ?? 1;
1260 let a = this.getUIContext().getHostContext();
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/source/
H A Deditabletitlebar.ets189 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
745 let context = this.getUIContext().getHostContext() as common.UIAbilityContext;
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/source/
H A Dtabtitlebar.ets280 …this.systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSc…
782 let context = this.getUIContext().getHostContext() as common.UIAbilityContext;
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/
H A Dchip.js1551 this.fontSizeScale = e1.getHostContext()?.config?.fontSizeScale ?? 1;
1568 .getHostContext()
1585 .getHostContext()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/filter/source/
H A Dfilter.ets149 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
293 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
695 …let systemFontScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeSca…
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/chip/source/
H A Dchip.ets955 …this.fontSizeScale = (uiContent.getHostContext() as common.UIAbilityContext)?.config?.fontSizeScal…
972 .getHostContext()
991 .getHostContext()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/
H A Deditabletitlebar.js238 this.systemFontScale = y9.getHostContext()?.config?.fontSizeScale ?? 1;
1361 let g = this.getUIContext().getHostContext();
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/filter/interfaces/
H A Dfilter.js280 let systemFontScale = uiContent.getHostContext()?.config?.fontSizeScale ?? 1;
718 let systemFontScale = uiContent.getHostContext()?.config?.fontSizeScale ?? 1;
1681 let systemFontScale = uiContent.getHostContext()?.config?.fontSizeScale ?? 1;
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/
H A Dtabtitlebar.js599 this.systemFontScale = m8.getHostContext()?.config?.fontSizeScale ?? 1;
1536 let a = this.getUIContext().getHostContext();

123