Searched refs:unreadCount (Results 1 - 16 of 16) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DFolderWatcher.java190 return f.unreadCount;
229 final int unreadCount = f.unreadCount;
232 || unreadCount != previousFolder.unreadCount;
H A DFolder.java126 public int unreadCount; field in class:Folder
278 public Builder setUnreadCount(final int unreadCount) { argument
279 mUnreadCount = unreadCount;
342 int unseenCount, int unreadCount, int totalCount, Uri refreshUri, int syncStatus,
356 this.unreadCount = unreadCount;
394 unreadCount = cursor.getInt(UIProvider.FOLDER_UNREAD_COUNT_COLUMN);
453 unreadCount = in.readInt();
489 dest.writeInt(unreadCount);
907 f.unreadCount
340 Folder(int id, String persistentId, Uri uri, String name, int capabilities, boolean hasChildren, int syncWindow, Uri conversationListUri, Uri childFoldersListUri, int unseenCount, int unreadCount, int totalCount, Uri refreshUri, int syncStatus, int lastSyncResult, int type, int iconResId, int notificationIconResId, String bgColor, String fgColor, Uri loadMoreUri, String hierarchicalDesc, Uri parent, final long lastMessageTimestamp, final String unreadSenders) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
H A DAccountDrawerItem.java37 int unreadCount, boolean isCurrentAccount, BitmapCache cache,
36 AccountDrawerItem(ControllableActivity activity, Account account, int unreadCount, boolean isCurrentAccount, BitmapCache cache, ContactResolver contactResolver) argument
H A DDrawerItem.java139 * @param unreadCount the unread count of the account, pass zero if
144 int unreadCount, boolean isCurrentAccount, BitmapCache cache,
146 return new AccountDrawerItem(activity, account, unreadCount, isCurrentAccount, cache,
143 ofAccount(ControllableActivity activity, Account account, int unreadCount, boolean isCurrentAccount, BitmapCache cache, ContactResolver contactResolver) argument
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DMailIntentService.java105 final int unreadCount = intent.getIntExtra(NotificationUtils.EXTRA_UNREAD_COUNT, 0);
112 NotificationUtils.setNewEmailIndicator(this, unreadCount, unseenCount,
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderItemView.java107 && a.unreadCount == b.unreadCount));
H A DNestedFolderTeaserView.java314 int unreadCount = 0;
319 unreadCount += holder.getFolder().unreadCount;
321 mShowMoreFoldersCountTextView.setText(Integer.toString(unreadCount));
338 final String unreadText = Utils.getUnreadCountString(getContext(), folder.unreadCount);
452 if (oldFolder == null || oldFolder.unreadCount != folder.unreadCount) {
583 final int maxSenders = folderHolder.mFolder.unreadCount;
H A DFolderListFragment.java921 && item.mFolder.unreadCount != mCurrentFolderForUnreadCheck.unreadCount) {
923 mCurrentFolderForUnreadCheck.unreadCount);
1253 && folder.unreadCount != mCurrentFolderForUnreadCheck.unreadCount;
1255 folderItemView.overrideUnreadCount(mCurrentFolderForUnreadCheck.unreadCount);
1353 final int unreadCount = getUnreadCount(account);
1354 accountList.add(DrawerItem.ofAccount(mActivity, account, unreadCount,
H A DAbstractActivityController.java1810 final int unreadCount = (unreadMessageUris == null) ? 0 : unreadMessageUris.size();
1812 final boolean subsetIsUnread = (numMessages > 1 && unreadCount > 0
1813 && unreadCount < numMessages);
1816 + ", numMessages=%d, unreadCount=%d, subsetIsUnread=%b",
1817 conv, numMessages, unreadCount, subsetIsUnread);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationUtils.java287 final Integer unreadCount = getUnread(key);
289 if (unreadCount != null && unseenCount != null) {
292 unreadCount.toString(), unseenCount.toString()};
472 public static void sendSetNewEmailIndicatorIntent(Context context, final int unreadCount, argument
481 intent.putExtra(EXTRA_UNREAD_COUNT, unreadCount);
494 public static void setNewEmailIndicator(Context context, final int unreadCount, argument
497 LogUtils.d(LOG_TAG, "setNewEmailIndicator unreadCount = %d, unseenCount = %d, account = %s,"
498 + " folder = %s, getAttention = %b", unreadCount, unseenCount,
508 if (unreadCount == 0) {
519 unreadCount, unseenCoun
852 createPublicNotification(Context context, Account account, Folder folder, long when, int unseenCount, int unreadCount, PendingIntent clickIntent) argument
965 configureLatestEventInfoFromConversation(final Context context, final Account account, final FolderPreferences folderPreferences, final NotificationCompat.Builder notificationBuilder, final NotificationCompat.WearableExtender wearableExtender, final Map<Integer, NotificationBuilders> msgNotifications, final int summaryNotificationId, final Cursor conversationCursor, final PendingIntent clickIntent, final Intent notificationIntent, final int unreadCount, final int unseenCount, final Folder folder, final long when, final ContactFetcher contactFetcher) argument
[all...]
H A DUtils.java421 public static String getUnreadCountString(Context context, int unreadCount) { argument
424 if (unreadCount > maxUnreadCount) {
428 } else if (unreadCount <= 0) {
432 unreadCountString = String.format("%d", unreadCount);
950 return folder.unreadCount;
/packages/apps/Email/src/com/android/email/
H A DEmailNotificationController.java627 final int unreadCount;
630 unreadCount = 0;
632 unreadCount = mailboxCursor.getInt(
640 + mailboxId + ", unreadCount: " + unreadCount + ", unseenCount: "
650 unreadCount);
667 final int unreadCount = intent.getIntExtra(
721 NotificationUtils.sendSetNewEmailIndicatorIntent(context, unreadCount, unseenCount,
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertService.java584 int unreadCount = messageList.size();
585 if (unreadCount > 1) {
588 builder.setContentText(context.getString(R.string.notification_multiple, unreadCount));
/packages/apps/Email/tests/src/com/android/email/mail/store/
H A DImapStoreUnitTests.java744 int unreadCount = mFolder.getUnreadMessageCount();
745 assertEquals("getUnreadMessageCount with quoted string", 2, unreadCount);
761 int unreadCount = mFolder.getUnreadMessageCount();
762 assertEquals("getUnreadMessageCount with literal string", 10, unreadCount);
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetService.java545 final int unreadCount = data.getInt(UIProvider.FOLDER_UNREAD_COUNT_COLUMN);
/packages/apps/Email/provider_src/com/android/email/provider/
H A DEmailProvider.java901 // We do NOT allow setting of unreadCount/messageCount via the provider
1934 // We do NOT allow setting of unreadCount/messageCount via the provider
3892 final int unreadCount = EmailContent.count(getContext(), Message.CONTENT_URI,
3897 values[i] = unreadCount;
3908 final int unreadCount = EmailContent.count(getContext(), Message.CONTENT_URI,
3913 values[i] = unreadCount;

Completed in 2486 milliseconds