Home
last modified time | relevance | path

Searched refs:sheetInfo (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog/action_sheet/
H A Daction_sheet_component.cpp76 for (const auto& sheetInfo : sheetsInfo) { in BuildMenu() local
77 if (!sheetInfo.IsValid()) { in BuildMenu()
83 if (!sheetInfo.icon.empty()) { in BuildMenu()
84 auto image = AceType::MakeRefPtr<ImageComponent>(sheetInfo.icon); in BuildMenu()
92 if (!sheetInfo.title.empty()) { in BuildMenu()
93 auto text = AceType::MakeRefPtr<TextComponent>(sheetInfo.title); in BuildMenu()
103 box->SetOnClick(sheetInfo.gesture); in BuildMenu()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Daction_sheet_model_impl.cpp44 void ActionSheetModelImpl::SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) in SetAction() argument
64 sheetInfo.gesture = tapGesture; in SetAction()
H A Daction_sheet_model_impl.h25 void SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/action_sheet/
H A Daction_sheet_model_ng.cpp58 void ActionSheetModelNG::SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) in SetAction() argument
60 sheetInfo.action = AceType::MakeRefPtr<NG::ClickEvent>(std::move(eventFunc)); in SetAction()
H A Daction_sheet_model_ng.h26 void SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) override;
H A Daction_sheet_model.h31 virtual void SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/action_sheet/
H A Djs_action_sheet.cpp73 ActionSheetInfo sheetInfo; in ParseSheetInfo() local
76 return sheetInfo; in ParseSheetInfo()
83 sheetInfo.title = title; in ParseSheetInfo()
89 sheetInfo.icon = icon; in ParseSheetInfo()
104 ActionSheetModel::GetInstance()->SetAction(eventFunc, sheetInfo); in ParseSheetInfo()
106 return sheetInfo; in ParseSheetInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_pattern.cpp1246 auto sheetInfo = dialogProperties_.sheetsInfo.at(sheetIndex); in UpdateSheetIconAndText() local
1247 if (!sheetInfo.icon.empty()) { in UpdateSheetIconAndText()
1252 iconProps->UpdateImageSourceInfo(ImageSourceInfo(sheetInfo.icon)); in UpdateSheetIconAndText()
1255 if (!sheetInfo.title.empty()) { in UpdateSheetIconAndText()
1260 titleProps->UpdateContent(sheetInfo.title); in UpdateSheetIconAndText()