Home
last modified time | relevance | path

Searched refs:iconSrc (Results 1 - 15 of 15) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/
H A Dsecurity_component_test_ng.cpp329 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); in HWTEST_F() local
330 EXPECT_EQ(iconSrc.GetFillColor().value_or(Color()), Color::WHITE); in HWTEST_F()
385 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); in HWTEST_F() local
386 EXPECT_EQ(iconSrc.GetFillColor().value_or(Color()), Color::BLUE); in HWTEST_F()
447 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); in HWTEST_F() local
448 EXPECT_EQ(iconSrc.GetFillColor().value_or(Color()), Color::RED); in HWTEST_F()
505 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); in HWTEST_F() local
506 EXPECT_EQ(iconSrc.GetFillColor().value_or(Color()), Color::RED); in HWTEST_F()
777 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); in HWTEST_F() local
778 EXPECT_EQ(iconSrc in HWTEST_F()
834 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); HWTEST_F() local
896 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); HWTEST_F() local
954 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); HWTEST_F() local
1205 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); HWTEST_F() local
1261 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); HWTEST_F() local
1323 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); HWTEST_F() local
1381 ImageSourceInfo iconSrc = iconProp->GetImageSourceInfo().value_or(ImageSourceInfo()); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dmenu_item_modifier.cpp183 void SetSelectIconSrc(ArkUINodeHandle node, const char* iconSrc) in SetSelectIconSrc() argument
188 if (iconSrc != nullptr) { in SetSelectIconSrc()
189 iconPathStr = iconSrc; in SetSelectIconSrc()
H A Dnode_text_input_modifier.cpp723 std::string iconSrc(src); in SetTextInputCancelButton()
724 TextFieldModelNG::SetCanacelIconSrc(frameNode, iconSrc); in SetTextInputCancelButton()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/button/
H A Dbutton_declaration.h27 std::string iconSrc; member
96 return attr.iconSrc; in GetIconSrc()
329 attribute.iconSrc = src; in SetIconSrc()
H A Dbutton_declaration.cpp87 buttonAttr.iconSrc = value; in SetSpecializedAttr()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/
H A Dmenu_item_pattern.h290 void UpdateSymbolIcon(RefPtr<FrameNode>& row, RefPtr<FrameNode>& iconNode, ImageSourceInfo& iconSrc,
292 void UpdateImageIcon(RefPtr<FrameNode>& row, RefPtr<FrameNode>& iconNode, ImageSourceInfo& iconSrc,
H A Dmenu_item_pattern.cpp1235 auto iconSrc = isStart ? itemProperty->GetStartIcon().value_or(defaultImageSourceInfo) in UpdateIcon() local
1239 if (iconSrc.GetSrc().empty() && symbol == nullptr) { in UpdateIcon()
1262 UpdateImageIcon(row, iconNode, iconSrc, symbol, isStart); in UpdateIcon()
1264 UpdateSymbolIcon(row, iconNode, iconSrc, symbol, isStart); in UpdateIcon()
1271 void MenuItemPattern::UpdateImageIcon(RefPtr<FrameNode>& row, RefPtr<FrameNode>& iconNode, ImageSourceInfo& iconSrc, in UpdateImageIcon() argument
1295 ImageSourceInfo imageSourceInfo(iconSrc); in UpdateImageIcon()
1321 void MenuItemPattern::UpdateSymbolIcon(RefPtr<FrameNode>& row, RefPtr<FrameNode>& iconNode, ImageSourceInfo& iconSrc, in UpdateSymbolIcon() argument
1344 ImageSourceInfo imageSourceInfo(iconSrc); in UpdateSymbolIcon()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtext_field_model_impl.h90 const std::string& iconSrc, const std::string& bundleName, const std::string& moduleName) override {};
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_model_ng.h101 const std::string& iconSrc, const std::string& bundleName, const std::string& moduleName) override;
192 static void SetCanacelIconSrc(FrameNode* frameNode, const std::string& iconSrc);
H A Dtext_field_model.h336 const std::string& iconSrc, const std::string& bundleName, const std::string& moduleName) = 0;
H A Dtext_field_model_ng.cpp848 const std::string& iconSrc, const std::string& bundleName, const std::string& moduleName) in SetCanacelIconSrc()
850 ACE_UPDATE_LAYOUT_PROPERTY(TextFieldLayoutProperty, IconSrc, iconSrc); in SetCanacelIconSrc()
1382 void TextFieldModelNG::SetCanacelIconSrc(FrameNode* frameNode, const std::string& iconSrc) in SetCanacelIconSrc() argument
1384 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TextFieldLayoutProperty, IconSrc, iconSrc, frameNode); in SetCanacelIconSrc()
847 SetCanacelIconSrc( const std::string& iconSrc, const std::string& bundleName, const std::string& moduleName) SetCanacelIconSrc() argument
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_search.cpp396 std::string iconSrc; in SetCancelImageIcon() local
398 if (iconSrcProp->IsUndefined() || iconSrcProp->IsNull() || !ParseJsMedia(iconSrcProp, iconSrc)) { in SetCancelImageIcon()
399 iconSrc = ""; in SetCancelImageIcon()
406 NG::IconOptions cancelIconOptions = NG::IconOptions(iconColor, iconSize, iconSrc, "", ""); in SetCancelImageIcon()
409 NG::IconOptions cancelIconOptions = NG::IconOptions(iconSize, iconSrc, "", ""); in SetCancelImageIcon()
H A Djs_textfield.cpp1603 std::string iconSrc; in SetCancelIconColorAndIconSrc() local
1607 if (iconSrcProp->IsUndefined() || iconSrcProp->IsNull() || !ParseJsMedia(iconSrcProp, iconSrc)) { in SetCancelIconColorAndIconSrc()
1608 iconSrc = ""; in SetCancelIconColorAndIconSrc()
1611 TextFieldModel::GetInstance()->SetCanacelIconSrc(iconSrc, bundleName, moduleName); in SetCancelIconColorAndIconSrc()
1620 auto info = ImageSourceInfo(iconSrc, bundleName, moduleName); in SetCancelIconColorAndIconSrc()
1621 if (info.IsSvg() && iconSrc != "") { in SetCancelIconColorAndIconSrc()
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/
H A Dcjui_api.h2015 void (*setSelectIconSrc)(ArkUINodeHandle node, ArkUI_CharPtr iconSrc);
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h3697 void (*setSelectIconSrc)(ArkUINodeHandle node, ArkUI_CharPtr iconSrc);

Completed in 64 milliseconds