/ohos5.0/drivers/peripheral/codec/test/unittest/hdi_omx/ |
H A D | codec_hdi_omx_test.cpp | 198 auto ret = component_->GetState(component_, &state); in waitState() 269 ret = component_->GetComponentVersion(component_, &verInfo); in SetUp() 304 auto ret = component_->GetComponentVersion(component_, &verInfo); 310 auto ret = component_->GetComponentVersion(component_, nullptr); 590 auto ret = component_->GetState(component_, &state); 598 auto ret = component_->GetState(component_, nullptr); 1021 auto ret = component_->FillThisBuffer(component_, &allocBuffer); 1038 auto ret = component_->EmptyThisBuffer(component_, &allocBuffer); 1067 auto ret = component_->ComponentRoleEnum(component_, nullptr, 0, 0); 1174 ret = component_->GetState(component_, &state); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_rect.cpp | 24 component_ = AceType::MakeRefPtr<SvgRectComponent>(); in SvgRect() 39 component_->AppendChild(child->GetComponent()); in AppendChild() 45 component_->Inherit(parent); in CreateRender() 46 auto& declaration = component_->GetDeclaration(); in CreateRender() 60 renderNode->Update(component_); in CreateRender() 81 if (GreatOrEqual(component_->GetRx().Value(), 0.0)) { in AsPath() 84 if (GreatNotEqual(component_->GetRy().Value(), 0.0)) { in AsPath() 89 if (GreatOrEqual(component_->GetRy().Value(), 0.0)) { in AsPath() 92 if (GreatNotEqual(component_->GetRx().Value(), 0.0)) { in AsPath() 108 …ConvertDimensionToPx(component_->GetWidth() + component_->GetX(), viewPort, SvgLengthType::HORIZON… 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() 61 renderNode->Update(component_); in CreateRender() 82 if (GreatOrEqual(component_->GetRx().Value(), 0.0)) { in AsPath() 85 if (GreatNotEqual(component_->GetRy().Value(), 0.0)) { in AsPath() 90 if (GreatOrEqual(component_->GetRy().Value(), 0.0)) { in AsPath() 91 ry = ConvertDimensionToPx(component_->GetRy(), viewPort, SvgLengthType::VERTICAL); 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() 59 renderNode->Update(component_); in CreateRender() 77 ConvertDimensionToPx(component_->GetY1(), viewPort, SvgLengthType::VERTICAL)); in AsPath() 79 ConvertDimensionToPx(component_->GetY2(), viewPort, SvgLengthType::VERTICAL)); in AsPath() 87 ConvertDimensionToPx(component_->GetY1(), viewPort, SvgLengthType::VERTICAL)); in AsPath() [all …]
|
H A D | svg_polygon.cpp | 25 component_ = AceType::MakeRefPtr<SvgPolygonComponent>(isClose); in SvgPolygon() 45 component_->AppendChild(child->GetComponent()); in AppendChild() 51 component_->Inherit(parent); in CreateRender() 52 auto& declaration = component_->GetDeclaration(); in CreateRender() 66 renderNode->Update(component_); in CreateRender() 83 if (component_->GetPoints().empty()) { in AsPath() 93 path.addPoly(&skPoints[0], skPoints.size(), component_->IsClose()); in AsPath() 94 if (component_->GetDeclaration()->GetClipState().IsEvenodd()) { in AsPath() 102 if (component_->GetPoints().empty()) { in AsPath() 111 path.AddPoly(rsPoints, rsPoints.size(), component_->IsClose()); 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() 79 ConvertDimensionToPx(component_->GetCy(), viewPort, SvgLengthType::VERTICAL), in AsPath() 80 ConvertDimensionToPx(component_->GetR(), viewPort, SvgLengthType::OTHER)); in AsPath() 88 ConvertDimensionToPx(component_->GetCy(), viewPort, SvgLengthType::VERTICAL), in AsPath() [all …]
|
H A D | svg_path.cpp | 28 component_ = AceType::MakeRefPtr<SvgPathComponent>(); in SvgPath() 43 component_->AppendChild(child->GetComponent()); in AppendChild() 49 component_->Inherit(parent); in CreateRender() 50 auto& declaration = component_->GetDeclaration(); 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_->GetDeclaration()->GetClipState().IsEvenodd()) { in AsPath() 94 if (!component_->GetD().empty()) { in AsPath() 95 out.BuildFromSVGString(component_->GetD()); in AsPath() [all …]
|
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_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_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_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_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); in Inherit() 44 return component_; in GetComponent() 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_;
|
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_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_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()
|
/ohos5.0/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() 69 if (component_) { in GetGroupName() 70 return component_->GetGroupName(); in GetGroupName() 77 if (component_) { in GetSelectedColor() 78 return component_->GetActiveColor(); in GetSelectedColor() 105 return component_; in GetCheckboxComponent() [all …]
|
H A D | render_checkbox.cpp | 45 component_ = checkbox; in Update() 51 if (!component_->GetCheckboxList().empty() && component_->HasValue()) { in Update() 53 component_->SetMember(value); in Update() 120 if (!(component_->GetGroupName().empty())) { in UpdateGroupValue() 170 component_->SetGroupValue(value); in HandleClick() 180 component_->SetValue(!component_->GetValue()); in HandleClick() 181 if (component_->GetGroup()) { in HandleClick() 206 if (!(component_->GetGroupName().empty())) { in UpdateAnimation() 210 if (component_->GetValue()) { in UpdateAnimation() 248 if (!(component_->GetGroupName().empty())) { in UpdateCheckBoxShape() [all …]
|
/ohos5.0/drivers/peripheral/codec/test/benchmarktest/ |
H A D | codec_benchmark_omx_test.cpp | 244 component_ = nullptr; in TearDown() 267 ASSERT_TRUE(component_ != nullptr); in BENCHMARK_F() 281 ASSERT_TRUE(component_ != nullptr); in BENCHMARK_F() 303 ASSERT_TRUE(component_ != nullptr); in BENCHMARK_F() 321 ASSERT_TRUE(component_ != nullptr); in BENCHMARK_F() 340 ASSERT_TRUE(component_ != nullptr); in BENCHMARK_F() 361 ASSERT_TRUE(component_ != nullptr); in BENCHMARK_F() 413 if (component_ == nullptr) { in BENCHMARK_F() 419 component_ = nullptr; in BENCHMARK_F() 594 if (component_ == nullptr) { in BENCHMARK_F() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_element.cpp | 37 …renderNode_->SyncRSNodeBoundary(component_->IsHeadComponent(), component_->IsTailComponent(), comp… 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_ && nodeMounted_) { in Update() 207 SetElementId(component_->GetElementId()); in Update() 208 if (!component_->GetAppearEventMarker().IsEmpty()) { in Update() [all …]
|
/ohos5.0/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_; in GetComponent() 92 return component_->GetEditMode(); in GetEditMode() 197 RefPtr<ListItemComponent> component_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/common/ |
H A D | element_proxy.cpp | 66 component_ = component; in Update() 82 count_ = component_ ? 1 : 0; in Update() 95 component_ = component; in UpdateForPartialUpdate() 111 count_ = component_ ? 1 : 0; in UpdateForPartialUpdate() 188 return component_; in GetComponentByIndex() 197 if (!component_) { in GetElementByIndex() 279 RefPtr<Component> component_; member in OHOS::Ace::V2::__anon58dd4b170110::RenderElementProxy 372 if (!component_) { in GetElementByIndex() 408 component_ = component; in Update() 455 component_ = newComponent; in GetDeepRenderComponent() [all …]
|
/ohos5.0/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_; variable
|