Lines Matching defs:action

35  * Processes notification action {@link Intent}s that need to run off the main thread.
41 public static final String ACTION_REPLY = "com.android.mail.action.notification.REPLY";
42 public static final String ACTION_REPLY_ALL = "com.android.mail.action.notification.REPLY_ALL";
43 public static final String ACTION_FORWARD = "com.android.mail.action.notification.FORWARD";
45 public static final String ACTION_MARK_READ = "com.android.mail.action.notification.MARK_READ";
49 "com.android.mail.action.notification.ARCHIVE";
50 public static final String ACTION_DELETE = "com.android.mail.action.notification.DELETE";
53 * This action cancels the undo notification, and does not commit any changes.
55 public static final String ACTION_UNDO = "com.android.mail.action.notification.UNDO";
58 * This action performs the actual destructive action.
60 public static final String ACTION_DESTRUCT = "com.android.mail.action.notification.DESTRUCT";
65 "com.android.mail.action.notification.UNDO_TIMEOUT";
71 private static void logNotificationAction(String intentAction, NotificationAction action) {
77 eventLabel = action.getFolder().getTypeDescription();
92 final String action = intent.getAction();
117 LogUtils.i(LOG_TAG, "Handling %s", action);
119 logNotificationAction(action, notificationAction);
122 // Skip undo if the action is bridged from remote node. This should be similar to the
132 if (ACTION_UNDO.equals(action)) {
135 } else if (ACTION_ARCHIVE_REMOVE_LABEL.equals(action) || ACTION_DELETE.equals(action)) {
141 if (ACTION_UNDO_TIMEOUT.equals(action) || ACTION_DESTRUCT.equals(action)) {
142 // Process the action
145 } else if (ACTION_MARK_READ.equals(action)) {