Lines Matching refs:action

34  * Processes notification action {@link Intent}s that need to run off the main thread.
40 public static final String ACTION_REPLY = "com.android.mail.action.notification.REPLY";
41 public static final String ACTION_REPLY_ALL = "com.android.mail.action.notification.REPLY_ALL";
42 public static final String ACTION_FORWARD = "com.android.mail.action.notification.FORWARD";
44 public static final String ACTION_MARK_READ = "com.android.mail.action.notification.MARK_READ";
48 "com.android.mail.action.notification.ARCHIVE";
49 public static final String ACTION_DELETE = "com.android.mail.action.notification.DELETE";
52 * This action cancels the undo notification, and does not commit any changes.
54 public static final String ACTION_UNDO = "com.android.mail.action.notification.UNDO";
57 * This action performs the actual destructive action.
59 public static final String ACTION_DESTRUCT = "com.android.mail.action.notification.DESTRUCT";
64 "com.android.mail.action.notification.UNDO_TIMEOUT";
70 private static void logNotificationAction(String intentAction, NotificationAction action) {
76 eventLabel = action.getFolder().getTypeDescription();
91 final String action = intent.getAction();
116 LogUtils.i(LOG_TAG, "Handling %s", action);
118 logNotificationAction(action, notificationAction);
120 if (ACTION_UNDO.equals(action)) {
123 } else if (ACTION_ARCHIVE_REMOVE_LABEL.equals(action) || ACTION_DELETE.equals(action)) {
129 if (ACTION_UNDO_TIMEOUT.equals(action) || ACTION_DESTRUCT.equals(action)) {
130 // Process the action
133 } else if (ACTION_MARK_READ.equals(action)) {