Lines Matching refs:Platform
106 class AcePlatformEventCallback final : public Platform::PlatformEventCallback {
279 Platform::AceApplicationInfoImpl::GetInstance().SetResourceManager(resourceManager);
373 Platform::AceContainer::CreateContainer(abilityId_, frontendType, srcPath, shared_from_this(),
383 auto container = Platform::AceContainer::GetContainer(abilityId_);
405 auto aceView = Platform::AceViewOhos::CreateView(abilityId_);
406 Platform::AceViewOhos::SurfaceCreated(aceView, window);
410 Platform::AceContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr);
414 Platform::AceContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr);
419 Ace::Platform::UIEnvCallback callback = nullptr;
425 [taskExecutor = Platform::AceContainer::GetContainer(id)->GetTaskExecutor(), id](
439 Platform::AceContainer::SetView(aceView, density_, 0, 0, window, callback);
441 Platform::AceContainer::SetViewNew(aceView, density_, 0, 0, window);
444 Platform::AceContainer::SetViewNew(aceView, density_, 0, 0, window);
447 Platform::AceViewOhos::SurfaceChanged(aceView, 0, 0, deviceHeight >= deviceWidth ? 0 : 1);
470 auto context = Platform::AceContainer::GetContainer(abilityId_)->GetPipelineContext();
513 Platform::AceContainer::RunPage(abilityId_, parsedPageUrl, want.GetStringParam(START_PARAMS_KEY));
516 Platform::AceContainer::OnRestoreData(abilityId_, remoteData_);
525 Platform::AceContainer::DestroyContainer(abilityId_);
534 Platform::AceContainer::OnShow(abilityId_);
538 Platform::AceContainer::OnActive(abilityId_);
545 Platform::AceContainer::OnShow(abilityId_);
552 Platform::AceContainer::OnHide(abilityId_);
559 Platform::AceContainer::OnInactive(abilityId_);
565 if (!Platform::AceContainer::OnBackPressed(abilityId_)) {
575 Platform::AceContainer::OnNewRequest(abilityId_, params);
577 Platform::AceContainer::OnNewWant(abilityId_, data);
596 auto container = Platform::AceContainer::GetContainer(abilityId_);
601 [weakContainer = WeakPtr<Platform::AceContainer>(container), configuration]() {
604 Platform::ParsedConfig parsedConfig;
627 bool ret = Platform::AceContainer::OnStartContinuation(abilityId_);
634 std::string data = Platform::AceContainer::OnSaveData(abilityId_);
676 Platform::AceContainer::OnCompleteContinuation(abilityId_, result);
682 Platform::AceContainer::OnRemoteTerminated(abilityId_);
691 auto container = Platform::AceContainer::GetContainer(abilityId_);
710 auto aceView = AceType::DynamicCast<Platform::AceViewOhos>(container->GetAceView());
713 Platform::AceViewOhos::SetViewportMetrics(aceView, config);
714 Platform::AceViewOhos::SurfaceChanged(aceView, rect.width_, rect.height_,
723 auto container = Platform::AceContainer::GetContainer(abilityId_);
745 auto container = Platform::AceContainer::GetContainer(abilityId_);
762 auto container = Platform::AceContainer::GetContainer(abilityId_);
775 auto container = Platform::AceContainer::GetContainer(abilityId_);
777 auto aceView = AceType::DynamicCast<Platform::AceViewOhos>(container->GetAceView());
801 auto container = AceType::DynamicCast<Platform::AceContainer>(AceEngine::Get().GetContainer(abilityId_));
804 auto aceView = AceType::DynamicCast<Platform::AceViewOhos>(container->GetAceView());
812 auto container = Platform::AceContainer::GetContainer(abilityId_);
814 auto aceView = AceType::DynamicCast<Platform::AceViewOhos>(container->GetAceView());
819 LOGI("OnInputEvent: Platform AceContainer OnBackPressed called");
820 if (Platform::AceContainer::OnBackPressed(abilityId_)) {
840 auto container = Platform::AceContainer::GetContainer(abilityId_);
856 auto container = Platform::AceContainer::GetContainer(abilityId_);
877 auto container = Platform::AceContainer::GetContainer((abilityId_));