Lines Matching refs:UIProvider
36 import com.android.mail.providers.UIProvider;
69 UIProvider.FOLDERS_PROJECTION, null, null, null);
74 .getString(UIProvider.FOLDER_CONVERSATION_LIST_URI_COLUMN));
79 UIProvider.CONVERSATION_PROJECTION, null, null, null);
84 .getString(UIProvider.CONVERSATION_MESSAGE_LIST_URI_COLUMN));
89 UIProvider.MESSAGE_PROJECTION, null, null, null);
419 MatrixCursor cursor = new MatrixCursorWithCachedColumns(UIProvider.MESSAGE_PROJECTION);
421 Object[] messageValues = new Object[UIProvider.MESSAGE_PROJECTION.length];
422 messageValues[UIProvider.MESSAGE_ID_COLUMN] = Long.valueOf(messageId);
423 messageValues[UIProvider.MESSAGE_URI_COLUMN] = messageUri;
424 messageValues[UIProvider.MESSAGE_SUBJECT_COLUMN] = "Message subject";
425 messageValues[UIProvider.MESSAGE_SNIPPET_COLUMN] = "SNIPPET";
427 messageValues[UIProvider.MESSAGE_BODY_HTML_COLUMN] = html;
428 messageValues[UIProvider.MESSAGE_BODY_TEXT_COLUMN] = Html.fromHtml(html);
429 messageValues[UIProvider.MESSAGE_HAS_ATTACHMENTS_COLUMN] = hasAttachments ? 1 : 0;
430 messageValues[UIProvider.MESSAGE_DATE_RECEIVED_MS_COLUMN] = new Date().getTime();
431 messageValues[UIProvider.MESSAGE_ATTACHMENT_LIST_URI_COLUMN] = messageUri
433 messageValues[UIProvider.MESSAGE_TO_COLUMN] = "account1@mock.com, account2@mock.com";
434 messageValues[UIProvider.MESSAGE_FROM_COLUMN] = "fromaccount1@mock.com";
435 messageValues[UIProvider.MESSAGE_CC_COLUMN] = "accountcc1@mock.com, accountcc2@mock.com";