Home
last modified time | relevance | path

Searched refs:dataContext (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_napi_sync_impl.cpp150 RState state = dataContext->addon_->GetResMgr()->GetRawFileList(dataContext->path_.c_str(), in GetRawFileListSync()
175 RState state = dataContext->addon_->GetResMgr()->GetRawFileFromHap(dataContext->path_, in GetRawFileContentSync()
176 dataContext->len_, dataContext->mediaData); in GetRawFileContentSync()
786 dataContext->value_, dataContext->jsParams_); in ProcessStrResourceByName()
892 dataContext->iValue_); in ProcessNumResourceByName()
937 dataContext->bValue_); in GetBooleanByName()
1065 dataContext->resName_.c_str(), dataContext->param_, dataContext->jsParams_); in ProcessPluralStrResourceByName()
1109 dataContext->value_, dataContext->density_); in ProcessMediaBase64ResourceByName()
1152 dataContext->len_, dataContext->mediaData, dataContext->density_); in ProcessMediaResourceByName()
1253 dataContext->addon_->GetResMgr()->GetLocales(dataContext->arrayValue_, dataContext->bValue_); in GetLocales()
[all …]
H A Dresource_manager_napi_async_impl.cpp123 finalResult = dataContext->createValueFunc_(env, *dataContext); in Complete()
167 delete dataContext; in Complete()
182 static_cast<void*>(dataContext.get()), &dataContext->work_) != napi_ok) { in GetResult()
471 if (dataContext->resId_ != 0 || dataContext->resource_ != nullptr) { in __anon06571fda1d02()
567 if (dataContext->resId_ != 0 || dataContext->resource_ != nullptr) { in __anon06571fda1f02()
585 dataContext->value_, dataContext->density_); in __anon06571fda1f02()
631 if (dataContext->resId_ != 0 || dataContext->resource_ != nullptr) { in __anon06571fda2002()
649 dataContext->resName_.c_str(), dataContext->param_, dataContext->jsParams_); in __anon06571fda2002()
684 dataContext->len_, dataContext->mediaData); in __anon06571fda2102()
752 dataContext->len_, dataContext->mediaData, dataContext->density_); in __anon06571fda2402()
[all …]
H A Dresource_manager_napi_utils.cpp166 dataContext.SetErrorMsg("Failed to create array"); in CreateJsArray()
169 for (size_t i = 0; i < dataContext.arrayValue_.size(); i++) { in CreateJsArray()
178 dataContext.SetErrorMsg("Failed to set array item"); in CreateJsArray()
400 resMgr = dataContext->addon_->GetResMgr(); in GetHapResourceManager()
401 resId = dataContext->resId_; in GetHapResourceManager()
406 if (dataContext->addon_->IsSystem()) { in GetHapResourceManager()
407 resMgr = dataContext->addon_->GetResMgr(); in GetHapResourceManager()
413 if (dataContext->addon_->isOverrideAddon()) { in GetHapResourceManager()
414 resMgr = dataContext->addon_->GetResMgr(); in GetHapResourceManager()
417 auto context = dataContext->addon_->GetContext(); in GetHapResourceManager()
[all …]
/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/include/
H A Dresource_manager_napi_sync_impl.h110 std::unique_ptr<ResMgrDataContext> &dataContext);
113 std::unique_ptr<ResMgrDataContext> &dataContext);
116 std::unique_ptr<ResMgrDataContext> &dataContext);
125 std::unique_ptr<ResMgrDataContext> &dataContext);
128 std::unique_ptr<ResMgrDataContext> &dataContext);
131 std::unique_ptr<ResMgrDataContext> &dataContext);
134 std::unique_ptr<ResMgrDataContext> &dataContext);
137 std::unique_ptr<ResMgrDataContext> &dataContext);
140 std::unique_ptr<ResMgrDataContext> &dataContext);
143 std::unique_ptr<ResMgrDataContext> &dataContext);
[all …]
H A Dresource_manager_napi_utils.h68 static bool GetHapResourceManager(const ResMgrDataContext* dataContext,
73 … GetConfigObject(napi_env env, napi_value object, std::unique_ptr<ResMgrDataContext> &dataContext);
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_attachment_container.h62 virtual bool Attach(const IObject::Ptr& attachment, const IObject::Ptr& dataContext) = 0;
64 bool Attach(const T& object, const U& dataContext) in Attach() argument
66 …turn Attach(interface_pointer_cast<IObject>(object), interface_pointer_cast<IObject>(dataContext)); in Attach()
77 …ach(IContainer::SizeType pos, const IObject::Ptr& attachment, const IObject::Ptr& dataContext) = 0;
79 bool Attach(IContainer::SizeType pos, const T& object, const U& dataContext) in Attach() argument
81 …Attach(pos, interface_pointer_cast<IObject>(object), interface_pointer_cast<IObject>(dataContext)); in Attach()
H A Dintf_attach.h62 virtual bool Attach(const IObject::Ptr& attachment, const IObject::Ptr& dataContext) = 0;
65 bool Attach(const T& object, const U& dataContext) in Attach() argument
67 …turn Attach(interface_pointer_cast<IObject>(object), interface_pointer_cast<IObject>(dataContext)); in Attach()
H A Dintf_attachment.h60 virtual bool Attaching(const IAttach::Ptr& target, const IObject::Ptr& dataContext) = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/attachment/
H A Dattachment.h45 …l bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) = 0; in META_BEGIN_NAMESPACE()
56 …bool Attaching(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) final in META_BEGIN_NAMESPACE()
58 if (AttachTo(target, dataContext)) { in META_BEGIN_NAMESPACE()
60 META_ACCESS_PROPERTY(DataContext)->SetValue(dataContext); in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dattachment_container.cpp95 bool AttachmentContainer::Attach(const IObject::Ptr& attachment, const IObject::Ptr& dataContext) in Attach() argument
97 return Attach(N_POS, attachment, dataContext); in Attach()
101 IContainer::SizeType pos, const IObject::Ptr& attachment, const IObject::Ptr& dataContext) in Attach() argument
122 const auto context = dataContext ? dataContext : interface_pointer_cast<IObject>(owner); in Attach()
H A Dattachment_container.h62 bool Attach(const IObject::Ptr& attachment, const IObject::Ptr& dataContext) override; in META_BEGIN_NAMESPACE()
63 …Container::SizeType pos, const IObject::Ptr& attachment, const IObject::Ptr& dataContext) override; in META_BEGIN_NAMESPACE()
H A Dobject.cpp51 bool Object::Attach(const IObject::Ptr& attachment, const IObject::Ptr& dataContext) in Attach() argument
55 return attachments_->Attach(attachment, dataContext); in Attach()
H A Dconnector.h28 …bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) overr… in META_BEGIN_NAMESPACE()
H A Dconnector.cpp21 … Connector::AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) in META_BEGIN_NAMESPACE()
H A Dobject.h51 bool Attach(const IObject::Ptr& attachment, const IObject::Ptr& dataContext) override; in META_BEGIN_NAMESPACE()
H A Dobject_hierarchy_observer.h95 …bool Attaching(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) over…
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/
H A Dobject_api.h405 …auto& Attach(const META_NS::IObject::Ptr& attachment, const META_NS::IObject::Ptr& dataContext = {…
407 META_API_CACHED_INTERFACE(Attach)->Attach(attachment, dataContext);
411 auto& Attach(const T& attachment, const U& dataContext = {})
413 … Attach(interface_pointer_cast<IObject>(attachment), interface_pointer_cast<IObject>(dataContext));
539 … Attach(const META_NS::IAttachment::Ptr& attachment, const META_NS::IObject::Ptr& dataContext = {})
541 Object::Attach(attachment, dataContext);
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Danim_impl.cpp69 …E_NS::shared_ptr<META_NS::IObject>& attachment, const META_NS::IObject::Ptr& dataContext) override;
82 bool Attaching(const IAttach::Ptr& target, const IObject::Ptr& dataContext) override in Attaching() argument
85 META_ACCESS_PROPERTY(DataContext)->SetValue(dataContext); in Attaching()
383 …l::Attach(const BASE_NS::shared_ptr<META_NS::IObject>& attachment, const IObject::Ptr& dataContext) in Attach() argument
388 return Super::Attach(attachment, dataContext); in Attach()
H A Dresource_container.cpp51 bool AttachTo(const META_NS::IAttach::Ptr& target, const IObject::Ptr& dataContext) override in AttachTo() argument
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Danimation.h86 bool Attach(const IObject::Ptr& attachment, const IObject::Ptr& dataContext) override in META_BEGIN_NAMESPACE()
88 return GetState().Attach(attachment, dataContext); in META_BEGIN_NAMESPACE()
118 bool Attaching(const IAttach::Ptr& target, const IObject::Ptr& dataContext) override in META_BEGIN_NAMESPACE()
121 SetValue(META_ACCESS_PROPERTY(DataContext), dataContext); in META_BEGIN_NAMESPACE()
H A Danimation_state.cpp377 bool AnimationState::Attach(const IObject::Ptr& attachment, const IObject::Ptr& dataContext) in Attach() argument
383 if (success = attachments->Attach(attachment, dataContext); success) { in Attach()
391 return attachments->Attach(attachment, dataContext); in Attach()
H A Danimation_modifier.h33 …bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) overr… in META_BEGIN_NAMESPACE()
H A Danimation_controller.h38 …bool AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) overr… in META_BEGIN_NAMESPACE()
H A Danimation_state.h133 bool Attach(const IObject::Ptr& attachment, const IObject::Ptr& dataContext); in META_BEGIN_NAMESPACE()
H A Danimation_controller.cpp30 …Controller::AttachTo(const META_NS::IAttach::Ptr& target, const META_NS::IObject::Ptr& dataContext) in AttachTo() argument

12