Home
last modified time | relevance | path

Searched refs:resourceManager_ (Results 1 - 21 of 21) sorted by relevance

/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dresource_adapter_impl_standard.cpp129 resourceManager_ = resourceManager; in ResourceAdapterImpl()
159 resourceManager_ = newResMgr; in Init()
179 resourceManager_->UpdateResConfig(*resConfig); in UpdateConfig()
188 if (resourceManager_) { in GetTheme()
189 auto ret = resourceManager_->GetThemeById(themeId, theme->rawAttrs_); in GetTheme()
194 ret = resourceManager_->GetPatternByName(patternName.c_str(), attrMap); in GetTheme()
217 if (resourceManager_) { in GetColor()
218 auto state = resourceManager_->GetColorById(resId, result); in GetColor()
229 if (resourceManager_) { in GetColorByName()
232 auto state = resourceManager_ in GetColorByName()
[all...]
H A Dresource_adapter_impl_standard.h71 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::Ace::ResourceAdapterImpl
H A Dresource_adapter_impl.cpp278 resourceManager_ = resourceManager; in ResourceAdapterImpl()
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dextract_resource_manager.cpp25 if (!resourceManager_) { in ~ExtractResourceManager()
26 resourceManager_.reset(); in ~ExtractResourceManager()
38 resourceManager_ = resourceManager; in SetGlobalObject()
43 return resourceManager_; in GetGlobalObject()
/foundation/multimedia/audio_framework/services/audio_policy/safe_volume_notification/src/
H A Daudio_safe_volume_notification_impl.cpp40 if (resourceManager_ == nullptr) { in GetStringByName()
41 AUDIO_ERR_LOG("resourceManager_ is null."); in GetStringByName()
47 ret = resourceManager_->GetStringByName(SAFE_VOLUME_MUSIC_TIMER_TITTLE_ID, resourceContext); in GetStringByName()
52 ret = resourceManager_->GetStringByName(SAFE_VOLUME_INCREASE_VOLUME_TITTLE_ID, resourceContext); in GetStringByName()
57 ret = resourceManager_->GetStringByName(SAFE_VOLUME_MUSIC_TIMER_TEXT_ID, resourceContext); in GetStringByName()
62 ret = resourceManager_->GetStringByName(SAFE_VOLUME_INCREASE_VOLUME_TEXT_ID, resourceContext); in GetStringByName()
81 if (resourceManager_ == nullptr) { in SetTitleAndText()
82 AUDIO_ERR_LOG("resourceManager_ is null."); in SetTitleAndText()
105 if (resourceManager_ == nullptr) { in GetButtonName()
106 AUDIO_ERR_LOG("resourceManager_ i in GetButtonName()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/
H A Dbundle_resource_drawable_utils.cpp26 std::shared_ptr<Global::Resource::ResourceManager> BundleResourceDrawableUtils::resourceManager_ = nullptr; member in OHOS::AppExecFwk::BundleResourceDrawableUtils
32 if (resourceManager_ == nullptr) { in InitResourceManager()
37 resourceManager_ = in InitResourceManager()
72 std::string themeMask = (resourceManager_ == nullptr) ? "" : resourceManager_->GetThemeMask(); in ConvertToDrawableDescriptor()
81 std::make_unique<Ace::Napi::LayeredDrawableDescriptor>(std::move(jsonBuf), 0, resourceManager_, themeMask, 1, in ConvertToDrawableDescriptor()
H A Dbundle_resource_drawable_utils.h39 static std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::AppExecFwk::BundleResourceDrawableUtils
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dcontext_deal.cpp140 return resourceManager_; in GetResourceManager()
257 if (resourceManager_ != nullptr) { in SetPattern()
261 OHOS::Global::Resource::RState errval = resourceManager_->GetPatternById(patternId, pattern_); in SetPattern()
266 TAG_LOGE(AAFwkTag::APPKIT, "SetPattern resourceManager_ is nullptr"); in SetPattern()
285 resourceManager_ = resourceManager; in initResourceManager()
290 if (resourceManager_ == nullptr) { in GetString()
291 TAG_LOGE(AAFwkTag::APPKIT, "GetString resourceManager_ is nullptr"); in GetString()
296 OHOS::Global::Resource::RState errval = resourceManager_->GetStringById(resId, ret); in GetString()
307 if (resourceManager_ == nullptr) { in GetStringArray()
308 TAG_LOGE(AAFwkTag::APPKIT, "resourceManager_ i in GetStringArray()
[all...]
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_application_info.h38 resourceManager_ = resourceManager; in SetResourceManager()
46 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::Ace::Platform::AceApplicationInfoImpl
H A Dace_application_info.cpp45 resourceManager_->GetResConfig(*resConfig); in ChangeLocale()
55 resourceManager_->UpdateResConfig(*resConfig); in ChangeLocale()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_application_info.h54 resourceManager_ = resourceManager; in SetResourceManager()
65 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::Ace::Platform::AceApplicationInfoImpl
H A Dace_application_info.cpp49 resourceManager_->GetResConfig(*resConfig); in ChangeLocale()
55 resourceManager_->UpdateResConfig(*resConfig); in ChangeLocale()
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dextract_resource_manager.h41 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::AbilityBase::ExtractResourceManager
/foundation/multimedia/audio_framework/services/audio_policy/safe_volume_notification/include/
H A Daudio_safe_volume_notification_impl.h49 Global::Resource::ResourceManager *resourceManager_ = nullptr; member in OHOS::AudioStandard::AudioSafeVolumeNotificationImpl
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/
H A Dohos_file.cpp70 resourceManager_ = resourceMgrIter->second; in UpdateResManager()
77 resourceManager_ = newResMgr; in UpdateResManager()
82 return resourceManager_; in GetResMgr()
H A Dohos_file.h78 std::shared_ptr<OHOS::Global::Resource::ResourceManager> resourceManager_ { nullptr };
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dresource_adapter_impl.cpp153 resourceManager_ = sysResourceManager_; in Init()
470 auto drawableDescriptor = Napi::DrawableDescriptorFactory::Create(resId, resourceManager_, state, drawableType, 0); in GetPixelMap()
635 resourceManager_ = sysResourceManager_; in UpdateResourceManager()
641 resourceManager_ = resourceMgrIter->second; in UpdateResourceManager()
651 resourceManager_ = context->GetResourceManager(); in UpdateResourceManager()
652 if (resourceManager_ && resConfig_ != nullptr) { in UpdateResourceManager()
653 resourceManager_->UpdateResConfig(*resConfig_); in UpdateResourceManager()
H A Dresource_adapter_impl.h84 return resourceManager_; in GetResourceManager()
87 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::Ace::ResourceAdapterImpl
91 // protect resourceManager_
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dcontext_deal.h339 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_ = nullptr; member in OHOS::AppExecFwk::ContextDeal
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/
H A Dcontext_impl.h481 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_ = nullptr; member in OHOS::AbilityRuntime::ContextImpl
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dcontext_impl.cpp1081 resourceManager_ = resourceManager; in SetResourceManager()
1086 if (resourceManager_) { in GetResourceManager()
1087 return resourceManager_; in GetResourceManager()

Completed in 12 milliseconds