Lines Matching defs:instanceId
95 AceContainer::AceContainer(int32_t instanceId, FrontendType type, bool useNewPipeline, bool useCurrentEventRunner)
96 : instanceId_(instanceId), messageBridge_(AceType::MakeRefPtr<PlatformBridge>()), type_(type)
257 [weak, instanceId = instanceId_]() {
258 ContainerScope scope(instanceId);
276 [weak, instanceId = instanceId_, mockJsonInfo = mockJsonInfo_]() {
277 ContainerScope scope(instanceId);
385 auto&& cardViewPositionCallback = [weak, instanceId = instanceId_](int id, float offsetX, float offsetY) {
386 ContainerScope scope(instanceId);
476 int32_t instanceId, FrontendType type, bool useNewPipeline, bool useCurrentEventRunner)
478 auto aceContainer = AceType::MakeRefPtr<AceContainer>(instanceId, type, useNewPipeline, useCurrentEventRunner);
481 ContainerScope scope(instanceId);
491 void AceContainer::DestroyContainer(int32_t instanceId)
493 auto container = AceEngine::Get().GetContainer(instanceId);
499 AceEngine::Get().UnRegisterFromWatchDog(instanceId);
506 EngineHelper::RemoveEngine(instanceId);
507 AceEngine::Get().RemoveContainer(instanceId);
510 UIContentErrorCode AceContainer::RunPage(int32_t instanceId, const std::string& url, const std::string& params)
513 auto container = AceEngine::Get().GetContainer(instanceId);
518 ContainerScope scope(instanceId);
579 void AceContainer::NativeOnConfigurationUpdated(int32_t instanceId)
581 auto container = GetContainerInstance(instanceId);
585 ContainerScope scope(instanceId);
672 void AceContainer::AddRouterChangeCallback(int32_t instanceId, const OnRouterChangeCallback& onRouterChangeCallback)
674 auto container = GetContainerInstance(instanceId);
678 ContainerScope scope(instanceId);
688 int32_t instanceId, const std::string& packagePath, const std::vector<std::string>& paths)
690 auto container = GetContainerInstance(instanceId);
707 int32_t instanceId, const std::string& packagePath, const std::vector<std::string>& paths)
709 auto container = GetContainerInstance(instanceId);
727 void AceContainer::SetResourcesPathAndThemeStyle(int32_t instanceId, const std::string& systemResourcesPath,
731 auto container = GetContainerInstance(instanceId);
735 ContainerScope scope(instanceId);
840 auto instanceId = aceView_->GetInstanceId();
842 auto state = flutter::UIDartState::Current()->GetStateById(instanceId);
860 std::move(window), taskExecutor_, assetManager_, resRegister_, frontend_, instanceId);
926 AceEngine::Get().RegisterToWatchDog(instanceId, taskExecutor_, GetSettings().useUIAsJSThread);
934 auto instanceId = aceView_->GetInstanceId();
968 std::move(window), taskExecutor_, assetManager_, resRegister_, frontend_, instanceId);
972 std::move(window), taskExecutor_, assetManager_, resRegister_, frontend_, instanceId);
1059 AceEngine::Get().RegisterToWatchDog(instanceId, taskExecutor_, GetSettings().useUIAsJSThread);
1063 RefPtr<AceContainer> AceContainer::GetContainerInstance(int32_t instanceId)
1065 auto container = AceType::DynamicCast<AceContainer>(AceEngine::Get().GetContainer(instanceId));
1069 std::string AceContainer::GetContentInfo(int32_t instanceId, ContentInfoType type)
1071 auto container = AceEngine::Get().GetContainer(instanceId);
1073 ContainerScope scope(instanceId);