Searched refs:basicContent (Results 1 – 4 of 4) sorted by relevance
| /base/notification/distributed_notification_service/frameworks/js/napi/src/ |
| D | common_convert_content.cpp | 66 std::shared_ptr<NotificationBasicContent> basicContent = content->GetNotificationContent(); in SetNotificationContentDetailed() local 67 if (basicContent == nullptr) { in SetNotificationContentDetailed() 76 ret = SetNotificationBasicContent(env, basicContent.get(), contentResult); in SetNotificationContentDetailed() 79 ret = SetNotificationLongTextContent(env, basicContent.get(), contentResult); in SetNotificationContentDetailed() 82 ret = SetNotificationPictureContent(env, basicContent.get(), contentResult); in SetNotificationContentDetailed() 85 ret = SetNotificationConversationalContent(env, basicContent.get(), contentResult); in SetNotificationContentDetailed() 88 ret = SetNotificationMultiLineContent(env, basicContent.get(), contentResult); in SetNotificationContentDetailed() 91 ret = SetNotificationLocalLiveViewContent(env, basicContent.get(), contentResult); in SetNotificationContentDetailed() 94 ret = SetNotificationLiveViewContent(env, basicContent.get(), contentResult); in SetNotificationContentDetailed() 136 const napi_env &env, const NotificationBasicContent *basicContent, napi_value &result) in SetNotificationBasicContent() argument [all …]
|
| D | common_convert_liveview.cpp | 34 const napi_env &env, NotificationBasicContent *basicContent, napi_value &result) in SetNotificationLocalLiveViewContent() argument 38 if (basicContent == nullptr) { in SetNotificationLocalLiveViewContent() 43 static_cast<OHOS::Notification::NotificationLocalLiveViewContent *>(basicContent); in SetNotificationLocalLiveViewContent() 218 const napi_env &env, NotificationBasicContent *basicContent, napi_value &result) in SetNotificationLiveViewContent() argument 222 if (basicContent == nullptr) { in SetNotificationLiveViewContent() 227 auto liveViewContent = static_cast<NotificationLiveViewContent *>(basicContent); in SetNotificationLiveViewContent()
|
| /base/notification/distributed_notification_service/frameworks/js/napi/include/ |
| D | common.h | 444 const napi_env &env, const NotificationBasicContent *basicContent, napi_value &result); 455 const napi_env &env, NotificationBasicContent *basicContent, napi_value &result); 466 const napi_env &env, NotificationBasicContent *basicContent, napi_value &result); 477 NotificationBasicContent *basicContent, napi_value &result); 488 const napi_env &env, NotificationBasicContent *basicContent, napi_value &result); 499 const napi_env &env, NotificationBasicContent *basicContent, napi_value &result); 550 const napi_env &env, NotificationBasicContent *basicContent, napi_value &result); 1263 …env &env, const napi_value &contentResult, std::shared_ptr<NotificationBasicContent> basicContent);
|
| /base/notification/distributed_notification_service/frameworks/ans/src/ |
| D | notification_request.cpp | 358 auto basicContent = notificationContent_->GetNotificationContent(); in IsColorEnabled() local 359 auto mediaContent = std::static_pointer_cast<NotificationMediaContent>(basicContent); in IsColorEnabled() 2252 auto basicContent = GetContent()->GetNotificationContent(); in CheckImageSizeForContent() local 2253 if (basicContent == nullptr) { in CheckImageSizeForContent() 2261 return CheckImageSizeForConverSation(basicContent); in CheckImageSizeForContent() 2263 return CheckImageSizeForPicture(basicContent); in CheckImageSizeForContent() 2265 return CheckImageSizeForLiveView(basicContent); in CheckImageSizeForContent()
|