Home
last modified time | relevance | path

Searched refs:declaration (Results 1 – 25 of 184) sorted by relevance

12345678

/foundation/ace/ace_engine/frameworks/core/components/test/unittest/svg/
Dsvg_fe_func_test.cpp59 SvgFeFuncDeclarationTest declaration; variable
60 declaration.Init();
61 declaration.InitializeStyle();
62 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetX());
63 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetY());
64 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetWidth());
65 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetHeight());
66 EXPECT_EQ(FeInType::PRIMITIVE, declaration.GetIn());
67 EXPECT_EQ(ColorInterpolationType::LINEAR_RGB, declaration.GetColorInterpolationType());
68 EXPECT_TRUE(declaration.GetResult().empty());
[all …]
Dsvg_fe_composite_test.cpp59 SvgFeCompositeDeclarationTest declaration; variable
60 declaration.Init();
61 declaration.InitializeStyle();
62 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetX());
63 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetY());
64 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetWidth());
65 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetHeight());
66 EXPECT_EQ(FeInType::PRIMITIVE, declaration.GetIn());
67 EXPECT_EQ(ColorInterpolationType::LINEAR_RGB, declaration.GetColorInterpolationType());
68 EXPECT_TRUE(declaration.GetResult().empty());
[all …]
Dsvg_fe_colormatrix_test.cpp91 SvgFeColorMatrixDeclarationTest declaration; variable
92 declaration.Init();
93 declaration.InitializeStyle();
94 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetX());
95 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetY());
96 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetWidth());
97 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetHeight());
98 EXPECT_EQ(FeInType::PRIMITIVE, declaration.GetIn());
99 EXPECT_EQ(ColorInterpolationType::LINEAR_RGB, declaration.GetColorInterpolationType());
100 EXPECT_TRUE(declaration.GetResult().empty());
[all …]
Dsvg_fe_offset_test.cpp77 SvgFeOffsetDeclarationTest declaration; variable
78 declaration.Init();
79 declaration.InitializeStyle();
80 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetX());
81 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetY());
82 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetWidth());
83 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetHeight());
84 EXPECT_EQ(FeInType::PRIMITIVE, declaration.GetIn());
85 EXPECT_EQ(ColorInterpolationType::LINEAR_RGB, declaration.GetColorInterpolationType());
86 EXPECT_TRUE(declaration.GetResult().empty());
[all …]
Dsvg_fe_gaussianblur_test.cpp76 SvgFeGaussianBlurDeclarationTest declaration; variable
77 declaration.Init();
78 declaration.InitializeStyle();
79 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetX());
80 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetY());
81 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetWidth());
82 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetHeight());
83 EXPECT_EQ(FeInType::PRIMITIVE, declaration.GetIn());
84 EXPECT_EQ(ColorInterpolationType::LINEAR_RGB, declaration.GetColorInterpolationType());
85 EXPECT_TRUE(declaration.GetResult().empty());
[all …]
Dsvg_fe_flood_test.cpp59 SvgFeFloodDeclarationTest declaration; variable
60 declaration.Init();
61 declaration.InitializeStyle();
62 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetX());
63 EXPECT_EQ(Dimension(0.0, DimensionUnit::PERCENT), declaration.GetY());
64 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetWidth());
65 EXPECT_EQ(Dimension(1.0, DimensionUnit::PERCENT), declaration.GetHeight());
66 EXPECT_EQ(FeInType::PRIMITIVE, declaration.GetIn());
67 EXPECT_EQ(ColorInterpolationType::LINEAR_RGB, declaration.GetColorInterpolationType());
68 EXPECT_TRUE(declaration.GetResult().empty());
[all …]
/foundation/ace/ace_engine/frameworks/core/components/declaration/svg/
Dsvg_gradient_declaration.cpp58 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
59 declaration.SetCx(declaration.ParseDimension(val)); in SetSpecializedValue()
62 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
63 declaration.SetCy(declaration.ParseDimension(val)); in SetSpecializedValue()
66 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
67 declaration.SetFx(declaration.ParseDimension(val)); in SetSpecializedValue()
70 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
71 declaration.SetFy(declaration.ParseDimension(val)); in SetSpecializedValue()
74 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
75 declaration.SetTransform(val); in SetSpecializedValue()
[all …]
Dsvg_animate_declaration.cpp42 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr()
43 declaration.SetBegin(ConvertTimeStr(val)); in SetAnimateAttr()
46 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr()
48 declaration.SetDur(0); in SetAnimateAttr()
50 declaration.SetDur(ConvertTimeStr(val)); in SetAnimateAttr()
54 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr()
55 declaration.SetEnd(ConvertTimeStr(val)); in SetAnimateAttr()
58 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr()
60 declaration.SetRepeatCount(-1); in SetAnimateAttr()
62 declaration.SetRepeatCount(StringToInt(val)); in SetAnimateAttr()
[all …]
Dsvg_fe_func_declaration.cpp39 [](const std::string& val, SvgFeFuncDeclaration& declaration) { in SetSpecializedValue()
40 declaration.SetAmplitude(declaration.ParseDouble(val)); in SetSpecializedValue()
43 [](const std::string& val, SvgFeFuncDeclaration& declaration) { in SetSpecializedValue()
44 declaration.SetExponent(declaration.ParseDouble(val)); in SetSpecializedValue()
47 [](const std::string& val, SvgFeFuncDeclaration& declaration) { in SetSpecializedValue()
48 declaration.SetIntercept(declaration.ParseDouble(val)); in SetSpecializedValue()
51 [](const std::string& val, SvgFeFuncDeclaration& declaration) { in SetSpecializedValue()
52 declaration.SetOffset(declaration.ParseDouble(val)); in SetSpecializedValue()
55 [](const std::string& val, SvgFeFuncDeclaration& declaration) { in SetSpecializedValue()
56 declaration.SetSlope(declaration.ParseDouble(val)); in SetSpecializedValue()
[all …]
Dsvg_text_declaration.cpp51 [](const std::string& val, SvgTextDeclaration& declaration) { in SetSpecializedValue()
52 declaration.SetDx(declaration.ParseDimension(val)); in SetSpecializedValue()
55 [](const std::string& val, SvgTextDeclaration& declaration) { in SetSpecializedValue()
56 declaration.SetDy(declaration.ParseDimension(val)); in SetSpecializedValue()
59 [](const std::string& val, SvgTextDeclaration& declaration) { in SetSpecializedValue()
60 declaration.SetRotate(declaration.ParseDouble(val)); in SetSpecializedValue()
61 declaration.hasRotate_ = true; in SetSpecializedValue()
64 [](const std::string& val, SvgTextDeclaration& declaration) { in SetSpecializedValue()
65 declaration.SetTextData(val); in SetSpecializedValue()
68 [](const std::string& val, SvgTextDeclaration& declaration) { in SetSpecializedValue()
[all …]
Dsvg_pattern_declaration.cpp41 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
42 declaration.SetHeight(declaration.ParseDimension(val)); in SetSpecializedAttr()
45 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
46 declaration.SetPatternContentUnits(val); in SetSpecializedAttr()
49 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
50 declaration.SetPresentationAttr(std::make_pair(DOM_TRANSFORM, val)); in SetSpecializedAttr()
53 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
54 declaration.SetPatternUnits(val); in SetSpecializedAttr()
57 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
64 declaration.SetViewBox(Rect(viewBox[0], viewBox[1], viewBox[2], viewBox[3])); in SetSpecializedAttr()
[all …]
Dsvg_rect_declaration.cpp51 [](const std::string& val, SvgRectDeclaration& declaration) { in SetSpecializedValue()
52 declaration.SetHeight(declaration.ParseDimension(val)); in SetSpecializedValue()
55 [](const std::string& val, SvgRectDeclaration& declaration) { in SetSpecializedValue()
56 declaration.SetRx(declaration.ParseDimension(val)); in SetSpecializedValue()
59 [](const std::string& val, SvgRectDeclaration& declaration) { in SetSpecializedValue()
60 declaration.SetRy(declaration.ParseDimension(val)); in SetSpecializedValue()
63 [](const std::string& val, SvgRectDeclaration& declaration) { in SetSpecializedValue()
64 declaration.SetWidth(declaration.ParseDimension(val)); in SetSpecializedValue()
67 [](const std::string& val, SvgRectDeclaration& declaration) { in SetSpecializedValue()
68 declaration.SetX(declaration.ParseDimension(val)); in SetSpecializedValue()
[all …]
Dsvg_fe_composite_declaration.cpp39 [](const std::string& val, SvgFeCompositeDeclaration& declaration) { in SetSpecializedValue()
40 declaration.SetIn2(val); in SetSpecializedValue()
43 [](const std::string& val, SvgFeCompositeDeclaration& declaration) { in SetSpecializedValue()
44 declaration.SetK1(declaration.ParseDouble(val)); in SetSpecializedValue()
47 [](const std::string& val, SvgFeCompositeDeclaration& declaration) { in SetSpecializedValue()
48 declaration.SetK2(declaration.ParseDouble(val)); in SetSpecializedValue()
51 [](const std::string& val, SvgFeCompositeDeclaration& declaration) { in SetSpecializedValue()
52 declaration.SetK3(declaration.ParseDouble(val)); in SetSpecializedValue()
55 [](const std::string& val, SvgFeCompositeDeclaration& declaration) { in SetSpecializedValue()
56 declaration.SetK4(declaration.ParseDouble(val)); in SetSpecializedValue()
[all …]
Dsvg_fe_declaration.cpp40 [](const std::string& val, SvgFeDeclaration& declaration) { in SetSpecializedValue()
41 declaration.SetColorInterpolationType(val); in SetSpecializedValue()
44 [](const std::string& val, SvgFeDeclaration& declaration) { in SetSpecializedValue()
45 declaration.SetHeight(declaration.ParseDimension(val)); in SetSpecializedValue()
48 [](const std::string& val, SvgFeDeclaration& declaration) { in SetSpecializedValue()
49 declaration.SetIn(val); in SetSpecializedValue()
52 [](const std::string& val, SvgFeDeclaration& declaration) { in SetSpecializedValue()
53 declaration.SetResult(val); in SetSpecializedValue()
56 [](const std::string& val, SvgFeDeclaration& declaration) { in SetSpecializedValue()
57 declaration.SetWidth(declaration.ParseDimension(val)); in SetSpecializedValue()
[all …]
Dsvg_mask_declaration.cpp41 [](const std::string& val, SvgMaskDeclaration& declaration) { in SetSpecializedAttr()
42 declaration.SetHeight(declaration.ParseDimension(val)); in SetSpecializedAttr()
45 [](const std::string& val, SvgMaskDeclaration& declaration) { in SetSpecializedAttr()
46 declaration.SetMaskContentUnits(val); in SetSpecializedAttr()
49 [](const std::string& val, SvgMaskDeclaration& declaration) { in SetSpecializedAttr()
50 declaration.SetMaskUnits(val); in SetSpecializedAttr()
53 [](const std::string& val, SvgMaskDeclaration& declaration) { in SetSpecializedAttr()
54 declaration.SetWidth(declaration.ParseDimension(val)); in SetSpecializedAttr()
57 [](const std::string& val, SvgMaskDeclaration& declaration) { in SetSpecializedAttr()
58 declaration.SetX(declaration.ParseDimension(val)); in SetSpecializedAttr()
[all …]
Dsvg_declaration.cpp58 [](const std::string& val, SvgDeclaration& declaration) { in SetSpecializedValue()
59 declaration.SetAutoMirror(val == "true"); in SetSpecializedValue()
62 [](const std::string& val, SvgDeclaration& declaration) { in SetSpecializedValue()
63 declaration.SetHeight(declaration.ParseDimension(val)); in SetSpecializedValue()
66 [](const std::string& val, SvgDeclaration& declaration) { in SetSpecializedValue()
73 declaration.SetViewBox(Rect(viewBox[0], viewBox[1], viewBox[2], viewBox[3])); in SetSpecializedValue()
77 [](const std::string& val, SvgDeclaration& declaration) { in SetSpecializedValue()
84 declaration.SetViewBox(Rect(viewBox[0], viewBox[1], viewBox[2], viewBox[3])); in SetSpecializedValue()
88 [](const std::string& val, SvgDeclaration& declaration) { in SetSpecializedValue()
89 declaration.SetWidth(declaration.ParseDimension(val)); in SetSpecializedValue()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/declaration/textfield/
Dtextfield_declaration.cpp116 { DOM_AUTO_FOCUS, [](TextFieldDeclaration& declaration, in SetSpecializedAttr()
117 … const std::string& value) { declaration.SetAutoFocus(StringToBool(value)); } }, in SetSpecializedAttr()
118 { DOM_DISABLED, [](TextFieldDeclaration& declaration, in SetSpecializedAttr()
119 … const std::string& value) { declaration.SetEnabled(!StringToBool(value)); } }, in SetSpecializedAttr()
121 [](TextFieldDeclaration& declaration, const std::string& value) { in SetSpecializedAttr()
122 declaration.SetAction(ConvertStrToTextInputAction(value)); in SetSpecializedAttr()
125 …[](TextFieldDeclaration& declaration, const std::string& value) { declaration.SetIconImage(value);… in SetSpecializedAttr()
127 …[](TextFieldDeclaration& declaration, const std::string& value) { declaration.SetHideIconImage(val… in SetSpecializedAttr()
129 [](TextFieldDeclaration& declaration, const std::string& value) { in SetSpecializedAttr()
131declaration.SetMaxLength(tmp >= 0 ? (uint32_t)(tmp) : std::numeric_limits<uint32_t>::max()); in SetSpecializedAttr()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/declaration/common/
Ddeclaration.cpp75 …fPtr<SharedTransitionEffect> ParseSharedEffect(const std::string& effect, Declaration& declaration) in ParseSharedEffect() argument
81 SharedTransitionEffectType::SHARED_EFFECT_STATIC, declaration.GetShareId()); in ParseSharedEffect()
84 SharedTransitionEffectType::SHARED_EFFECT_EXCHANGE, declaration.GetShareId()); in ParseSharedEffect()
87 declaration.GetShareId().c_str()); in ParseSharedEffect()
198 [](Declaration& declaration) { in AddCommonAttribute()
199 declaration.attributes_.try_emplace( in AddCommonAttribute()
203 [](Declaration& declaration) { in AddCommonAttribute()
204 declaration.attributes_.try_emplace( in AddCommonAttribute()
208 [](Declaration& declaration) { in AddCommonAttribute()
209 declaration.attributes_.try_emplace( in AddCommonAttribute()
[all …]
/foundation/ace/ace_engine/frameworks/bridge/common/dom/
Ddom_span.h35 auto declaration = AceType::DynamicCast<SpanDeclaration>(declaration_); in HasSetFontStyle() local
36 return declaration ? declaration->HasSetFontStyle() : false; in HasSetFontStyle()
41 auto declaration = AceType::DynamicCast<SpanDeclaration>(declaration_); in HasSetFontColor() local
42 return declaration ? declaration->HasSetFontColor() : false; in HasSetFontColor()
47 auto declaration = AceType::DynamicCast<SpanDeclaration>(declaration_); in HasSetFontWeight() local
48 return declaration ? declaration->HasSetFontWeight() : false; in HasSetFontWeight()
53 auto declaration = AceType::DynamicCast<SpanDeclaration>(declaration_); in HasSetFontSize() local
54 return declaration ? declaration->HasSetFontSize() : false; in HasSetFontSize()
59 auto declaration = AceType::DynamicCast<SpanDeclaration>(declaration_); in HasSetFontFamily() local
60 return declaration ? declaration->HasSetFontFamily() : false; in HasSetFontFamily()
[all …]
Ddom_svg_animate.cpp43 auto declaration = AceType::DynamicCast<SvgAnimateDeclaration>(declaration_); in SetAnimateAttrs() local
44 if (!declaration) { in SetAnimateAttrs()
47 animateComponent_->SetBegin(declaration->GetBegin()); in SetAnimateAttrs()
48 animateComponent_->SetDur(declaration->GetDur()); in SetAnimateAttrs()
49 animateComponent_->SetEnd(declaration->GetEnd()); in SetAnimateAttrs()
50 animateComponent_->SetRepeatCount(declaration->GetRepeatCount()); in SetAnimateAttrs()
51 …Fill fillMode = (declaration->GetFillMode() == ANIMATION_FILL_MODE_FREEZE ? Fill::FREEZE : Fill::R… in SetAnimateAttrs()
53 animateComponent_->SetCalcMode(ConvertCalcMode(declaration->GetCalcMode())); in SetAnimateAttrs()
54 animateComponent_->SetValues(declaration->GetValues()); in SetAnimateAttrs()
55 animateComponent_->SetKeyTimes(declaration->GetKeyTimes()); in SetAnimateAttrs()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/declaration/text/
Dtext_declaration.cpp75 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
76 …auto& specializedStyle = declaration.MaybeResetStyle<TextSpecializedStyle>(StyleTag::SPECIALIZED_S… in SetSpecializedStyle()
82 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
83 …auto& specializedStyle = declaration.MaybeResetStyle<TextSpecializedStyle>(StyleTag::SPECIALIZED_S… in SetSpecializedStyle()
89 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
90 declaration.hasSetTextColor_ = true; in SetSpecializedStyle()
91 …auto& specializedStyle = declaration.MaybeResetStyle<TextSpecializedStyle>(StyleTag::SPECIALIZED_S… in SetSpecializedStyle()
93 const auto& color = val.empty() ? Color::BLACK : declaration.ParseColor(val); in SetSpecializedStyle()
99 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
100 …auto& specializedStyle = declaration.MaybeResetStyle<TextSpecializedStyle>(StyleTag::SPECIALIZED_S… in SetSpecializedStyle()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/declaration/span/
Dspan_declaration.cpp49 …[](const std::string& val, SpanDeclaration& declaration) { declaration.SetIsShow(StringToBool(val)… in SetSpecializedAttr()
50 …{ DOM_VALUE, [](const std::string& val, SpanDeclaration& declaration) { declaration.SetSpanData(va… in SetSpecializedAttr()
64 [](const std::string& val, SpanDeclaration& declaration) { in SetSpecializedStyle()
65 … auto& specializedStyle = declaration.MaybeResetStyle<SpanStyle>(StyleTag::SPECIALIZED_STYLE); in SetSpecializedStyle()
69 declaration.isSetAllowScale_ = true; in SetSpecializedStyle()
72 [](const std::string& val, SpanDeclaration& declaration) { in SetSpecializedStyle()
73 … auto& specializedStyle = declaration.MaybeResetStyle<SpanStyle>(StyleTag::SPECIALIZED_STYLE); in SetSpecializedStyle()
75 auto textColor = val.empty() ? Color::BLACK : declaration.ParseColor(val); in SetSpecializedStyle()
78 declaration.isSetFontColor_ = true; in SetSpecializedStyle()
81 [](const std::string& val, SpanDeclaration& declaration) { in SetSpecializedStyle()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/declaration/div/
Ddiv_declaration.cpp56 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle()
57 auto& divStyle = declaration.MaybeResetStyle<DivStyle>(StyleTag::SPECIALIZED_STYLE); in SetSpecializedStyle()
63 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle()
64 auto& divStyle = declaration.MaybeResetStyle<DivStyle>(StyleTag::SPECIALIZED_STYLE); in SetSpecializedStyle()
70 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle()
71 auto& divStyle = declaration.MaybeResetStyle<DivStyle>(StyleTag::SPECIALIZED_STYLE); in SetSpecializedStyle()
77 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle()
78 auto& divStyle = declaration.MaybeResetStyle<DivStyle>(StyleTag::SPECIALIZED_STYLE); in SetSpecializedStyle()
84 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle()
85 auto& divStyle = declaration.MaybeResetStyle<DivStyle>(StyleTag::SPECIALIZED_STYLE); in SetSpecializedStyle()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/declaration/badge/
Dbadge_declaration.cpp51 { DOM_BADGE_COUNT, [](BadgeDeclaration& declaration, const std::string& value) { in SetSpecializedAttr()
52declaration.SetMessageCount(static_cast<long long>(StringUtils::StringToLongInt(value))); in SetSpecializedAttr()
55 …[](BadgeDeclaration& declaration, const std::string& value) { declaration.SetBadgeLabel(value); } … in SetSpecializedAttr()
56 { DOM_BADGE_MAX_COUNT, [](BadgeDeclaration& declaration, const std::string& value) { in SetSpecializedAttr()
57 declaration.SetMaxCount(static_cast<long long>(StringUtils::StringToLongInt(value))); in SetSpecializedAttr()
60 [](BadgeDeclaration& declaration, const std::string& value) { in SetSpecializedAttr()
61 declaration.SetBadgePosition(ConvertStrToBadgePosition(value)); in SetSpecializedAttr()
63 { DOM_BADGE_VISIBLE, [](BadgeDeclaration& declaration, in SetSpecializedAttr()
64 … const std::string& value) { declaration.SetShowMessage(StringToBool(value)); } } in SetSpecializedAttr()
78 [](BadgeDeclaration& declaration, const std::string& value) { in SetSpecializedStyle()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/declaration/qrcode/
Dqrcode_declaration.cpp50 [](QrcodeDeclaration& declaration, const std::string& value) { in SetSpecializedAttr()
51 declaration.SetQrcodeType(ConvertStrToQrcodeType(value)); in SetSpecializedAttr()
54 … [](QrcodeDeclaration& declaration, const std::string& value) { declaration.SetValue(value); } }, in SetSpecializedAttr()
68 [](QrcodeDeclaration& declaration, const std::string& value) { in SetSpecializedStyle()
69 declaration.SetBackgroundColor(declaration.ParseColor(value)); in SetSpecializedStyle()
72 [](QrcodeDeclaration& declaration, const std::string& value) { in SetSpecializedStyle()
73 declaration.SetQrcodeColor(declaration.ParseColor(value)); in SetSpecializedStyle()
76 [](QrcodeDeclaration& declaration, const std::string& value) { in SetSpecializedStyle()
77 declaration.SetQrcodeHeight(declaration.ParseDimension(value)); in SetSpecializedStyle()
80 [](QrcodeDeclaration& declaration, const std::string& value) { in SetSpecializedStyle()
[all …]

12345678