Lines Matching refs:container
378 auto container = Platform::AceContainer::GetContainer(abilityId_); in OnStart() local
379 CHECK_NULL_VOID(container); in OnStart()
380 container->SetToken(token_); in OnStart()
381 auto aceResCfg = container->GetResourceConfiguration(); in OnStart()
387 container->SetResourceConfiguration(aceResCfg); in OnStart()
388 container->SetPackagePathStr(resPath); in OnStart()
389 container->SetHapPath(hapPath); in OnStart()
390 container->SetBundlePath(abilityContext->GetBundleCodeDir()); in OnStart()
391 container->SetFilesDataPath(abilityContext->GetFilesDir()); in OnStart()
394 container->SetWindowModal(WindowModal::CONTAINER_MODAL); in OnStart()
396 container->SetWindowName(window->GetWindowName()); in OnStart()
397 container->SetWindowId(window->GetWindowId()); in OnStart()
485 …context->UpdateSystemSafeArea(container->GetViewSafeAreaByType(Rosen::AvoidAreaType::TYPE_SYSTEM)); in OnStart()
486 …context->UpdateCutoutSafeArea(container->GetViewSafeAreaByType(Rosen::AvoidAreaType::TYPE_CUTOUT)); in OnStart()
591 auto container = Platform::AceContainer::GetContainer(abilityId_); in OnConfigurationUpdated() local
592 CHECK_NULL_VOID(container); in OnConfigurationUpdated()
593 auto taskExecutor = container->GetTaskExecutor(); in OnConfigurationUpdated()
596 [weakContainer = WeakPtr<Platform::AceContainer>(container), configuration]() { in OnConfigurationUpdated()
597 auto container = weakContainer.Upgrade(); in OnConfigurationUpdated() local
598 CHECK_NULL_VOID(container); in OnConfigurationUpdated()
607 container->UpdateConfiguration(parsedConfig, configuration.GetName()); in OnConfigurationUpdated()
686 auto container = Platform::AceContainer::GetContainer(abilityId_); in OnSizeChange() local
687 CHECK_NULL_VOID(container); in OnSizeChange()
688 container->SetWindowPos(rect.posX_, rect.posY_); in OnSizeChange()
689 auto pipelineContext = container->GetPipelineContext(); in OnSizeChange()
701 auto taskExecutor = container->GetTaskExecutor(); in OnSizeChange()
704 [rect, density = density_, reason, container, rsTransaction]() { in OnSizeChange()
705 auto aceView = AceType::DynamicCast<Platform::AceViewOhos>(container->GetAceView()); in OnSizeChange()
718 auto container = Platform::AceContainer::GetContainer(abilityId_); in OnModeChange() local
719 CHECK_NULL_VOID(container); in OnModeChange()
720 auto taskExecutor = container->GetTaskExecutor(); in OnModeChange()
724 [container, mode, hasDeco]() { in OnModeChange()
725 auto pipelineContext = container->GetPipelineContext(); in OnModeChange()
740 auto container = Platform::AceContainer::GetContainer(abilityId_); in OnSizeChange() local
741 CHECK_NULL_VOID(container); in OnSizeChange()
742 auto taskExecutor = container->GetTaskExecutor(); in OnSizeChange()
746 [container, keyboardRect, rsTransaction] { in OnSizeChange()
747 auto context = container->GetPipelineContext(); in OnSizeChange()
757 auto container = Platform::AceContainer::GetContainer(abilityId_); in Dump() local
758 CHECK_NULL_VOID(container); in Dump()
759 auto taskExecutor = container->GetTaskExecutor(); in Dump()
763 [container, params, &info] { container->Dump(params, info); }, in Dump()
770 auto container = Platform::AceContainer::GetContainer(abilityId_); in OnDrag() local
771 CHECK_NULL_VOID(container); in OnDrag()
772 auto aceView = AceType::DynamicCast<Platform::AceViewOhos>(container->GetAceView()); in OnDrag()
796 …auto container = AceType::DynamicCast<Platform::AceContainer>(AceEngine::Get().GetContainer(abilit… in OnInputEvent() local
797 CHECK_NULL_RETURN(container, false); in OnInputEvent()
798 container->SetCurPointerEvent(pointerEvent); in OnInputEvent()
799 auto aceView = AceType::DynamicCast<Platform::AceViewOhos>(container->GetAceView()); in OnInputEvent()
807 auto container = Platform::AceContainer::GetContainer(abilityId_); in OnInputEvent() local
808 CHECK_NULL_RETURN(container, false); in OnInputEvent()
809 auto aceView = AceType::DynamicCast<Platform::AceViewOhos>(container->GetAceView()); in OnInputEvent()
835 auto container = Platform::AceContainer::GetContainer(abilityId_); in SetBackgroundColor() local
836 CHECK_NULL_VOID(container); in SetBackgroundColor()
838 auto taskExecutor = container->GetTaskExecutor(); in SetBackgroundColor()
841 [container, bgColor = color]() { in SetBackgroundColor()
842 auto pipelineContext = container->GetPipelineContext(); in SetBackgroundColor()
851 auto container = Platform::AceContainer::GetContainer(abilityId_); in GetBackgroundColor() local
852 CHECK_NULL_RETURN(container, 0x000000); in GetBackgroundColor()
853 auto taskExecutor = container->GetTaskExecutor(); in GetBackgroundColor()
858 [&bgColor, container]() { in GetBackgroundColor()
859 CHECK_NULL_VOID(container); in GetBackgroundColor()
860 auto pipelineContext = container->GetPipelineContext(); in GetBackgroundColor()
872 auto container = Platform::AceContainer::GetContainer((abilityId_)); in OnAvoidAreaChanged() local
873 CHECK_NULL_VOID(container); in OnAvoidAreaChanged()
874 auto pipeline = container->GetPipelineContext(); in OnAvoidAreaChanged()
881 auto taskExecutor = container->GetTaskExecutor(); in OnAvoidAreaChanged()