Lines Matching defs:view
798 void AceContainer::SetView(AceViewPreview* view, double density, int32_t width, int32_t height)
800 if (view == nullptr) {
804 auto container = AceType::DynamicCast<AceContainer>(AceEngine::Get().GetContainer(view->GetInstanceId()));
808 auto platformWindow = PlatformWindow::Create(view);
815 container->AttachView(std::move(window), view, density, width, height);
818 void AceContainer::SetView(AceViewPreview* view, sptr<Rosen::Window> rsWindow, double density, int32_t width,
821 CHECK_NULL_VOID(view);
822 auto container = AceType::DynamicCast<AceContainer>(AceEngine::Get().GetContainer(view->GetInstanceId()));
826 auto window = std::make_shared<NG::RosenWindow>(rsWindow, taskExecutor, view->GetInstanceId());
830 container->AttachView(std::move(window), view, density, width, height, callback);
836 std::shared_ptr<Window> window, AceViewPreview* view, double density, int32_t width, int32_t height)
839 aceView_ = view;
929 void AceContainer::AttachView(std::shared_ptr<Window> window, AceViewPreview* view, double density, int32_t width,
933 aceView_ = view;