/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_rect.cpp | 24 component_ = AceType::MakeRefPtr<SvgRectComponent>(); in SvgRect() 34 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 39 component_->AppendChild(child->GetComponent()); in AppendChild() 45 component_->Inherit(parent); in CreateRender() 46 auto& declaration = component_->GetDeclaration(); in CreateRender() 54 auto renderNode = AceType::DynamicCast<RenderSvgRect>(component_->CreateRenderNode()); in CreateRender() 60 renderNode->Update(component_); in CreateRender() 81 if (GreatOrEqual(component_->GetRx().Value(), 0.0)) { in AsPath() 82 rx = ConvertDimensionToPx(component_->GetRx(), viewPort, SvgLengthType::HORIZONTAL); in AsPath() 84 if (GreatNotEqual(component_ in AsPath() [all...] |
H A D | svg_ellipse.cpp | 24 component_ = AceType::MakeRefPtr<SvgEllipseComponent>(); in SvgEllipse() 34 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 40 component_->AppendChild(child->GetComponent()); in AppendChild() 46 component_->Inherit(parent); in CreateRender() 47 auto& declaration = component_->GetDeclaration(); in CreateRender() 55 auto renderNode = AceType::DynamicCast<RenderSvgEllipse>(component_->CreateRenderNode()); in CreateRender() 61 renderNode->Update(component_); in CreateRender() 82 if (GreatOrEqual(component_->GetRx().Value(), 0.0)) { in AsPath() 83 rx = ConvertDimensionToPx(component_->GetRx(), viewPort, SvgLengthType::HORIZONTAL); in AsPath() 85 if (GreatNotEqual(component_ in AsPath() [all...] |
H A D | svg_line.cpp | 24 component_ = AceType::MakeRefPtr<SvgLineComponent>(); in SvgLine() 34 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 39 component_->AppendChild(child->GetComponent()); in AppendChild() 45 component_->Inherit(parent); in CreateRender() 46 auto href = component_->GetDeclaration()->GetFillState().GetHref(); in CreateRender() 50 component_->GetDeclaration()->SetGradient(gradient.value()); in CreateRender() 53 auto renderNode = AceType::DynamicCast<RenderSvgLine>(component_->CreateRenderNode()); in CreateRender() 59 renderNode->Update(component_); in CreateRender() 64 auto boxComponent = CreateBoxComponent(layoutParam, component_->GetDeclaration()->GetClipPathHref()); in CreateRender() 76 path.moveTo(ConvertDimensionToPx(component_ in AsPath() [all...] |
H A D | svg_path.cpp | 28 component_ = AceType::MakeRefPtr<SvgPathComponent>(); in SvgPath() 38 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 43 component_->AppendChild(child->GetComponent()); in AppendChild() 49 component_->Inherit(parent); in CreateRender() 50 auto& declaration = component_->GetDeclaration(); in CreateRender() 58 auto renderNode = AceType::DynamicCast<RenderSvgPath>(component_->CreateRenderNode()); in CreateRender() 64 renderNode->Update(component_); in CreateRender() 82 if (!component_->GetD().empty()) { in AsPath() 83 SkParsePath::FromSVGString(component_->GetD().c_str(), &out); in AsPath() 84 if (component_ in AsPath() [all...] |
H A D | svg_polygon.cpp | 25 component_ = AceType::MakeRefPtr<SvgPolygonComponent>(isClose); in SvgPolygon() 40 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 45 component_->AppendChild(child->GetComponent()); in AppendChild() 51 component_->Inherit(parent); in CreateRender() 52 auto& declaration = component_->GetDeclaration(); in CreateRender() 60 auto renderNode = AceType::DynamicCast<RenderSvgPolygon>(component_->CreateRenderNode()); in CreateRender() 66 renderNode->Update(component_); in CreateRender() 83 if (component_->GetPoints().empty()) { in AsPath() 89 RosenSvgPainter::StringToPoints(component_->GetPoints().c_str(), skPoints); in AsPath() 93 path.addPoly(&skPoints[0], skPoints.size(), component_ in AsPath() [all...] |
H A D | svg_circle.cpp | 24 component_ = AceType::MakeRefPtr<SvgCircleComponent>(); in SvgCircle() 34 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 39 component_->AppendChild(child->GetComponent()); in AppendChild() 45 component_->Inherit(parent); in CreateRender() 46 auto& declaration = component_->GetDeclaration(); in CreateRender() 54 auto renderNode = AceType::DynamicCast<RenderSvgCircle>(component_->CreateRenderNode()); in CreateRender() 60 renderNode->Update(component_); in CreateRender() 78 path.addCircle(ConvertDimensionToPx(component_->GetCx(), viewPort, SvgLengthType::HORIZONTAL), in AsPath() 79 ConvertDimensionToPx(component_->GetCy(), viewPort, SvgLengthType::VERTICAL), in AsPath() 80 ConvertDimensionToPx(component_ in AsPath() [all...] |
H A D | svg_fe_gaussianblur.cpp | 29 component_ = AceType::MakeRefPtr<SvgFeGaussianBlurComponent>(); in SvgFeGaussianBlur() 34 if (!component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value))) { in SetAttr() 35 component_->GetDeclaration()->SetAttr({ std::make_pair(name, value) }); in SetAttr() 41 component_->AppendChild(child->GetComponent()); in AppendChild() 47 component_->Inherit(parent); in CreateRender() 48 auto renderNode = AceType::DynamicCast<RenderSvgFeGaussianBlur>(component_->CreateRenderNode()); in CreateRender() 54 renderNode->Update(component_); in CreateRender()
|
H A D | svg_fe_colormatrix.cpp | 29 component_ = AceType::MakeRefPtr<SvgFeColorMatrixComponent>(); in SvgFeColorMatrix() 34 if (!component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value))) { in SetAttr() 35 component_->GetDeclaration()->SetAttr({ std::make_pair(name, value) }); in SetAttr() 41 component_->AppendChild(child->GetComponent()); in AppendChild() 47 component_->Inherit(parent); in CreateRender() 48 auto renderNode = AceType::DynamicCast<RenderSvgFeColorMatrix>(component_->CreateRenderNode()); in CreateRender() 54 renderNode->Update(component_); in CreateRender()
|
H A D | svg_fe_composite.cpp | 29 component_ = AceType::MakeRefPtr<SvgFeCompositeComponent>(); in SvgFeComposite() 34 if (!component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value))) { in SetAttr() 35 component_->GetDeclaration()->SetAttr({ std::make_pair(name, value) }); in SetAttr() 41 component_->AppendChild(child->GetComponent()); in AppendChild() 47 component_->Inherit(parent); in CreateRender() 48 auto renderNode = AceType::DynamicCast<RenderSvgFeComposite>(component_->CreateRenderNode()); in CreateRender() 54 renderNode->Update(component_); in CreateRender()
|
H A D | svg_fe_offset.cpp | 29 component_ = AceType::MakeRefPtr<SvgFeOffsetComponent>(); in SvgFeOffset() 34 if (!component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value))) { in SetAttr() 35 component_->GetDeclaration()->SetAttr({ std::make_pair(name, value) }); in SetAttr() 41 component_->AppendChild(child->GetComponent()); in AppendChild() 47 component_->Inherit(parent); in CreateRender() 48 auto renderNode = AceType::DynamicCast<RenderSvgFeOffset>(component_->CreateRenderNode()); in CreateRender() 54 renderNode->Update(component_); in CreateRender()
|
H A D | svg_svg.h | 39 component_->Inherit(parent); 44 return component_; 49 return Size(component_->GetWidth().Value(), component_->GetHeight().Value()); in GetSize() 54 component_->MarkIsRoot(isRoot); in MarkIsRoot() 65 return component_->IsRoot(); in IsRoot() 69 RefPtr<SvgComponent> component_; member in OHOS::Ace::SvgSvg
|
H A D | svg_mask.cpp | 24 component_ = AceType::MakeRefPtr<SvgMaskComponent>(); in SvgMask() 34 if (!component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value))) { in SetAttr() 35 component_->GetDeclaration()->SetAttr({ std::make_pair(name, value) }); in SetAttr() 42 component_->AppendChild(child->GetComponent()); in AppendChild() 48 node->Update(component_); in Update() 64 auto renderNode = AceType::DynamicCast<RenderSvgMask>(component_->CreateRenderNode()); in CreateRender() 68 component_->Inherit(parent); in CreateRender() 73 auto childRender = child->CreateRender(layoutParam, component_->GetDeclaration(), useBox); in CreateRender()
|
H A D | svg_filter.cpp | 24 component_ = AceType::MakeRefPtr<SvgFilterComponent>(); in SvgFilter() 34 if (!component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value))) { in SetAttr() 35 component_->GetDeclaration()->SetAttr({ std::make_pair(name, value) }); in SetAttr() 42 component_->AppendChild(child->GetComponent()); in AppendChild() 48 node->Update(component_); in Update() 61 component_->Inherit(parent); in CreateRender() 62 auto renderNode = AceType::DynamicCast<RenderSvgFilter>(component_->CreateRenderNode()); in CreateRender() 72 auto childRender = child->CreateRender(layoutParam, component_->GetDeclaration(), useBox); in CreateRender()
|
H A D | svg_pattern.cpp | 24 component_ = AceType::MakeRefPtr<SvgPatternComponent>(); in SvgPattern() 34 if (!component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value))) { in SetAttr() 35 component_->GetDeclaration()->SetAttr({ std::make_pair(name, value) }); in SetAttr() 42 component_->AppendChild(child->GetComponent()); in AppendChild() 48 node->Update(component_); in Update() 61 component_->Inherit(parent); in CreateRender() 62 auto renderNode = AceType::DynamicCast<RenderSvgPattern>(component_->CreateRenderNode()); in CreateRender() 72 auto childRender = child->CreateRender(layoutParam, component_->GetDeclaration(), useBox); in CreateRender()
|
H A D | svg_use.cpp | 24 component_ = AceType::MakeRefPtr<SvgUseComponent>(); in SvgUse() 34 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 40 component_->AppendChild(child->GetComponent()); in AppendChild() 51 auto& declaration = component_->GetDeclaration(); in CreateRender() 61 component_->Inherit(parent); in CreateRender() 73 auto renderNode = AceType::DynamicCast<RenderSvgUse>(component_->CreateRenderNode()); in CreateRender() 79 renderNode->Update(component_); in CreateRender() 110 auto& declaration = component_->GetDeclaration(); in AsPath()
|
H A D | svg_gradient.cpp | 24 component_ = AceType::MakeRefPtr<SvgGradientComponent>(); in SvgGradient() 25 component_->GetDeclaration()->SetGradientType(gradientType); in SvgGradient() 40 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 48 component_->AddGradientColor(svgStop->GetGradientColor()); in AppendChild()
|
H A D | svg_svg.cpp | 28 component_ = AceType::MakeRefPtr<SvgComponent>(); in SvgSvg() 38 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 44 component_->AppendChild(child->GetComponent()); in AppendChild() 50 component_->Inherit(parent); in CreateRender() 51 auto& declaration = component_->GetDeclaration(); in CreateRender() 59 auto renderNode = AceType::DynamicCast<RenderSvg>(component_->CreateRenderNode()); in CreateRender() 72 renderNode->Update(component_); in CreateRender()
|
H A D | svg_g.cpp | 28 component_ = AceType::MakeRefPtr<SvgGComponent>(); in SvgG() 38 component_->GetDeclaration()->SetSpecializedAttr(std::make_pair(name, value)); in SetAttr() 44 component_->AppendChild(child->GetComponent()); in AppendChild() 50 component_->Inherit(parent); in CreateRender() 51 auto& declaration = component_->GetDeclaration(); in CreateRender() 59 auto renderNode = AceType::DynamicCast<RenderSvgG>(component_->CreateRenderNode()); in CreateRender() 65 renderNode->Update(component_); in CreateRender()
|
H A D | svg_gradient.h | 38 return component_; 43 return component_->GetGradient(); in GetGradient() 47 RefPtr<SvgGradientComponent> component_; member in OHOS::Ace::SvgGradient
|
/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | render_checkbox.h | 45 if (component_) { in GetCheckBoxValue() 46 return component_->GetValue(); in GetCheckBoxValue() 53 if (component_) { in GetBelongGroup() 54 return component_->GetBelongGroup(); in GetBelongGroup() 61 if (component_) { in GetCheckboxName() 62 return component_->GetCheckboxName(); in GetCheckboxName() 69 if (component_) { in GetGroupName() 70 return component_->GetGroupName(); in GetGroupName() 77 if (component_) { in GetSelectedColor() 78 return component_ in GetSelectedColor() 130 RefPtr<CheckboxComponent> component_; global() member in OHOS::Ace::RenderCheckbox [all...] |
H A D | render_checkbox.cpp | 45 component_ = checkbox; in Update() 51 if (!component_->GetCheckboxList().empty() && component_->HasValue()) { in Update() 52 bool value = component_->GetValue(); in Update() 53 component_->SetMember(value); in Update() 54 component_->SetGroupValue(value ? CheckableStatus::ALL : CheckableStatus::NONE); in Update() 58 component_->SetGroupValue(CHECKABLE_STATUS[static_cast<int32_t>(status_)]); in Update() 107 if (!(component_->GetCheckboxName().empty())) { in UpdateItemValue() 120 if (!(component_->GetGroupName().empty())) { in UpdateGroupValue() 124 component_ in UpdateGroupValue() [all...] |
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_element.cpp | 37 renderNode_->SyncRSNodeBoundary(component_->IsHeadComponent(), component_->IsTailComponent(), component_); in Prepare() 53 int32_t restoreId = component_->GetRestoreId(); in Prepare() 75 if (component_) { in SetAccessibilityNode() 76 ignoreAccessibility = component_->IsIgnoreInspector(); in SetAccessibilityNode() 144 auto component = component_; in UpdateAccessibilityNode() 204 renderNode_->ProcessExternalRSNode(component_); in Update() 205 renderNode_->UpdateAll(component_); in Update() 206 if (component_ in Update() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | render_list_item.h | 62 return component_ ? (component_->GetEditMode() & EditMode::DELETABLE) != 0 : false; in IsDeletable() 67 return component_ ? (component_->GetEditMode() & EditMode::MOVABLE) != 0 : false; in IsMovable() 72 return component_ ? component_->GetSticky() : StickyMode::NONE; in GetSticky() 77 return component_ ? component_->GetZIndex() : 0; in GetZIndex() 87 return component_; 92 return component_ in GetEditMode() 197 RefPtr<ListItemComponent> component_; global() member in OHOS::Ace::V2::RenderListItem [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/ability_component/ |
H A D | render_ability_component.h | 57 if (component_) { in FireConnect() 58 component_->FireOnConnected(); in FireConnect() 67 if (component_) { in FireDisconnect() 68 component_->FireOnDisconnected(); in FireDisconnect() 88 RefPtr<V2::AbilityComponent> component_; member in OHOS::Ace::V2::RenderAbilityComponent
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid_layout/ |
H A D | render_grid_col.cpp | 29 component_ = component; in Update() 48 auto gridCol = AceType::DynamicCast<GridColComponent>(component_); in GetSpan() 58 auto gridCol = AceType::DynamicCast<GridColComponent>(component_); in GetOffset() 68 auto gridCol = AceType::DynamicCast<GridColComponent>(component_); in GetOrder()
|