Home
last modified time | relevance | path

Searched refs:largeIcon (Results 1 - 3 of 3) sorted by relevance

/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h195 int64_t largeIcon; member
297 bool GetNotificationLargeIcon(int64_t largeIcon, OHOS::Notification::NotificationRequest &request);
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp214 // largeIcon?: image.PixelMap in GetNotificationRequestByCustom()
215 if (!GetNotificationLargeIcon(cjRequest.largeIcon, request)) { in GetNotificationRequestByCustom()
821 bool GetNotificationLargeIcon(int64_t largeIcon, NotificationRequest &request) in GetNotificationLargeIcon() argument
823 if (largeIcon != -1) { in GetNotificationLargeIcon()
824 auto pixelMap = FFI::FFIData::GetData<Media::PixelMapImpl>(largeIcon); in GetNotificationLargeIcon()
1027 // largeIcon?: image.PixelMap in SetNotificationRequestByPixelMap()
1028 notificationRequest.largeIcon = -1; in SetNotificationRequestByPixelMap()
1029 std::shared_ptr<Media::PixelMap> largeIcon = request->GetBigIcon(); in SetNotificationRequestByPixelMap() local
1030 if (largeIcon) { in SetNotificationRequestByPixelMap()
1031 auto native = FFIData::Create<Media::PixelMapImpl>(largeIcon); in SetNotificationRequestByPixelMap()
[all...]
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_request.cpp249 // largeIcon?: image.PixelMap in SetNotificationRequestByPixelMap()
250 std::shared_ptr<Media::PixelMap> largeIcon = request->GetBigIcon(); in SetNotificationRequestByPixelMap() local
251 if (largeIcon) { in SetNotificationRequestByPixelMap()
254 largeIconResult = Media::PixelMapNapi::CreatePixelMap(env, largeIcon); in SetNotificationRequestByPixelMap()
258 napi_set_named_property(env, result, "largeIcon", NapiGetNull(env)); in SetNotificationRequestByPixelMap()
260 napi_set_named_property(env, result, "largeIcon", largeIconResult); in SetNotificationRequestByPixelMap()
700 // largeIcon?: image.PixelMap in GetNotificationRequestByCustom()
781 NAPI_CALL(env, napi_has_named_property(env, value, "largeIcon", &hasProperty)); in GetNotificationLargeIcon()
783 napi_get_named_property(env, value, "largeIcon", &result); in GetNotificationLargeIcon()

Completed in 6 milliseconds