/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/ |
H A D | security_component_test_ng.cpp | 329 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 D | menu_item_modifier.cpp | 183 void SetSelectIconSrc(ArkUINodeHandle node, const char* iconSrc) in SetSelectIconSrc() argument 188 if (iconSrc != nullptr) { in SetSelectIconSrc() 189 iconPathStr = iconSrc; in SetSelectIconSrc()
|
H A D | node_text_input_modifier.cpp | 723 std::string iconSrc(src); in SetTextInputCancelButton() 724 TextFieldModelNG::SetCanacelIconSrc(frameNode, iconSrc); in SetTextInputCancelButton()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/button/ |
H A D | button_declaration.h | 27 std::string iconSrc; member 96 return attr.iconSrc; in GetIconSrc() 329 attribute.iconSrc = src; in SetIconSrc()
|
H A D | button_declaration.cpp | 87 buttonAttr.iconSrc = value; in SetSpecializedAttr()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_pattern.h | 290 void UpdateSymbolIcon(RefPtr<FrameNode>& row, RefPtr<FrameNode>& iconNode, ImageSourceInfo& iconSrc, 292 void UpdateImageIcon(RefPtr<FrameNode>& row, RefPtr<FrameNode>& iconNode, ImageSourceInfo& iconSrc,
|
H A D | menu_item_pattern.cpp | 1235 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 D | text_field_model_impl.h | 90 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 D | text_field_model_ng.h | 101 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 D | text_field_model.h | 336 const std::string& iconSrc, const std::string& bundleName, const std::string& moduleName) = 0;
|
H A D | text_field_model_ng.cpp | 848 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 D | js_search.cpp | 396 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 D | js_textfield.cpp | 1603 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 D | cjui_api.h | 2015 void (*setSelectIconSrc)(ArkUINodeHandle node, ArkUI_CharPtr iconSrc);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 3697 void (*setSelectIconSrc)(ArkUINodeHandle node, ArkUI_CharPtr iconSrc);
|