Searched refs:rectComponent (Results 1 – 2 of 2) sorted by relevance
24 … const RefPtr<SvgRectComponent> rectComponent = AceType::DynamicCast<SvgRectComponent>(component); in Update() local25 if (!rectComponent) { in Update()29 x_ = rectComponent->GetX(); in Update()30 y_ = rectComponent->GetY(); in Update()31 rx_ = rectComponent->GetRx(); in Update()32 ry_ = rectComponent->GetRy(); in Update()33 width_ = rectComponent->GetWidth(); in Update()34 height_ = rectComponent->GetHeight(); in Update()35 RenderSvgBase::SetPresentationAttrs(component, rectComponent->GetDeclaration()); in Update()43 if (!rectComponent) { in PrepareAnimations()[all …]
26 …RefPtr<ShapeComponent> rectComponent = AceType::MakeRefPtr<OHOS::Ace::ShapeComponent>(ShapeType::R… in Create() local27 ViewStackProcessor::GetInstance()->ClaimElementId(rectComponent); in Create()28 ViewStackProcessor::GetInstance()->Push(rectComponent); in Create()