Home
last modified time | relevance | path

Searched refs:messageCount (Results 1 – 12 of 12) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DConversationInfo.java29 public int messageCount; field in ConversationInfo
39 public ConversationInfo(int messageCount) { in ConversationInfo() argument
40 this.messageCount = messageCount; in ConversationInfo()
43 participantInfos = new ArrayList<ParticipantInfo>(messageCount); in ConversationInfo()
46 public ConversationInfo(int messageCount, int draft, String first, String firstUnread, in ConversationInfo() argument
50 participantInfos = new ArrayList<ParticipantInfo>(messageCount); in ConversationInfo()
51 set(messageCount, draft, first, firstUnread, last); in ConversationInfo()
55 messageCount = in.readInt(); in ConversationInfo()
70 messageCount = orig.messageCount; in overwriteWith()
84 dest.writeInt(messageCount); in writeToParcel()
[all …]
DConversation.java737 return conversationInfo.messageCount; in getNumMessages()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DMessageNotificationViewHolder.java111 Integer messageCount = null; in bindBody() local
119 messageCount = messages.size(); in bindBody()
134 if (messageCount == null) { in bindBody()
135 messageCount = notification.number; in bindBody()
136 if (messageCount == 0) { in bindBody()
137 messageCount = 1; // a notification should at least represent 1 message in bindBody()
146 R.plurals.restricted_message_text, messageCount, messageCount); in bindBody()
176 int unshownCount = messageCount - 1; in bindBody()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java259 final int messageCount = messages.size(); in sendInternal() local
260 final ArrayList<PendingIntent> deliveryIntents = new ArrayList<PendingIntent>(messageCount); in sendInternal()
261 final ArrayList<PendingIntent> sentIntents = new ArrayList<PendingIntent>(messageCount); in sendInternal()
262 for (int i = 0; i < messageCount; i++) { in sendInternal()
264 final int partId = (messageCount <= 1 ? 0 : i + 1); in sendInternal()
265 if (requireDeliveryReport && (i == (messageCount - 1))) { in sendInternal()
291 for (int i = 0; i < messageCount; i++) { in sendInternal()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DLegacyModeSmsHandler.java71 int messageCount = 0; in handle() local
73 messageCount = in handle()
79 sendLegacyVoicemailNotification(context, handle, messageCount); in handle()
84 Context context, PhoneAccountHandle phoneAccountHandle, int messageCount) { in sendLegacyVoicemailNotification() argument
97 intent.putExtra(TelephonyManager.EXTRA_NOTIFICATION_COUNT, messageCount); in sendLegacyVoicemailNotification()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java64 private int messageCount = -1; field in ImapFolder
142 messageCount = -1; in close()
149 return messageCount; in getMessageCount()
479 messageCount = response.getStringOrEmpty(0).getNumberOrZero(); in handleUntaggedResponse()
722 int messageCount = -1; in doSelect() local
725 messageCount = response.getStringOrEmpty(0).getNumberOrZero(); in doSelect()
739 if (messageCount == -1) { in doSelect()
742 this.messageCount = messageCount; in doSelect()
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DDialogSmsDisplayTests.java185 private boolean waitForSms(int messageCount) { in waitForSms() argument
189 Log.i(TAG, "waitForSms -- waiting for: " + messageCount + " parts"); in waitForSms()
190 while (mReceivedMessages.size() < messageCount) { in waitForSms()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java180 int conversationId, String subject, int hasAttachments, int messageCount, in createConversationDetailsMap() argument
200 generateConversationInfo(messageCount, draftCount)); in createConversationDetailsMap()
229 private static byte[] generateConversationInfo(int messageCount, int draftCount) { in generateConversationInfo() argument
230 ConversationInfo info = new ConversationInfo(messageCount, draftCount, "first", in generateConversationInfo()
232 for (int i = 0; i < messageCount; i++) { in generateConversationInfo()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java529 final int messageCount = lineInfos.size(); in build() local
535 if (messageCount == 1) { in build()
823 int messageCount = 0; in createConversationInfoList() local
963 messageCount++; in createConversationInfoList()
975 return new ConversationInfoList(messageCount, in createConversationInfoList()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java644 final int messageCount = draftMessageData.getNumMessagesToBeSent(); in updateVisualsOnDraftChanged() local
650 if (!draftMessageData.getIsMms() && (messageCount > 1 || in updateVisualsOnDraftChanged()
657 final String counterText = messageCount > 1 ? codePointsRemaining + " / " + in updateVisualsOnDraftChanged()
658 messageCount : String.valueOf(codePointsRemaining); in updateVisualsOnDraftChanged()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java1238 int messageCount = -1; in doSelect() local
1241 messageCount = response.getStringOrEmpty(0).getNumberOrZero(); in doSelect()
1254 if (messageCount == -1) { in doSelect()
1257 mMessageCount = messageCount; in doSelect()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSendersView.java161 final int count = conversationInfo.messageCount; in createMessageInfo()