Searched refs:colorEnabled (Results 1 - 6 of 6) sorted by relevance
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/ |
H A D | notification_utils.h | 186 bool colorEnabled; member
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_utils.cpp | 177 // colorEnabled?: boolean in GetNotificationRequestByBool() 178 bool colorEnabled = cjRequest.colorEnabled; in GetNotificationRequestByBool() local 179 request.SetColorEnabled(colorEnabled); in GetNotificationRequestByBool() 994 // colorEnabled?: boolean in SetNotificationRequestByBool() 995 notificationRequest.colorEnabled = request->IsColorEnabled(); in SetNotificationRequestByBool()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_request.h | 604 * If colorEnabled is set to true, this method takes effect only 610 * @param colorEnabled Specifies whether to enable background color. 612 void SetColorEnabled(bool colorEnabled);
|
/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_request.cpp | 112 // colorEnabled?: boolean in GetNotificationRequestByBool() 840 bool colorEnabled = false; in GetNotificationColorEnabled() local 842 NAPI_CALL(env, napi_has_named_property(env, value, "colorEnabled", &hasProperty)); in GetNotificationColorEnabled() 844 napi_get_named_property(env, value, "colorEnabled", &result); in GetNotificationColorEnabled() 850 napi_get_value_bool(env, result, &colorEnabled); in GetNotificationColorEnabled() 851 request.SetColorEnabled(colorEnabled); in GetNotificationColorEnabled()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_request.cpp | 156 // colorEnabled?: boolean in SetNotificationRequestByBool() 158 napi_set_named_property(env, result, "colorEnabled", value); in SetNotificationRequestByBool() 638 // colorEnabled?: boolean in GetNotificationRequestByBool() 1376 bool colorEnabled = false; in GetNotificationColorEnabled() local 1378 NAPI_CALL(env, napi_has_named_property(env, value, "colorEnabled", &hasProperty)); in GetNotificationColorEnabled() 1380 napi_get_named_property(env, value, "colorEnabled", &result); in GetNotificationColorEnabled() 1386 napi_get_value_bool(env, result, &colorEnabled); in GetNotificationColorEnabled() 1387 request.SetColorEnabled(colorEnabled); in GetNotificationColorEnabled()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_request.cpp | 393 void NotificationRequest::SetColorEnabled(bool colorEnabled) in SetColorEnabled() argument 395 colorEnabled_ = colorEnabled; in SetColorEnabled() 768 ", colorEnabled = " + (colorEnabled_ ? "true" : "false") + in Dump() 825 jsonObject["colorEnabled"] = colorEnabled_; in ToJson() 2214 if (jsonObject.find("colorEnabled") != jsonEnd && jsonObject.at("colorEnabled").is_boolean()) { in ConvertJsonToBool() 2215 target->colorEnabled_ = jsonObject.at("colorEnabled").get<bool>(); in ConvertJsonToBool()
|
Completed in 18 milliseconds