Searched refs:workScreenMode (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/ |
H A D | js_ui_extension.cpp | 214 auto workScreenMode = new (std::nothrow) std::weak_ptr<int32_t>(screenModePtr_); in BindContext() local 215 if (workScreenMode == nullptr) { in BindContext() 221 env, contextObj, DetachCallbackFunc, AttachUIExtensionContext, workContext, workScreenMode); in BindContext()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/ |
H A D | js_ui_ability.cpp | 255 auto workScreenMode = new (std::nothrow) std::weak_ptr<int32_t>(screenModePtr_); in SetAbilityContext() local 256 if (workScreenMode == nullptr) { in SetAbilityContext() 262 env, contextObj, DetachCallbackFunc, AttachJsAbilityContext, workContext, workScreenMode); in SetAbilityContext() 274 }, workScreenMode, nullptr); in SetAbilityContext()
|