/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | BaseWidgetProvider.java | 138 final Uri folderUri = intent.getParcelableExtra(EXTRA_FOLDER_URI); in onReceive() local 143 if (widgetId != -1 && account != null && folderUri != null) { in onReceive() 145 folderUri, folderConversationListUri, folderDisplayName); in onReceive() 153 final Uri folderUri = extras.getParcelable(Utils.EXTRA_FOLDER_URI); in onReceive() local 156 if (accountUri == null && Utils.isEmpty(folderUri) && !updateAllWidgets) { in onReceive() 173 } else if (folderUri != null && in onReceive() 174 TextUtils.equals(folderUri.toString(), parsedInfo[1])) { in onReceive() 222 Uri folderUri = null; in doInBackground() local 228 folderUri = Uri.parse(parsedInfo[1]); in doInBackground() 231 folderUri = Uri.EMPTY; in doInBackground() [all …]
|
D | WidgetService.java | 95 final Uri folderUri, final Uri folderConversationListUri, String folderName) { in configureValidAccountWidget() argument 97 folderCapabilities, folderUri, folderConversationListUri, folderName, in configureValidAccountWidget() 106 final Uri folderUri, final Uri folderConversationListUri, String folderDisplayName, in configureValidAccountWidget() argument 131 folderType, folderCapabilities, folderUri, folderConversationListUri, in configureValidAccountWidget() 137 final Uri folderUri, final Uri folderConversationListUri, in configureValidWidgetIntents() argument 148 intent.putExtra(BaseWidgetProvider.EXTRA_FOLDER_URI, folderUri); in configureValidWidgetIntents() 155 final Intent mailIntent = Utils.createViewFolderIntent(context, folderUri, account); in configureValidWidgetIntents() 193 final String folderUri) { in saveWidgetInformation() argument 194 MailPrefs.get(context).configureWidget(appWidgetId, account, folderUri); in saveWidgetInformation() 259 final Uri folderUri = intent.getParcelableExtra(WidgetProvider.EXTRA_FOLDER_URI); in MailFactory() local [all …]
|
D | WidgetConversationListItemViewBuilder.java | 146 final Conversation conversation, final FolderUri folderUri, final int ignoreFolderType, in getStyledView() argument 209 mFolderDisplayer.loadConversationFolders(conversation, folderUri, ignoreFolderType); in getStyledView()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 84 public FolderUri folderUri; field in Folder 348 this.folderUri = new FolderUri(uri); in Folder() 381 folderUri = in Folder() 444 folderUri = new FolderUri((Uri) in.readParcelable(loader)); in Folder() 480 dest.writeParcelable(folderUri != null ? folderUri.fullUri : null, 0); in writeToParcel() 527 folders.put(f.folderUri.getComparisonUri(), f); in hashMapForFolders() 577 return Objects.equal(folderUri, ((Folder) o).folderUri); in equals() 582 return folderUri == null ? 0 : folderUri.hashCode(); in hashCode() 593 sb.append(folderUri); in toString() 711 folderUris[i] = folder.folderUri.toString(); in getUriArray() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationUtils.java | 251 final Uri folderUri = Uri.parse(notificationParts[1]); in loadNotificationMap() local 253 folderUri, UIProvider.FOLDERS_PROJECTION, null, null, null); in loadNotificationMap() 257 LogUtils.contentUriToString(folderUri)); in loadNotificationMap() 291 key.account.uri.toString(), key.folder.folderUri.fullUri.toString(), in saveNotificationMap() 365 final Uri accountUri, final FolderUri folderUri, in resendNotifications() argument 370 folderUri == null ? null : LogUtils.sanitizeName(LOG_TAG, folderUri.toString())); in resendNotifications() 388 folderUri != null && !Objects.equal(folderUri, folder.folderUri)) { in resendNotifications() 391 notification.account.uri, folder.folderUri, accountUri, folderUri); in resendNotifications() 396 notification.account.uri, folder.folderUri); in resendNotifications() 440 final boolean isInbox = folder.folderUri.equals( in validateAccountNotifications() [all …]
|
D | Utils.java | 476 Conversation conversation, final Uri folderUri, Account account) { in createViewConversationIntent() argument 483 FOLDER_URI_QUERY_PARAMETER, folderUri.toString()).build(); in createViewConversationIntent() 486 intent.putExtra(Utils.EXTRA_FOLDER_URI, folderUri); in createViewConversationIntent() 498 public static Intent createViewFolderIntent(final Context context, final Uri folderUri, in createViewFolderIntent() argument 500 if (folderUri == null || account == null) { in createViewFolderIntent() 501 LogUtils.wtf(LOG_TAG, "Utils.createViewFolderIntent(%s,%s): Bad input", folderUri, in createViewFolderIntent() 508 intent.setDataAndType(appendVersionQueryParameter(context, folderUri), account.mimeType); in createViewFolderIntent() 510 intent.putExtra(Utils.EXTRA_FOLDER_URI, folderUri); in createViewFolderIntent() 988 public static Folder getFolder(final Context context, final Uri folderUri, in getFolder() argument 990 final Uri uri = folderUri in getFolder()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderListFragment.java | 371 && !selectedFolder.folderUri.equals(mSelectedFolderUri)) { in onActivityCreated() 457 final String folderUri = args.getString(ARG_FOLDER_LIST_URI); in setInstanceFromBundle() local 458 if (folderUri != null) { in setInstanceFromBundle() 459 mFolderListUri = Uri.parse(folderUri); in setInstanceFromBundle() 483 mSelectedFolderUri = mParentFolder.folderUri; in onCreateView() 648 if (!folder.folderUri.equals(mSelectedFolderUri)) { in onFolderSelected() 1071 if (f.folderUri.equals(mSelectedFolderUri)) { in recalculateDividedListFolders() 1216 mParentUri = parentFolder.folderUri; in HierarchicalFolderListAdapter() 1229 return f.folderUri.equals(mParentUri) ? PARENT : CHILD; in getItemViewType() 1245 if (folder.folderUri.equals(mSelectedFolderUri)) { in getView() [all …]
|
D | RecentFolderList.java | 118 values.put(mFolder.folderUri.fullUri.toString(), 0); in doInBackground() 182 mFolderCache.putElement(folder.folderUri.fullUri.toString(), entry); in loadFromUiProvider() 210 mFolderCache.putElement(folder.folderUri.fullUri.toString(), entry); in touchFolder() 238 if (!excludedUris.contains(entry.mFolder.folderUri)) { in getRecentFolderList()
|
D | MultiFoldersSelectionDialog.java | 75 mOperations.put(op.mFolder.folderUri.fullUri, op); in onCreate() 118 checked.add(mCurrentFolder.folderUri.fullUri.toString()); in onCreate() 203 mOperations.put(folder.folderUri.fullUri, in update() 211 mOperations.put(folder.folderUri.fullUri, new FolderOperation(folder, add)); in update()
|
D | FolderItemView.java | 103 return (a == b || (a.folderUri.equals(b.folderUri) in areSameViews() 116 final boolean isParent = folder.folderUri.equals(parentUri); in bind()
|
D | ConversationListCallbacks.java | 118 Parcelable getConversationListScrollPosition(String folderUri); in getConversationListScrollPosition() argument 128 void setConversationListScrollPosition(String folderUri, Parcelable savedPosition); in setConversationListScrollPosition() argument
|
D | AbstractActivityController.java | 2483 final Uri folderUri; 2485 folderUri = intent.getParcelableExtra(Utils.EXTRA_FOLDER_URI); 2489 folderUri = folder.folderUri.fullUri; 2494 folderUri = mAccount.settings.defaultInbox; 2502 args.putParcelable(Utils.EXTRA_FOLDER_URI, folderUri); 3486 mContext, mFolder.folderUri.fullUri, everything, Folder.FACTORY); 3517 final Uri folderUri = args.getParcelable(Utils.EXTRA_FOLDER_URI); 3522 return new ObjectCursorLoader<Folder>(mContext, folderUri, 3877 folderUris.add(op.mFolder.folderUri.fullUri); 3880 targetFolders.put(op.mFolder.folderUri.fullUri, op.mFolder); [all …]
|
D | FolderSelectorAdapter.java | 126 folder.folderUri.getComparisonUri().toString()); in createFolderRows() 212 TreeNode node = nodeMap.get(folder.folderUri.getComparisonUri()); in folderSort() 215 nodeMap.put(folder.folderUri.getComparisonUri(), node); in folderSort()
|
D | FolderSelectionActivity.java | 241 selectedFolder.capabilities, selectedFolder.folderUri.fullUri, in createWidget() 272 mSelectedFolder.folderUri.fullUri, mAccount); in onFolderChanged()
|
D | OnePaneController.java | 152 && isDefaultInbox(context.folder.folderUri, account); in inInbox() 319 if (mInbox == null || !isDefaultInbox(mInbox.folderUri, mAccount)) { in transitionToInbox()
|
D | SwipeableListView.java | 254 targetFolders.remove(folderOp.mFolder.folderUri.fullUri); in dismissChild() 259 folderUris.add(mFolder.folderUri.fullUri); in dismissChild()
|
D | SuppressNotificationReceiver.java | 149 if (!listContextFolder.folderUri.equals(intentFolderUri)) { in onReceive()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | MailIntentService.java | 89 final FolderUri folderUri = in onHandleIntent() local 93 this, false, accountUri, folderUri, getContactFetcher()); in onHandleIntent() 103 folder.folderUri, getContactFetcher()); in onHandleIntent()
|
/packages/apps/Email/src/com/android/email/ |
D | EmailNotificationController.java | 636 final Uri folderUri = EmailProvider.uiUri("uifolder", mailboxId); in refreshNotificationsForAccountInternal() local 648 intent.putExtra(UIProvider.UpdateNotificationExtras.EXTRA_FOLDER, folderUri); in refreshNotificationsForAccountInternal() 665 final Uri folderUri = in handleUpdateNotificationIntent() local 697 final Cursor folderCursor = contentResolver.query(folderUri, UIProvider.FOLDERS_PROJECTION, in handleUpdateNotificationIntent() 702 + folderUri); in handleUpdateNotificationIntent() 712 + folderUri); in handleUpdateNotificationIntent()
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
D | MailPrefs.java | 222 public void configureWidget(int appWidgetId, Account account, final String folderUri) { in configureWidget() argument 228 createWidgetPreferenceValue(account, folderUri)).apply(); in configureWidget() 236 private static String createWidgetPreferenceValue(Account account, String folderUri) { in createWidgetPreferenceValue() argument 238 + folderUri; in createWidgetPreferenceValue()
|
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/ |
D | FolderDrawerItem.java | 64 if (currentFolder != null && mFolder != null && mFolder.folderUri != null) { in isHighlighted() 65 return (mItemCategory == currentType) && mFolder.folderUri.equals(currentFolder); in isHighlighted()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
D | MockUiProvider.java | 283 final String folderUri = getMockAccountFolderUri(accountId, folderId); in createFolderDetailsMap() local 287 folderMap.put(FolderColumns.URI, folderUri); in createFolderDetailsMap() 290 folderMap.put(FolderColumns.CONVERSATION_LIST_URI, folderUri + "/getConversations"); in createFolderDetailsMap() 291 folderMap.put(FolderColumns.CHILD_FOLDERS_LIST_URI, folderUri + "/getChildFolders"); in createFolderDetailsMap()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | WidgetProvider.java | 110 uiFolder.folderUri.fullUri.toString()); in migrateLegacyWidgetInformation() 113 uiFolder.folderUri.fullUri, uiFolder.conversationListUri, uiFolder.name); in migrateLegacyWidgetInformation()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewModel.java | 320 ? sCachedModelsFolder.folderUri : FolderUri.EMPTY; in onFolderUpdated() 321 final FolderUri newUri = folder != null ? folder.folderUri : FolderUri.EMPTY; in onFolderUpdated()
|
/packages/apps/Email/src/com/android/email2/ui/ |
D | MailActivityEmail.java | 144 return Utils.createViewFolderIntent(this, folder.folderUri.fullUri, account); in getViewIntent()
|