Lines Matching refs:type

113     // Constants for notification type used for audio and vibration settings.
194 * Cancel all notifications of a certain type.
196 * @param type Message or error notifications from Constants.
198 private static synchronized void cancel(final int type) {
199 cancel(type, null, false);
203 * Cancel all notifications of a certain type.
205 * @param type Message or error notifications from Constants.
213 private static synchronized void cancel(final int type, final String conversationId,
215 final String notificationTag = buildNotificationTag(type, conversationId,
225 if (notifState.mType == type) {
234 notificationManager.cancel(notificationTag, type);
236 LogUtil.d(TAG, "Canceled notifications of type " + type);
242 if (type == PendingIntentConstants.SMS_NOTIFICATION_ID) {
344 * @param name The tag name (in practice, the type)
364 static String buildNotificationTag(final int type, final String conversationId) {
365 return buildNotificationTag(type, conversationId, false /* bundledNotification */);
371 * @param type One of the constants in {@link PendingIntentConstants}
377 static String buildNotificationTag(final int type, final String conversationId,
380 switch(type) {
955 final int type = notificationState.mType;
970 final String notificationTag = buildNotificationTag(type,
976 notificationManager.notify(notificationTag, type, notification);
979 + "tag = " + notificationTag + ", type = " + type);
983 // TODO: add attachment type
1079 // The default attachment type is an image, since that's what was originally
1080 // supported. When there's no content type, assume it's an image.