/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | render_svg_line.cpp | 70 callback = [weakLine = AceType::WeakClaim(this), attrName = svgAnimate->GetAttributeName()]( in PrepareSelfAnimation() 77 if (line->SetProperty(attrName, value)) { in PrepareSelfAnimation() 85 bool RenderSvgLine::SetProperty(const std::string& attrName, const Dimension& value) in SetProperty() argument 87 if (attrName == ATTR_NAME_X1) { in SetProperty() 89 } else if (attrName == ATTR_NAME_X2) { in SetProperty() 91 } else if (attrName == ATTR_NAME_Y1) { in SetProperty() 93 } else if (attrName == ATTR_NAME_Y2) { in SetProperty() 96 LOGE("invalid attrName"); in SetProperty() 102 bool RenderSvgLine::GetProperty(const std::string& attrName, Dimension& dimension) const in GetProperty() argument 104 if (attrName in GetProperty() [all...] |
H A D | render_svg_rect.cpp | 73 bool RenderSvgRect::SetProperty(const std::string& attrName, const Dimension& value) in SetProperty() argument 75 if (attrName == ATTR_NAME_WIDTH) { in SetProperty() 77 } else if (attrName == ATTR_NAME_HEIGHT) { in SetProperty() 79 } else if (attrName == ATTR_NAME_X) { in SetProperty() 81 } else if (attrName == ATTR_NAME_Y) { in SetProperty() 83 } else if (attrName == ATTR_NAME_RX) { in SetProperty() 85 } else if (attrName == ATTR_NAME_RY) { in SetProperty() 88 LOGE("invalid attrName"); in SetProperty() 94 bool RenderSvgRect::GetProperty(const std::string& attrName, Dimension& dimension) const in GetProperty() argument 96 if (attrName in GetProperty() [all...] |
H A D | render_svg_ellipse.cpp | 79 bool RenderSvgEllipse::SetProperty(const std::string& attrName, const Dimension& value) in SetProperty() argument 81 if (attrName == ATTR_CX) { in SetProperty() 83 } else if (attrName == ATTR_CY) { in SetProperty() 85 } else if (attrName == ATTR_RX) { in SetProperty() 87 } else if (attrName == ATTR_RY) { in SetProperty() 90 LOGE("invalid attrName"); in SetProperty() 96 bool RenderSvgEllipse::GetProperty(const std::string& attrName, Dimension& dimension) const in GetProperty() argument 98 if (attrName == ATTR_CX) { in GetProperty() 100 } else if (attrName == ATTR_CY) { in GetProperty() 102 } else if (attrName in GetProperty() [all...] |
H A D | render_svg_text.cpp | 83 bool RenderSvgText::SetProperty(const std::string& attrName, const Dimension& value) in SetProperty() argument 85 if (attrName == ATTR_NAME_X) { in SetProperty() 88 } else if (attrName == ATTR_NAME_Y) { in SetProperty() 91 } else if (attrName == ATTR_NAME_DX) { in SetProperty() 93 } else if (attrName == ATTR_NAME_DY) { in SetProperty() 95 } else if (attrName == ATTR_NAME_ROTATE) { in SetProperty() 103 bool RenderSvgText::GetProperty(const std::string& attrName, Dimension& dimension) const in GetProperty() argument 105 if (attrName == ATTR_NAME_X) { in GetProperty() 107 } else if (attrName == ATTR_NAME_Y) { in GetProperty() 109 } else if (attrName in GetProperty() [all...] |
H A D | render_svg_circle.cpp | 77 bool RenderSvgCircle::SetProperty(const std::string& attrName, const Dimension& value) in SetProperty() argument 79 if (attrName == ATTR_NAME_CX) { in SetProperty() 81 } else if (attrName == ATTR_NAME_CY) { in SetProperty() 83 } else if (attrName == ATTR_NAME_R) { in SetProperty() 86 LOGE("invalid attrName"); in SetProperty() 92 bool RenderSvgCircle::GetProperty(const std::string& attrName, Dimension& dimension) const in GetProperty() argument 94 if (attrName == ATTR_NAME_CX) { in GetProperty() 96 } else if (attrName == ATTR_NAME_CY) { in GetProperty() 98 } else if (attrName == ATTR_NAME_R) { in GetProperty() 101 LOGE("invalid attrName"); in GetProperty() [all...] |
H A D | render_svg_filter.cpp | 75 bool RenderSvgFilter::SetProperty(const std::string& attrName, double value) in SetProperty() argument 77 if (attrName == ATTR_NAME_X) { in SetProperty() 79 } else if (attrName == ATTR_NAME_Y) { in SetProperty() 81 } else if (attrName == ATTR_NAME_WIDTH) { in SetProperty() 83 } else if (attrName == ATTR_NAME_HEIGHT) { in SetProperty() 91 bool RenderSvgFilter::GetProperty(const std::string& attrName, double& value) const in GetProperty() argument 93 if (attrName == ATTR_NAME_X) { in GetProperty() 95 } else if (attrName == ATTR_NAME_Y) { in GetProperty() 97 } else if (attrName == ATTR_NAME_WIDTH) { in GetProperty() 99 } else if (attrName in GetProperty() [all...] |
H A D | render_svg_pattern.cpp | 95 bool RenderSvgPattern::SetProperty(const std::string& attrName, double value) in SetProperty() argument 97 if (attrName == ATTR_NAME_X) { in SetProperty() 99 } else if (attrName == ATTR_NAME_Y) { in SetProperty() 101 } else if (attrName == ATTR_NAME_WIDTH) { in SetProperty() 103 } else if (attrName == ATTR_NAME_HEIGHT) { in SetProperty() 111 bool RenderSvgPattern::GetProperty(const std::string& attrName, double& value) const in GetProperty() argument 113 if (attrName == ATTR_NAME_X) { in GetProperty() 115 } else if (attrName == ATTR_NAME_Y) { in GetProperty() 117 } else if (attrName == ATTR_NAME_WIDTH) { in GetProperty() 119 } else if (attrName in GetProperty() [all...] |
H A D | render_svg_mask.cpp | 93 bool RenderSvgMask::SetProperty(const std::string& attrName, double value) in SetProperty() argument 95 if (attrName == ATTR_NAME_X) { in SetProperty() 97 } else if (attrName == ATTR_NAME_Y) { in SetProperty() 99 } else if (attrName == ATTR_NAME_WIDTH) { in SetProperty() 101 } else if (attrName == ATTR_NAME_HEIGHT) { in SetProperty() 109 bool RenderSvgMask::GetProperty(const std::string& attrName, double& value) const in GetProperty() argument 111 if (attrName == ATTR_NAME_X) { in GetProperty() 113 } else if (attrName == ATTR_NAME_Y) { in GetProperty() 115 } else if (attrName == ATTR_NAME_WIDTH) { in GetProperty() 117 } else if (attrName in GetProperty() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/ |
H A D | dash_adpt_set_node.cpp | 46 void DashAdptSetNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 48 uint32_t index = DashGetAttrIndex(attrName, adptSetAttrs_, DASH_ADAPTATION_SET_ATTR_NUM); in GetAttr() 56 comAttrsElements_.GetAttr(attrName, sAttrVal); in GetAttr() 60 void DashAdptSetNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 62 uint32_t index = DashGetAttrIndex(attrName, adptSetAttrs_, DASH_ADAPTATION_SET_ATTR_NUM); in GetAttr() 70 comAttrsElements_.GetAttr(attrName, uiAttrVal); in GetAttr() 74 void DashAdptSetNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 76 uint32_t index = DashGetAttrIndex(attrName, adptSetAttrs_, DASH_ADAPTATION_SET_ATTR_NUM); in GetAttr() 84 comAttrsElements_.GetAttr(attrName, iAttrVal); in GetAttr() 88 void DashAdptSetNode::GetAttr(const std::string &attrName, uint64_ argument 102 GetAttr(const std::string &attrName, double &dAttrVal) GetAttr() argument [all...] |
H A D | dash_seg_template_node.cpp | 56 void DashSegTemplateNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 58 uint32_t index = DashGetAttrIndex(attrName, segTemplateAttrs_, DASH_SEG_TEMPLATE_ATTR_NUM); in GetAttr() 66 multySegBaseNode_->GetAttr(attrName, sAttrVal); in GetAttr() 70 void DashSegTemplateNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 72 uint32_t index = DashGetAttrIndex(attrName, segTemplateAttrs_, DASH_SEG_TEMPLATE_ATTR_NUM); in GetAttr() 80 multySegBaseNode_->GetAttr(attrName, uiAttrVal); in GetAttr() 84 void DashSegTemplateNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 86 uint32_t index = DashGetAttrIndex(attrName, segTemplateAttrs_, DASH_SEG_TEMPLATE_ATTR_NUM); in GetAttr() 94 multySegBaseNode_->GetAttr(attrName, iAttrVal); in GetAttr() 98 void DashSegTemplateNode::GetAttr(const std::string &attrName, uint64_ argument 112 GetAttr(const std::string &attrName, double &dAttrVal) GetAttr() argument [all...] |
H A D | dash_mult_seg_base_node.cpp | 53 void DashMultSegBaseNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 55 uint32_t index = DashGetAttrIndex(attrName, multiSegBaseAttrs_, DASH_MULT_SEG_BASE_ATTR_NUM); in GetAttr() 63 segBaseNode_->GetAttr(attrName, sAttrVal); in GetAttr() 67 void DashMultSegBaseNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 69 uint32_t index = DashGetAttrIndex(attrName, multiSegBaseAttrs_, DASH_MULT_SEG_BASE_ATTR_NUM); in GetAttr() 77 segBaseNode_->GetAttr(attrName, uiAttrVal); in GetAttr() 81 void DashMultSegBaseNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 83 uint32_t index = DashGetAttrIndex(attrName, multiSegBaseAttrs_, DASH_MULT_SEG_BASE_ATTR_NUM); in GetAttr() 91 segBaseNode_->GetAttr(attrName, iAttrVal); in GetAttr() 95 void DashMultSegBaseNode::GetAttr(const std::string &attrName, uint64_ argument 109 GetAttr(const std::string &attrName, double &dAttrVal) GetAttr() argument [all...] |
H A D | dash_seg_list_node.cpp | 56 void DashSegListNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 58 uint32_t index = DashGetAttrIndex(attrName, segListAttrs_, DASH_SEG_LIST_ATTR_NUM); in GetAttr() 66 multySegBaseNode_->GetAttr(attrName, sAttrVal); in GetAttr() 70 void DashSegListNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 72 uint32_t index = DashGetAttrIndex(attrName, segListAttrs_, DASH_SEG_LIST_ATTR_NUM); in GetAttr() 80 multySegBaseNode_->GetAttr(attrName, uiAttrVal); in GetAttr() 84 void DashSegListNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 86 uint32_t index = DashGetAttrIndex(attrName, segListAttrs_, DASH_SEG_LIST_ATTR_NUM); in GetAttr() 94 multySegBaseNode_->GetAttr(attrName, iAttrVal); in GetAttr() 98 void DashSegListNode::GetAttr(const std::string &attrName, uint64_ argument 112 GetAttr(const std::string &attrName, double &dAttrVal) GetAttr() argument [all...] |
H A D | dash_representation_node.cpp | 44 void DashRepresentationNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 46 uint32_t index = DashGetAttrIndex(attrName, representationAttrs_, DASH_REPRESENTATION_ATTR_NUM); in GetAttr() 54 comAttrsElements_.GetAttr(attrName, sAttrVal); in GetAttr() 58 void DashRepresentationNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 60 uint32_t index = DashGetAttrIndex(attrName, representationAttrs_, DASH_REPRESENTATION_ATTR_NUM); in GetAttr() 68 comAttrsElements_.GetAttr(attrName, uiAttrVal); in GetAttr() 72 void DashRepresentationNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 74 uint32_t index = DashGetAttrIndex(attrName, representationAttrs_, DASH_REPRESENTATION_ATTR_NUM); in GetAttr() 82 comAttrsElements_.GetAttr(attrName, iAttrVal); in GetAttr() 86 void DashRepresentationNode::GetAttr(const std::string &attrName, uint64_ argument 100 GetAttr(const std::string &attrName, double &dAttrVal) GetAttr() argument [all...] |
H A D | dash_content_comp_node.cpp | 42 void DashContentCompNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 44 uint32_t index = DashGetAttrIndex(attrName, contentCompAttrs_, DASH_CONTENT_COMP_ATTR_NUM); in GetAttr() 54 void DashContentCompNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 56 uint32_t index = DashGetAttrIndex(attrName, contentCompAttrs_, DASH_CONTENT_COMP_ATTR_NUM); in GetAttr() 66 void DashContentCompNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 68 uint32_t index = DashGetAttrIndex(attrName, contentCompAttrs_, DASH_CONTENT_COMP_ATTR_NUM); in GetAttr() 78 void DashContentCompNode::GetAttr(const std::string &attrName, uint64_t &ullAttrVal) in GetAttr() argument 80 uint32_t index = DashGetAttrIndex(attrName, contentCompAttrs_, DASH_CONTENT_COMP_ATTR_NUM); in GetAttr() 90 void DashContentCompNode::GetAttr(const std::string &attrName, double &dAttrVal) in GetAttr() argument 92 uint32_t index = DashGetAttrIndex(attrName, contentCompAttrs in GetAttr() [all...] |
H A D | dash_descriptor_node.cpp | 43 void DashDescriptorNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 45 uint32_t index = DashGetAttrIndex(attrName, descriptorAttrs_, DASH_DESCRIPTOR_ATTR_NUM); in GetAttr() 55 void DashDescriptorNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 57 uint32_t index = DashGetAttrIndex(attrName, descriptorAttrs_, DASH_DESCRIPTOR_ATTR_NUM); in GetAttr() 67 void DashDescriptorNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 69 uint32_t index = DashGetAttrIndex(attrName, descriptorAttrs_, DASH_DESCRIPTOR_ATTR_NUM); in GetAttr() 79 void DashDescriptorNode::GetAttr(const std::string &attrName, uint64_t &ullAttrVal) in GetAttr() argument 81 uint32_t index = DashGetAttrIndex(attrName, descriptorAttrs_, DASH_DESCRIPTOR_ATTR_NUM); in GetAttr() 91 void DashDescriptorNode::GetAttr(const std::string &attrName, double &dAttrVal) in GetAttr() argument 93 uint32_t index = DashGetAttrIndex(attrName, descriptorAttrs in GetAttr() [all...] |
H A D | dash_com_attrs_elements.cpp | 42 void DashComAttrsElements::GetAttr(const std::string &attrName, std::string &sAttrVal) const in GetAttr() argument 44 uint32_t index = DashGetAttrIndex(attrName, commonAttrs_, DASH_COMMON_ATTR_NUM); in GetAttr() 54 void DashComAttrsElements::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) const in GetAttr() argument 56 uint32_t index = DashGetAttrIndex(attrName, commonAttrs_, DASH_COMMON_ATTR_NUM); in GetAttr() 66 void DashComAttrsElements::GetAttr(const std::string &attrName, int32_t &iAttrVal) const in GetAttr() argument 68 uint32_t index = DashGetAttrIndex(attrName, commonAttrs_, DASH_COMMON_ATTR_NUM); in GetAttr() 78 void DashComAttrsElements::GetAttr(const std::string &attrName, uint64_t &ullAttrVal) const in GetAttr() argument 80 uint32_t index = DashGetAttrIndex(attrName, commonAttrs_, DASH_COMMON_ATTR_NUM); in GetAttr() 90 void DashComAttrsElements::GetAttr(const std::string &attrName, double &dAttrVal) const in GetAttr() argument 92 uint32_t index = DashGetAttrIndex(attrName, commonAttrs in GetAttr() [all...] |
H A D | dash_seg_tmline_node.cpp | 44 void DashSegTmlineNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 46 uint32_t index = DashGetAttrIndex(attrName, segTmlineAttrs_, DASH_SEG_TIMELINE_ATTR_NUM); in GetAttr() 56 void DashSegTmlineNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 58 uint32_t index = DashGetAttrIndex(attrName, segTmlineAttrs_, DASH_SEG_TIMELINE_ATTR_NUM); in GetAttr() 68 void DashSegTmlineNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 70 uint32_t index = DashGetAttrIndex(attrName, segTmlineAttrs_, DASH_SEG_TIMELINE_ATTR_NUM); in GetAttr() 80 void DashSegTmlineNode::GetAttr(const std::string &attrName, uint64_t &ullAttrVal) in GetAttr() argument 82 uint32_t index = DashGetAttrIndex(attrName, segTmlineAttrs_, DASH_SEG_TIMELINE_ATTR_NUM); in GetAttr() 92 void DashSegTmlineNode::GetAttr(const std::string &attrName, double &dAttrVal) in GetAttr() argument 94 uint32_t index = DashGetAttrIndex(attrName, segTmlineAttrs in GetAttr() [all...] |
H A D | dash_url_type_node.cpp | 44 void DashUrlTypeNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 46 uint32_t index = DashGetAttrIndex(attrName, urlTypeAttrs_, DASH_URL_TYPE_ATTR_NUM); in GetAttr() 56 void DashUrlTypeNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 58 uint32_t index = DashGetAttrIndex(attrName, urlTypeAttrs_, DASH_URL_TYPE_ATTR_NUM); in GetAttr() 68 void DashUrlTypeNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 70 uint32_t index = DashGetAttrIndex(attrName, urlTypeAttrs_, DASH_URL_TYPE_ATTR_NUM); in GetAttr() 80 void DashUrlTypeNode::GetAttr(const std::string &attrName, uint64_t &ullAttrVal) in GetAttr() argument 82 uint32_t index = DashGetAttrIndex(attrName, urlTypeAttrs_, DASH_URL_TYPE_ATTR_NUM); in GetAttr() 92 void DashUrlTypeNode::GetAttr(const std::string &attrName, double &dAttrVal) in GetAttr() argument 94 uint32_t index = DashGetAttrIndex(attrName, urlTypeAttrs in GetAttr() [all...] |
H A D | dash_seg_url_node.cpp | 44 void DashSegUrlNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 46 uint32_t index = DashGetAttrIndex(attrName, segUrlAttrs_, DASH_SEG_URL_ATTR_NUM); in GetAttr() 56 void DashSegUrlNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 58 uint32_t index = DashGetAttrIndex(attrName, segUrlAttrs_, DASH_SEG_URL_ATTR_NUM); in GetAttr() 68 void DashSegUrlNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 70 uint32_t index = DashGetAttrIndex(attrName, segUrlAttrs_, DASH_SEG_URL_ATTR_NUM); in GetAttr() 80 void DashSegUrlNode::GetAttr(const std::string &attrName, uint64_t &ullAttrVal) in GetAttr() argument 82 uint32_t index = DashGetAttrIndex(attrName, segUrlAttrs_, DASH_SEG_URL_ATTR_NUM); in GetAttr() 92 void DashSegUrlNode::GetAttr(const std::string &attrName, double &dAttrVal) in GetAttr() argument 94 uint32_t index = DashGetAttrIndex(attrName, segUrlAttrs in GetAttr() [all...] |
H A D | dash_seg_base_node.cpp | 42 void DashSegBaseNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 44 uint32_t index = DashGetAttrIndex(attrName, segBaseAttrs_, DASH_SEG_BASE_ATTR_NUM); in GetAttr() 54 void DashSegBaseNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 56 uint32_t index = DashGetAttrIndex(attrName, segBaseAttrs_, DASH_SEG_BASE_ATTR_NUM); in GetAttr() 66 void DashSegBaseNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 68 uint32_t index = DashGetAttrIndex(attrName, segBaseAttrs_, DASH_SEG_BASE_ATTR_NUM); in GetAttr() 78 void DashSegBaseNode::GetAttr(const std::string &attrName, uint64_t &ullAttrVal) in GetAttr() argument 80 uint32_t index = DashGetAttrIndex(attrName, segBaseAttrs_, DASH_SEG_BASE_ATTR_NUM); in GetAttr() 90 void DashSegBaseNode::GetAttr(const std::string &attrName, double &dAttrVal) in GetAttr() argument 92 uint32_t index = DashGetAttrIndex(attrName, segBaseAttrs in GetAttr() [all...] |
H A D | dash_period_node.cpp | 42 void DashPeriodNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 44 uint32_t index = DashGetAttrIndex(attrName, periodAttrs_, DASH_PERIOD_ATTR_NUM); in GetAttr() 54 void DashPeriodNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 56 uint32_t index = DashGetAttrIndex(attrName, periodAttrs_, DASH_PERIOD_ATTR_NUM); in GetAttr() 66 void DashPeriodNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 68 uint32_t index = DashGetAttrIndex(attrName, periodAttrs_, DASH_PERIOD_ATTR_NUM); in GetAttr() 78 void DashPeriodNode::GetAttr(const std::string &attrName, uint64_t &ullAttrVal) in GetAttr() argument 80 uint32_t index = DashGetAttrIndex(attrName, periodAttrs_, DASH_PERIOD_ATTR_NUM); in GetAttr() 90 void DashPeriodNode::GetAttr(const std::string &attrName, double &dAttrVal) in GetAttr() argument 92 uint32_t index = DashGetAttrIndex(attrName, periodAttrs in GetAttr() [all...] |
H A D | dash_mpd_node.cpp | 42 void DashMpdNode::GetAttr(const std::string &attrName, std::string &sAttrVal) in GetAttr() argument 44 uint32_t index = DashGetAttrIndex(attrName, mpdAttrs_, DASH_MPD_ATTR_NUM); in GetAttr() 54 void DashMpdNode::GetAttr(const std::string &attrName, uint32_t &uiAttrVal) in GetAttr() argument 56 uint32_t index = DashGetAttrIndex(attrName, mpdAttrs_, DASH_MPD_ATTR_NUM); in GetAttr() 66 void DashMpdNode::GetAttr(const std::string &attrName, int32_t &iAttrVal) in GetAttr() argument 68 uint32_t index = DashGetAttrIndex(attrName, mpdAttrs_, DASH_MPD_ATTR_NUM); in GetAttr() 78 void DashMpdNode::GetAttr(const std::string &attrName, uint64_t &ullAttrVal) in GetAttr() argument 80 uint32_t index = DashGetAttrIndex(attrName, mpdAttrs_, DASH_MPD_ATTR_NUM); in GetAttr() 90 void DashMpdNode::GetAttr(const std::string &attrName, double &dAttrVal) in GetAttr() argument 92 uint32_t index = DashGetAttrIndex(attrName, mpdAttrs in GetAttr() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_theme_style.cpp | 150 for (auto& [attrName, attrValue] : rawAttrs_) {
in ParseContent() 151 if (attrName.empty() || attrValue.empty()) {
in ParseContent() 154 if (stringAttrs.find(attrName) != stringAttrs.end()) {
in ParseContent() 156 attributes_[attrName] = { .type = ThemeConstantsType::STRING, .value = attrValue };
in ParseContent() 161 attributes_[attrName] = { .type = ThemeConstantsType::COLOR, .value = Color::FromString(attrValue) };
in ParseContent() 163 OnParseResourceMedia(attrName, attrValue);
in ParseContent() 165 attributes_[attrName] = { .type = ThemeConstantsType::REFERENCE_ATTR, .value = attrValue };
in ParseContent() 174 attributes_[attrName] = { .type = ThemeConstantsType::DIMENSION,
in ParseContent() 177 attributes_[attrName] = { .type = ThemeConstantsType::INT, .value = std::atoi(number.c_str()) };
in ParseContent() 179 attributes_[attrName] in ParseContent() 199 OnParseResourceMedia(const std::string& attrName, const std::string& attrValue) OnParseResourceMedia() argument [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/include/mpd_parser/ |
H A D | dash_adpt_set_node.h | 32 void GetAttr(const std::string &attrName, std::string &sAttrVal) override; 33 void GetAttr(const std::string &attrName, uint32_t &uiAttrVal) override; 34 void GetAttr(const std::string &attrName, int32_t &iAttrVal) override; 35 void GetAttr(const std::string &attrName, uint64_t &ullAttrVal) override; 36 void GetAttr(const std::string &attrName, double &dAttrVal) override;
|
H A D | dash_content_comp_node.h | 33 void GetAttr(const std::string &attrName, std::string &sAttrVal) override; 34 void GetAttr(const std::string &attrName, uint32_t &uiAttrVal) override; 35 void GetAttr(const std::string &attrName, int32_t &iAttrVal) override; 36 void GetAttr(const std::string &attrName, uint64_t &ullAttrVal) override; 37 void GetAttr(const std::string &attrName, double &dAttrVal) override;
|