Searched refs:recipients (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Mms/src/com/android/mms/ui/
H A DNoConfirmationSendService.java63 String recipients = Conversation.getRecipients(intentUri);
65 if (TextUtils.isEmpty(recipients)) {
78 String[] dests = TextUtils.split(recipients, ";");
H A DRecipientListActivity.java46 * Display a list of recipients for a group conversation. This activity expects to receive a
119 ContactList recipients) {
120 super(context, resource, recipients);
118 RecipientListAdapter(Context context, int resource, ContactList recipients) argument
H A DConversationList.java636 ContactList recipients = conv.getRecipients();
637 menu.setHeaderTitle(recipients.formatNames(","));
644 if (recipients.size() == 1) {
646 if (recipients.get(0).existsInDatabase()) {
947 // recipients have been deleted.
950 // Remove any recipients referenced by this single thread from the
956 ContactList recipients = conv.getRecipients();
957 for (Contact contact : recipients) {
H A DComposeMessageActivity.java163 * address String The addresses of the recipients in current conversation.
279 private RecipientsEditor mRecipientsEditor; // UI control for editing recipients
280 private ImageButton mRecipientsPicker; // UI control for recipients picker
293 // think the message list is empty, thus show the recipients
300 private int mLastRecipientCount; // Used for warning the user on too many recipients.
345 private final static String RECIPIENTS = "recipients";
728 // The recipients editor is still open. Make sure we use what's showing there
794 // If we have gone to zero recipients, disable send button.
807 // only when the actual # of recipients changes.
851 // Context menu handlers for the recipients edito
[all...]
/packages/apps/Mms/src/com/android/mms/data/
H A DConversation.java88 private ContactList mRecipients; // The current set of recipients.
131 * Create a new conversation with no recipients. {@link #setRecipients} can
166 public static Conversation get(Context context, ContactList recipients, boolean allowQuery) { argument
168 Log.v(TAG, "Conversation get by recipients: " + recipients.serialize());
170 // If there are no recipients in the list, make a new conversation.
171 if (recipients.size() < 1) {
175 Conversation conv = Cache.get(recipients);
179 long threadId = getOrCreateThreadId(context, recipients);
183 if (!conv.getRecipients().equals(recipients)) {
[all...]
H A DWorkingMessage.java766 // Make sure our working set of recipients is resolved
777 * Resolve the temporary working set of recipients to a ContactList.
781 ContactList recipients = ContactList.getByNumbers(mWorkingRecipients, false);
782 mConversation.setRecipients(recipients); // resets the threadId to zero
783 setHasMultipleRecipients(recipients.size() > 1, true);
793 ContactList recipients = ContactList.getByNumbers(mWorkingRecipients, false);
794 return recipients.serialize();
984 * Update the temporary list of recipients, used when setting up a
1056 * Set whether this message will be sent to multiple recipients. This is a hint whether the
1058 * the fact that the message is sent to multiple recipients i
[all...]
/packages/apps/Mms/tests/src/com/android/mms/
H A DRecyclerTest.java47 * example: adb push ~/recipients /data/data/com.android.mms/files
55 * example: adb push ~/recipients /data/data/com.android.mms/files
106 // Read in list of recipients
109 Log.v(TAG, "Loading recipients");
110 FileInputStream recipients = context.openFileInput("recipients");
112 while ((c = recipients.read()) != -1) {
123 recipients.close();
124 Log.v(TAG, "Loaded recipients: " + mRecipients.size());
126 Log.e(TAG, "can't open recipients fil
[all...]
/packages/apps/Mms/tests/src/com/android/mms/ui/
H A DLongThreadTest.java48 * example: adb push ~/recipients /data/data/com.android.mms/files
110 // Read in list of recipients
113 Log.v(TAG, "Loading recipients");
114 FileInputStream recipients = mActivity.openFileInput("recipients");
116 while ((c = recipients.read()) != -1) {
127 recipients.close();
128 Log.v(TAG, "Loaded recipients: " + mRecipients.size());
130 Log.e(TAG, "can't open recipients file at /data/data/com.android.mms/files/recipients");
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContentObserver.java490 Set<String> recipients = new HashSet<String>();
491 recipients.addAll(Arrays.asList(address));
492 updateThreadIdMms(uri, Telephony.Threads.getOrCreateThreadId(mContext, recipients));
547 Set<String> recipients = new HashSet<String>();
548 recipients.addAll(Arrays.asList(address));
549 updateThreadIdSms(uri, Telephony.Threads.getOrCreateThreadId(mContext, recipients));
705 /* If multiple recipients return handle of last */
796 Set<String> recipients = new HashSet<String>();
797 recipients.addAll(Arrays.asList(to_address));
798 values.put("thread_id", Telephony.Threads.getOrCreateThreadId(mContext, recipients));
[all...]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsSmsProvider.java224 AUTHORITY, "conversations/#/recipients",
337 List<String> recipients = uri.getQueryParameters("recipient");
339 cursor = getThreadId(recipients);
620 * recipients IDs. If no thread exists with this ID, create
624 private synchronized Cursor getThreadId(List<String> recipients) { argument
625 Set<Long> addressIds = getAddressIds(recipients);
652 // Find the thread with the given recipients
656 // No thread with those recipients exists, so create the thread.
659 Log.d(LOG_TAG, "getThreadId: create new thread_id for recipients " +
660 /*recipients*/ "xxxxxxx
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageHeaderView.java731 public void append(String[] recipients, int headingRes) { argument
733 CharSequence recipientList = getSummaryTextForHeading(headingRes, recipients, addLimit);
743 mRecipientCount += Math.min(addLimit, recipients.length);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DComposeActivity.java557 // original sender and recipients if user switches "reply <-> reply-all".
1046 // all the message recipients and find one that matches
1056 * Compare all the recipients of an email to the current account and all
1271 // Setup recipients
1738 // Cc list is the union of the To and Cc recipients of the original
1854 // target the original recipients. This works as expected even
1865 private void addRecipients(final Set<String> recipients, final String[] addresses) { argument
1868 // the list of recipients.
1871 recipients.add(email.replace("\"\"", ""));
1974 * gets populated (attachments, recipients, bod
[all...]

Completed in 621 milliseconds