Home
last modified time | relevance | path

Searched refs:notificationAction (Results 1 – 3 of 3) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationActionUtils.java207 for (final NotificationActionType notificationAction : sortedActions) { in addNotificationActions()
210 folder, notificationIntent, notificationAction, notificationId, when); in addNotificationActions()
211 final int actionIconResId = notificationAction.getActionIconResId(folder, conversation, in addNotificationActions()
213 final String title = context.getString(notificationAction.getDisplayStringResId( in addNotificationActions()
223 folder, notificationIntent, notificationAction, notificationId, when); in addNotificationActions()
227 mapWearActionResId(notificationAction, actionIconResId), title, in addNotificationActions()
230 if (notificationAction == NotificationActionType.REPLY in addNotificationActions()
231 || notificationAction == NotificationActionType.REPLY_ALL) { in addNotificationActions()
246 private static int mapWearActionResId(NotificationActionType notificationAction, in mapWearActionResId() argument
248 switch (notificationAction) { in mapWearActionResId()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/
DNotificationActionIntentService.java100 final NotificationAction notificationAction; in onHandleIntent() local
106 notificationAction = NotificationAction.CREATOR.createFromParcel(in, in onHandleIntent()
113 final Message message = notificationAction.getMessage(); in onHandleIntent()
119 logNotificationAction(action, notificationAction); in onHandleIntent()
121 if (notificationAction.getSource() == NotificationAction.SOURCE_REMOTE) { in onHandleIntent()
124 LogUtils.d(LOG_TAG, "Canceling %s", notificationAction.getNotificationId()); in onHandleIntent()
125 NotificationManagerCompat.from(context).cancel(notificationAction.getNotificationId()); in onHandleIntent()
126 NotificationActionUtils.processDestructiveAction(this, notificationAction); in onHandleIntent()
127 NotificationActionUtils.resendNotifications(context, notificationAction.getAccount(), in onHandleIntent()
128 notificationAction.getFolder()); in onHandleIntent()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java2423 final NotificationAction notificationAction = in handleNotificationActions()
2428 final Folder folder = notificationAction.getFolder(); in handleNotificationActions()
2429 final boolean deleteAction = notificationAction.getNotificationActionType() in handleNotificationActions()
2434 if (notificationAction.getNotificationActionType().getIsDestructive()) { in handleNotificationActions()
2435 final Conversation conversation = notificationAction.getConversation(); in handleNotificationActions()