Searched refs:sheetInfo (Results 1 – 8 of 8) sorted by relevance
76 for (const auto& sheetInfo : sheetsInfo) { in BuildMenu() local77 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()
44 void ActionSheetModelImpl::SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) in SetAction() argument64 sheetInfo.gesture = tapGesture; in SetAction()
25 void SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) override;
58 void ActionSheetModelNG::SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) in SetAction() argument60 sheetInfo.action = AceType::MakeRefPtr<NG::ClickEvent>(std::move(eventFunc)); in SetAction()
26 void SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) override;
31 virtual void SetAction(GestureEventFunc&& eventFunc, ActionSheetInfo& sheetInfo) = 0;
73 ActionSheetInfo sheetInfo; in ParseSheetInfo() local76 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()
1246 auto sheetInfo = dialogProperties_.sheetsInfo.at(sheetIndex); in UpdateSheetIconAndText() local1247 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()