Home
last modified time | relevance | path

Searched refs:unseenCount (Results 1 – 6 of 6) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java288 final Integer unseenCount = getUnseen(key); in saveNotificationMap() local
289 if (unreadCount != null && unseenCount != null) { in saveNotificationMap()
292 unreadCount.toString(), unseenCount.toString()}; in saveNotificationMap()
473 final int unseenCount, final Account account, final Folder folder, in sendSetNewEmailIndicatorIntent() argument
482 intent.putExtra(EXTRA_UNSEEN_COUNT, unseenCount); in sendSetNewEmailIndicatorIntent()
495 final int unseenCount, final Account account, final Folder folder, in setNewEmailIndicator() argument
498 + " folder = %s, getAttention = %b", unreadCount, unseenCount, in setNewEmailIndicator()
519 unreadCount, unseenCount); in setNewEmailIndicator()
527 notificationMap.put(key, unreadCount, unseenCount); in setNewEmailIndicator()
567 int unseenCount = unseen != null ? unseen.intValue() : 0; in validateNotifications() local
[all …]
DUtils.java435 public static String getUnseenCountString(Context context, int unseenCount) { in getUnseenCountString() argument
438 if (unseenCount > maxUnreadCount) { in getUnseenCountString()
442 } else if (unseenCount <= 0) { in getUnseenCountString()
446 unseenCountString = String.format(getUnseenText(context), unseenCount); in getUnseenCountString()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java121 public int unseenCount; field in Folder
274 public Builder setUnseenCount(final int unseenCount) { in setUnseenCount() argument
275 mUnseenCount = unseenCount; in setUnseenCount()
342 int unseenCount, int unreadCount, int totalCount, Uri refreshUri, int syncStatus, in Folder() argument
355 this.unseenCount = unseenCount; in Folder()
393 unseenCount = cursor.getInt(UIProvider.FOLDER_UNSEEN_COUNT_COLUMN); in Folder()
452 unseenCount = in.readInt(); in Folder()
488 dest.writeInt(unseenCount); in writeToParcel()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderItemView.java106 && a.unseenCount == b.unseenCount in areSameViews()
123 if (mFolder.isInbox() && mFolder.unseenCount > 0) { in bind()
125 setUnseenCount(mFolder.getBackgroundColor(Color.BLACK), mFolder.unseenCount); in bind()
/packages/apps/Email/src/com/android/email/
DEmailNotificationController.java624 final int unseenCount = mailboxCursor.getInt( in refreshNotificationsForAccountInternal() local
629 if (unseenCount == 0) { in refreshNotificationsForAccountInternal()
641 + unseenCount); in refreshNotificationsForAccountInternal()
652 unseenCount); in refreshNotificationsForAccountInternal()
669 final int unseenCount = intent.getIntExtra( in handleUpdateNotificationIntent() local
721 NotificationUtils.sendSetNewEmailIndicatorIntent(context, unreadCount, unseenCount, in handleUpdateNotificationIntent()
/packages/apps/UnifiedEmail/src/com/android/mail/
DMailIntentService.java106 final int unseenCount = intent.getIntExtra(NotificationUtils.EXTRA_UNSEEN_COUNT, 0); in onHandleIntent() local
112 NotificationUtils.setNewEmailIndicator(this, unreadCount, unseenCount, in onHandleIntent()