/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | resource_adapter_impl_standard.cpp | 129 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 D | resource_adapter_impl_standard.h | 71 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::Ace::ResourceAdapterImpl
|
H A D | resource_adapter_impl.cpp | 278 resourceManager_ = resourceManager; in ResourceAdapterImpl()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | extract_resource_manager.cpp | 25 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 D | audio_safe_volume_notification_impl.cpp | 40 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 D | bundle_resource_drawable_utils.cpp | 26 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 D | bundle_resource_drawable_utils.h | 39 static std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::AppExecFwk::BundleResourceDrawableUtils
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | context_deal.cpp | 140 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 D | ace_application_info.h | 38 resourceManager_ = resourceManager; in SetResourceManager() 46 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::Ace::Platform::AceApplicationInfoImpl
|
H A D | ace_application_info.cpp | 45 resourceManager_->GetResConfig(*resConfig); in ChangeLocale() 55 resourceManager_->UpdateResConfig(*resConfig); in ChangeLocale()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_application_info.h | 54 resourceManager_ = resourceManager; in SetResourceManager() 65 std::shared_ptr<Global::Resource::ResourceManager> resourceManager_; member in OHOS::Ace::Platform::AceApplicationInfoImpl
|
H A D | ace_application_info.cpp | 49 resourceManager_->GetResConfig(*resConfig); in ChangeLocale() 55 resourceManager_->UpdateResConfig(*resConfig); in ChangeLocale()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | extract_resource_manager.h | 41 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 D | audio_safe_volume_notification_impl.h | 49 Global::Resource::ResourceManager *resourceManager_ = nullptr; member in OHOS::AudioStandard::AudioSafeVolumeNotificationImpl
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | ohos_file.cpp | 70 resourceManager_ = resourceMgrIter->second; in UpdateResManager() 77 resourceManager_ = newResMgr; in UpdateResManager() 82 return resourceManager_; in GetResMgr()
|
H A D | ohos_file.h | 78 std::shared_ptr<OHOS::Global::Resource::ResourceManager> resourceManager_ { nullptr };
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_adapter_impl.cpp | 153 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 D | resource_adapter_impl.h | 84 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 D | context_deal.h | 339 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 D | context_impl.h | 481 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 D | context_impl.cpp | 1081 resourceManager_ = resourceManager; in SetResourceManager() 1086 if (resourceManager_) { in GetResourceManager() 1087 return resourceManager_; in GetResourceManager()
|