/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AddableFolderSelectorAdapter.java | 25 import com.android.mail.providers.UIProvider; 39 final int projectionSize = UIProvider.FOLDERS_PROJECTION.length; 41 new MatrixCursorWithCachedColumns(UIProvider.FOLDERS_PROJECTION); 45 final int type = folderCursor.getInt(UIProvider.FOLDER_TYPE_COLUMN); 62 if (Folder.isType(type, UIProvider.FolderType.INBOX) 63 || Folder.isType(type, UIProvider.FolderType.DEFAULT)) { 64 folder[UIProvider.FOLDER_ID_COLUMN] = folderCursor 65 .getLong(UIProvider.FOLDER_ID_COLUMN); 66 folder[UIProvider.FOLDER_PERSISTENT_ID_COLUMN] = folderCursor 67 .getString(UIProvider.FOLDER_PERSISTENT_ID_COLUMN) [all...] |
SuppressNotificationReceiver.java | 22 import com.android.mail.providers.UIProvider; 57 final IntentFilter filter = new IntentFilter(UIProvider.ACTION_UPDATE_NOTIFICATION); 111 if (!UIProvider.ACTION_UPDATE_NOTIFICATION.equals(action)) { 142 (Uri)intent.getParcelableExtra(UIProvider.UpdateNotificationExtras.EXTRA_ACCOUNT); 147 (Uri)intent.getParcelableExtra(UIProvider.UpdateNotificationExtras.EXTRA_FOLDER); 153 UIProvider.UpdateNotificationExtras.EXTRA_UPDATED_UNREAD_COUNT, 0);
|
AbstractConversationWebViewClient.java | 32 import com.android.mail.providers.UIProvider; 101 intent.putExtra(UIProvider.ViewProxyExtras.EXTRA_ORIGINAL_URI, uri); 102 intent.putExtra(UIProvider.ViewProxyExtras.EXTRA_ACCOUNT, mAccount);
|
MultiFoldersSelectionDialog.java | 29 import com.android.mail.providers.UIProvider; 30 import com.android.mail.providers.UIProvider.FolderType; 66 .supportsCapability(UIProvider.AccountCapabilities.MULTIPLE_FOLDERS_PER_CONV); 79 : mAccount.folderListUri, UIProvider.FOLDERS_PROJECTION, null, null,
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
UIProviderValidator.java | 28 * A helper class to validate projections for the UIProvider queries. 38 return getValidProjection(projection, UIProvider.ACCOUNTS_PROJECTION); 45 return getValidProjection(projection, UIProvider.FOLDERS_PROJECTION); 52 return getValidProjection(projection, UIProvider.ACCOUNT_COOKIE_PROJECTION); 59 return getValidProjection(projection, UIProvider.CONVERSATION_PROJECTION); 66 return getValidProjection(projection, UIProvider.MESSAGE_PROJECTION); 73 return getValidProjection(projection, UIProvider.ATTACHMENT_PROJECTION);
|
Message.java | 39 import com.android.mail.providers.UIProvider.MessageColumns; 66 * @see UIProvider.MessageColumns#SERVER_ID 70 * @see UIProvider.MessageColumns#URI 74 * @see UIProvider.MessageColumns#CONVERSATION_ID 78 * @see UIProvider.MessageColumns#SUBJECT 82 * @see UIProvider.MessageColumns#SNIPPET 86 * @see UIProvider.MessageColumns#FROM 90 * @see UIProvider.MessageColumns#TO 94 * @see UIProvider.MessageColumns#CC 98 * @see UIProvider.MessageColumns#BC [all...] |
Conversation.java | 32 import com.android.mail.providers.UIProvider.ConversationColumns; 56 * @see UIProvider.ConversationColumns#URI 60 * @see UIProvider.ConversationColumns#SUBJECT 64 * @see UIProvider.ConversationColumns#DATE_RECEIVED_MS 68 * @see UIProvider.ConversationColumns#SNIPPET 73 * @see UIProvider.ConversationColumns#HAS_ATTACHMENTS 81 * @see UIProvider.ConversationColumns#ATTACHMENT_PREVIEW_URI0 85 * @see UIProvider.ConversationColumns#ATTACHMENT_PREVIEW_URI1 89 * @see UIProvider.ConversationColumns#ATTACHMENT_PREVIEW_STATES 93 * @see UIProvider.ConversationColumns#ATTACHMENT_PREVIEWS_COUN [all...] |
Settings.java | 25 import com.android.mail.providers.UIProvider.AccountColumns.SettingsColumns; 26 import com.android.mail.providers.UIProvider.AutoAdvance; 27 import com.android.mail.providers.UIProvider.ConversationListIcon; 28 import com.android.mail.providers.UIProvider.DefaultReplyBehavior; 29 import com.android.mail.providers.UIProvider.MessageTextSize; 30 import com.android.mail.providers.UIProvider.SnapHeaderValue; 31 import com.android.mail.providers.UIProvider.Swipe; 126 conversationViewMode = UIProvider.ConversationViewMode.UNDEFINED; 211 UIProvider.ConversationViewMode.UNDEFINED); 275 map.put(UIProvider.AccountColumns.SettingsColumns.SIGNATURE, signature) [all...] |
MessageModification.java | 22 import com.android.mail.providers.UIProvider.DraftType; 23 import com.android.mail.providers.UIProvider.MessageColumns; 51 values.put(MessageColumns.TO, TextUtils.join(UIProvider.EMAIL_SEPARATOR, toAddresses)); 61 values.put(MessageColumns.CC, TextUtils.join(UIProvider.EMAIL_SEPARATOR, ccAddresses)); 71 values.put(MessageColumns.BCC, TextUtils.join(UIProvider.EMAIL_SEPARATOR, bccAddresses));
|
Folder.java | 33 import com.android.mail.providers.UIProvider.FolderType; 65 // Try to match the order of members with the order of constants in UIProvider. 142 * syncResult is a value from {@link UIProvider.LastSyncResult} 143 * requestCode is a value from: {@link UIProvider.SyncStatus}, 376 id = cursor.getInt(UIProvider.FOLDER_ID_COLUMN); 377 persistentId = cursor.getString(UIProvider.FOLDER_PERSISTENT_ID_COLUMN); 379 new FolderUri(Uri.parse(cursor.getString(UIProvider.FOLDER_URI_COLUMN))); 380 name = cursor.getString(UIProvider.FOLDER_NAME_COLUMN); 381 capabilities = cursor.getInt(UIProvider.FOLDER_CAPABILITIES_COLUMN); 383 hasChildren = cursor.getInt(UIProvider.FOLDER_HAS_CHILDREN_COLUMN) == 1 [all...] |
Account.java | 30 import com.android.mail.providers.UIProvider.AccountCapabilities; 31 import com.android.mail.providers.UIProvider.AccountColumns; 32 import com.android.mail.providers.UIProvider.SyncStatus; 293 final String name = (String) json.get(UIProvider.AccountColumns.NAME); 294 final String type = (String) json.get(UIProvider.AccountColumns.TYPE); 382 name = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.NAME)); 383 senderName = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.SENDER_NAME)); 384 type = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.TYPE)); 386 cursor.getColumnIndex(UIProvider.AccountColumns.ACCOUNT_MANAGER_NAME)); 388 cursor.getColumnIndex(UIProvider.AccountColumns.ACCOUNT_FROM_ADDRESSES)) [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/ |
MockUiProviderTests.java | 19 import com.android.mail.providers.UIProvider; 62 Cursor cursor = provider.query(accountsUri, UIProvider.ACCOUNTS_PROJECTION, null, null, 67 int folderUriIndex = cursor.getColumnIndex(UIProvider.AccountColumns.FOLDER_LIST_URI); 80 Cursor foldersCursor = provider.query(u, UIProvider.FOLDERS_PROJECTION, null, null, 86 int name = foldersCursor.getColumnIndex(UIProvider.FolderColumns.NAME); 88 .getColumnIndex(UIProvider.FolderColumns.CHILD_FOLDERS_LIST_URI); 90 .getColumnIndex(UIProvider.FolderColumns.CONVERSATION_LIST_URI); 92 .getColumnIndex(UIProvider.FolderColumns.HAS_CHILDREN); 134 Cursor childFoldersCursor = provider.query(u, UIProvider.FOLDERS_PROJECTION, null, 137 int name = childFoldersCursor.getColumnIndex(UIProvider.FolderColumns.NAME) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationListFooterView.java | 32 import com.android.mail.providers.UIProvider; 110 final int cursorStatus = extras.getInt(UIProvider.CursorExtraKeys.EXTRA_STATUS); 111 mErrorStatus = extras.containsKey(UIProvider.CursorExtraKeys.EXTRA_ERROR) ? 112 extras.getInt(UIProvider.CursorExtraKeys.EXTRA_ERROR) 113 : UIProvider.LastSyncResult.SUCCESS; 114 final int totalCount = extras.getInt(UIProvider.CursorExtraKeys.EXTRA_TOTAL_COUNT); 115 if (UIProvider.CursorStatus.isWaitingForResults(cursorStatus)) { 119 } else if (mErrorStatus != UIProvider.LastSyncResult.SUCCESS) { 127 mErrorStatus != UIProvider.LastSyncResult.SECURITY_ERROR ? 132 case UIProvider.LastSyncResult.CONNECTION_ERROR [all...] |
AttachmentLoader.java | 29 import com.android.mail.providers.UIProvider; 36 super(c, uri, UIProvider.ATTACHMENT_PROJECTION, null, null, null); 53 final String uri = getWrappedCursor().getString(UIProvider.ATTACHMENT_URI_COLUMN);
|
MessageInviteView.java | 30 import com.android.mail.providers.UIProvider; 76 command = UIProvider.MessageOperations.RESPOND_ACCEPT; 78 command = UIProvider.MessageOperations.RESPOND_TENTATIVE; 80 command = UIProvider.MessageOperations.RESPOND_DECLINE; 86 params.put(UIProvider.MessageOperations.RESPOND_COLUMN, command);
|
SpamWarningView.java | 14 import com.android.mail.providers.UIProvider; 68 if (message.spamWarningLevel == UIProvider.SpamWarningLevel.HIGH_WARNING) { 80 case UIProvider.SpamWarningLinkType.NO_LINK: 83 case UIProvider.SpamWarningLinkType.IGNORE_WARNING: 87 case UIProvider.SpamWarningLinkType.REPORT_PHISHING:
|
SelectedConversationsActionMenu.java | 37 import com.android.mail.providers.UIProvider; 38 import com.android.mail.providers.UIProvider.AccountCapabilities; 39 import com.android.mail.providers.UIProvider.ConversationColumns; 40 import com.android.mail.providers.UIProvider.FolderCapabilities; 41 import com.android.mail.providers.UIProvider.FolderType; 158 if (mFolder.isType(UIProvider.FolderType.STARRED)) { 216 if (mFolder.supportsCapability(UIProvider.FolderCapabilities.ONLY_IMPORTANT)) { 315 final int priority = important ? UIProvider.ConversationPriority.HIGH 316 : UIProvider.ConversationPriority.LOW; 416 mAccount.supportsCapability(UIProvider.AccountCapabilities.ARCHIVE) [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
EmailProvider.java | 107 import com.android.mail.providers.UIProvider; 108 import com.android.mail.providers.UIProvider.AccountCapabilities; 109 import com.android.mail.providers.UIProvider.AccountCursorExtraKeys; 110 import com.android.mail.providers.UIProvider.ConversationColumns; 111 import com.android.mail.providers.UIProvider.ConversationPriority; 112 import com.android.mail.providers.UIProvider.ConversationSendingState; 113 import com.android.mail.providers.UIProvider.DraftType; 326 // Query parameter indicating the command came from UIProvider 478 "=" + UIProvider.SyncStatus.NO_SYNC); [all...] |
FolderPickerSelectorAdapter.java | 24 import com.android.mail.providers.UIProvider.FolderCapabilities;
|
RefreshStatusMonitor.java | 3 import com.android.mail.providers.UIProvider; 114 mMailboxId, UIProvider.LastSyncResult.STORAGE_ERROR); 121 mMailboxId, UIProvider.LastSyncResult.CONNECTION_ERROR); 148 mMailboxId, UIProvider.LastSyncResult.SUCCESS);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsEditQuickResponsesFragment.java | 22 import com.android.mail.providers.UIProvider; 80 new String[] {UIProvider.QuickResponseColumns.TEXT}, 91 UIProvider.QUICK_RESPONSE_PROJECTION, null, null, null); 137 c.getString(c.getColumnIndex(UIProvider.QuickResponseColumns.TEXT)); 139 c.getString(c.getColumnIndex(UIProvider.QuickResponseColumns.URI)));
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
ThreadSafeCursorWrapper.java | 23 import com.android.mail.providers.UIProvider; 102 final int opts = extras.getInt(UIProvider.ConversationCursorCommand.COMMAND_KEY_OPTIONS); 103 if ((opts & UIProvider.ConversationCursorCommand.OPTION_MOVE_POSITION) != 0) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
AccountUtils.java | 20 import com.android.mail.providers.UIProvider; 77 UIProvider.ACCOUNTS_PROJECTION, null, null, null); 105 UIProvider.ACCOUNTS_PROJECTION, null, null, null);
|
/packages/apps/Email/src/com/android/email/activity/ |
InsertQuickResponseDialog.java | 21 import com.android.mail.providers.UIProvider; 101 new String[] {UIProvider.QuickResponseColumns.TEXT}, 112 c.getString(c.getColumnIndex(UIProvider.QuickResponseColumns.TEXT)); 124 UIProvider.QUICK_RESPONSE_PROJECTION, null, null, null);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
ConversationListContext.java | 26 import com.android.mail.providers.UIProvider; 61 sUrlMatcher.addURI(UIProvider.AUTHORITY, "account/*/folder/*", 0);
|