/foundation/arkui/ace_engine/frameworks/core/components/form/ |
H A D | sub_container.h | 48 const FrontendType& cardType, const FrontendType& uiSyntax); 132 FrontendType GetCardType() const in GetCardType() 137 FrontendType GetUISyntaxType() const in GetUISyntaxType() 175 FrontendType cardType_ = FrontendType::JS_CARD; 176 FrontendType uiSyntax_ = FrontendType::JS_CARD;
|
H A D | sub_container.cpp | 157 const FrontendType& cardType, const FrontendType& uiSyntax) in RunCard() 169 if (uiSyntax == FrontendType::ETS_CARD) { in RunCard() 172 uiSyntax_ = FrontendType::ETS_CARD; in RunCard() 177 if (cardType_ == FrontendType::ETS_CARD) { in RunCard() 180 } else if (cardType_ == FrontendType::JS_CARD) { in RunCard() 217 if (cardType_ == FrontendType::ETS_CARD) { // ETS Card : API9 only support New Pipeline in RunCard() 231 if (cardType_ == FrontendType::ETS_CARD) { in RunCard() 300 if (cardType_ == FrontendType::ETS_CARD) { // ETS Card : API9 only support NG-Host & NG-eTSCard in RunCard() 316 } else if (cardType_ == FrontendType in RunCard() [all...] |
H A D | form_element.cpp | 262 const FrontendType& frontendType, const FrontendType& uiSyntax) { in Prepare()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/mock/ |
H A D | mock_sub_container.cpp | 35 const FrontendType& cardType, const FrontendType& uiSyntax) in RunCard()
|
H A D | mock_sub_container.h | 35 const std::string& formSrc, const FrontendType& cardType, const FrontendType& uiSyntax));
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_container.cpp | 95 AceContainer::AceContainer(int32_t instanceId, FrontendType type, bool useNewPipeline, bool useCurrentEventRunner) in AceContainer() 105 if (type_ != FrontendType::DECLARATIVE_JS && type_ != FrontendType::ETS_CARD) { in AceContainer() 116 if (type_ != FrontendType::DECLARATIVE_JS && type_ != FrontendType::ETS_CARD) { in Initialize() 168 if (type_ == FrontendType::JS) { in InitializeFrontend() 176 } else if (type_ == FrontendType::DECLARATIVE_JS) { in InitializeFrontend() 194 } else if (type_ == FrontendType::JS_CARD) { in InitializeFrontend() 197 } else if (type_ == FrontendType::ETS_CARD) { in InitializeFrontend() 476 int32_t instanceId, FrontendType typ in CreateContainer() [all...] |
H A D | ace_container.h | 61 int32_t instanceId, FrontendType type, bool useNewPipeline, bool useCurrentEventRunner = false); 81 AceContainer(int32_t instanceId, FrontendType type, bool useNewPipeline, bool useCurrentEventRunner = false); 182 FrontendType GetType() const in GetType() 332 FrontendType type_ { FrontendType::JSON };
|
H A D | ace_ability.cpp | 224 AceContainer::CreateContainer(ACE_INSTANCE_ID, FrontendType::JS_CARD, false); in AceAbility() 227 AceContainer::CreateContainer(ACE_INSTANCE_ID, FrontendType::JS, false); in AceAbility() 232 AceContainer::CreateContainer(ACE_INSTANCE_ID, FrontendType::ETS_CARD, useNewPipeline_); in AceAbility() 235 AceContainer::CreateContainer(ACE_INSTANCE_ID, FrontendType::DECLARATIVE_JS, useNewPipeline_); in AceAbility() 507 if (container->GetType() == FrontendType::DECLARATIVE_JS) { in OnConfigurationChanged()
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | frontend.h | 79 enum class FrontendType { JSON, JS, JS_CARD, DECLARATIVE_JS, JS_PLUGIN, ETS_CARD, DECLARATIVE_CJ }; class 95 virtual bool Initialize(FrontendType type, const RefPtr<TaskExecutor>& taskExecutor) = 0; 162 FrontendType GetType() const in GetType() 338 FrontendType type_ = FrontendType::JS;
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | dialog_container.h | 38 explicit DialogContainer(int32_t instanceId, FrontendType type = FrontendType::DECLARATIVE_JS); 225 FrontendType type_ = FrontendType::DECLARATIVE_JS;
|
H A D | ace_ability.cpp | 63 FrontendType GetFrontendType(const std::string& frontendType) in GetFrontendType() 66 return FrontendType::JS; in GetFrontendType() 68 return FrontendType::JS_CARD; in GetFrontendType() 70 return FrontendType::DECLARATIVE_JS; in GetFrontendType() 72 return FrontendType::JS; in GetFrontendType() 76 FrontendType GetFrontendTypeFromManifest(const std::string& packagePath, const std::string& srcPath, bool isHap) in GetFrontendTypeFromManifest() 84 return FrontendType::JS; in GetFrontendTypeFromManifest() 88 return FrontendType::JS; in GetFrontendTypeFromManifest() 93 return FrontendType::DECLARATIVE_JS; in GetFrontendTypeFromManifest() 319 FrontendType frontendTyp in OnStart() [all...] |
H A D | ace_container.h | 91 AceContainer(int32_t instanceId, FrontendType type, std::shared_ptr<OHOS::AppExecFwk::Ability> aceAbility, 94 AceContainer(int32_t instanceId, FrontendType type, std::weak_ptr<OHOS::AbilityRuntime::Context> runtimeContext, 98 AceContainer(int32_t instanceId, FrontendType type, std::weak_ptr<OHOS::AbilityRuntime::Context> runtimeContext, 423 static void CreateContainer(int32_t instanceId, FrontendType type, const std::string& instanceName, 745 FrontendType type_ = FrontendType::JS;
|
H A D | ace_container.cpp | 201 AceContainer::AceContainer(int32_t instanceId, FrontendType type, std::shared_ptr<OHOS::AppExecFwk::Ability> aceAbility, in AceContainer() 221 AceContainer::AceContainer(int32_t instanceId, FrontendType type, in AceContainer() 244 AceContainer::AceContainer(int32_t instanceId, FrontendType type, in AceContainer() 284 if (type_ == FrontendType::DECLARATIVE_JS || type_ == FrontendType::DECLARATIVE_CJ) { in InitializeTask() 303 if (type_ != FrontendType::DECLARATIVE_JS && type_ != FrontendType::DECLARATIVE_CJ) { in Initialize() 380 if (type_ == FrontendType::JS) { in InitializeFrontend() 392 } else if (type_ == FrontendType::JS_CARD) { in InitializeFrontend() 397 } else if (type_ == FrontendType in InitializeFrontend() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/mock/ |
H A D | mock_ace_container.cpp | 47 AceContainer::AceContainer(int32_t instanceId, FrontendType type, std::shared_ptr<OHOS::AppExecFwk::Ability> aceAbility, in AceContainer() 51 AceContainer::AceContainer(int32_t instanceId, FrontendType type, in AceContainer() 60 AceContainer::AceContainer(int32_t instanceId, FrontendType type, in AceContainer() 83 auto aceContainer = AceType::MakeRefPtr<AceContainer>(instanceId, FrontendType::DECLARATIVE_JS, context, in GetContainer()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/ |
H A D | form_node_test.cpp | 120 FrontendType uiSyntaxBak = FrontendType::JS_CARD; in HWTEST_F() 121 pattern->subContainer_->uiSyntax_ = FrontendType::ETS_CARD; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/form/resource/ |
H A D | form_manager_delegate.h | 51 const FrontendType& frontendType, const FrontendType& uiSyntax)>;
|
H A D | form_manager_delegate.cpp | 956 OHOS::Ace::FrontendType type = OHOS::Ace::FrontendType::JS_CARD; in ProcessFormUpdate() 958 type = OHOS::Ace::FrontendType::ETS_CARD; in ProcessFormUpdate() 960 OHOS::Ace::FrontendType uiSyntax = OHOS::Ace::FrontendType::JS_CARD; in ProcessFormUpdate() 962 uiSyntax = OHOS::Ace::FrontendType::ETS_CARD; in ProcessFormUpdate()
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | card_frontend_declarative.h | 51 bool Initialize(FrontendType type, const RefPtr<TaskExecutor>& taskExecutor) override;
|
H A D | card_frontend_declarative.cpp | 33 bool CardFrontendDeclarative::Initialize(FrontendType type, const RefPtr<TaskExecutor>& taskExecutor) in Initialize()
|
/foundation/arkui/ace_engine/test/mock/core/common/ |
H A D | mock_frontend.h | 33 MOCK_METHOD(bool, Initialize, (FrontendType type, const RefPtr<TaskExecutor>& taskExecutor), (override));
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_group_js_bridge.cpp | 102 if (type == FrontendType::JS) { in ProcessJsRequest() 109 } else if (type == FrontendType::DECLARATIVE_JS) { in ProcessJsRequest() 157 if ((type == FrontendType::JS && !instance->CallCurlFunction(requestData, callbackId)) || in ProcessJsRequest() 158 (type == FrontendType::DECLARATIVE_JS && !declarativeInstance->CallCurlFunction(requestData, callbackId))) { in ProcessJsRequest()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/ |
H A D | cj_frontend_abstract.cpp | 73 bool CJFrontendAbstract::Initialize(FrontendType type, const RefPtr<OHOS::Ace::TaskExecutor>& taskExecutor) in Initialize() 75 if (type != FrontendType::DECLARATIVE_CJ) { in Initialize() 76 LOGE("CJFrontendAbstract Initialize failed, FrontendType only accept DECLARATIVE_CJ"); in Initialize()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | declarative_frontend_ng.cpp | 40 bool DeclarativeFrontendNG::Initialize(FrontendType type, const RefPtr<TaskExecutor>& taskExecutor) in Initialize() 44 ACE_DCHECK(type_ == FrontendType::DECLARATIVE_JS); in Initialize()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | js_frontend.h | 48 bool Initialize(FrontendType type, const RefPtr<TaskExecutor>& taskExecutor) override;
|
/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | render_radio.cpp | 135 if (context && context->GetFrontend() && context->GetFrontendType() == FrontendType::JS_CARD) { in UpdateGroupValue()
|