Searched refs:MAX_ICON_SIZE (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_inline.cpp | 96 if (request->CheckImageOverSizeForPixelMap(request->GetLittleIcon(), MAX_ICON_SIZE)) { in CheckPictureSize() 102 if (request->CheckImageOverSizeForPixelMap(request->GetOverlayIcon(), MAX_ICON_SIZE)) { in CheckPictureSize() 108 if (request->CheckImageOverSizeForPixelMap(request->GetBigIcon(), MAX_ICON_SIZE)) { in CheckPictureSize()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/common/include/ |
H A D | ans_const_define.h | 36 constexpr uint32_t MAX_ICON_SIZE = 192 * 1024; variable
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_notification.cpp | 1543 if (NotificationRequest::CheckImageOverSizeForPixelMap(littleIcon, MAX_ICON_SIZE)) { in CheckImageSize() 1549 …f (overlayIcon && NotificationRequest::CheckImageOverSizeForPixelMap(overlayIcon, MAX_ICON_SIZE)) { in CheckImageSize() 1565 if (NotificationRequest::CheckImageOverSizeForPixelMap(icon, MAX_ICON_SIZE)) { in CheckImageSize() 1577 if (NotificationRequest::CheckImageOverSizeForPixelMap(icon, MAX_ICON_SIZE)) { in CheckImageSize() 1584 if (NotificationRequest::CheckImageOverSizeForPixelMap(bigIcon, MAX_ICON_SIZE)) { in CheckImageSize()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_request.cpp | 2574 if (CheckImageOverSizeForPixelMap(picture, MAX_ICON_SIZE)) { in CheckImageSizeForConverSation() 2585 if (CheckImageOverSizeForPixelMap(img, MAX_ICON_SIZE)) { in CheckImageSizeForConverSation() 2618 if (CheckImageOverSizeForPixelMap(pixelMap, MAX_ICON_SIZE)) { in CheckImageSizeForLiveView()
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_liveview.cpp | 207 … if (pixelMap != nullptr && static_cast<uint32_t>(pixelMap->GetByteCount()) <= MAX_ICON_SIZE) { in GetNotificationLocalLiveViewButton()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_liveview.cpp | 628 … if (pixelMap != nullptr && static_cast<uint32_t>(pixelMap->GetByteCount()) <= MAX_ICON_SIZE) { in GetNotificationLocalLiveViewButton()
|