Home | History | Annotate | Download | only in ui

Lines Matching refs:contact

123 import com.android.mms.data.Contact;
158 MessageStatusListener, Contact.UpdateListener {
265 private Intent mAddContactIntent; // Intent used to add a new contact
625 Contact c = ((RecipientContextMenuInfo) menuInfo).recipient;
642 private final Contact mRecipient;
644 RecipientsMenuClickListener(Contact recipient) {
670 private boolean canAddToContacts(Contact contact) {
673 final String name = contact.getName();
674 if (!TextUtils.isEmpty(contact.getNumber())) {
675 char c = contact.getNumber().charAt(0);
687 MessageUtils.isLocalNumber(contact.getNumber()))) { // Handle "Me"
857 return Contact.get(phoneNumber, false).existsInDatabase();
1909 // Update the fasttrack info in case any of the recipients' contact info changed
1911 // an avatar associated with a contact.
1962 //Contact.startPresenceObserver();
1989 //Contact.stopPresenceObserver();
2260 // Only add the "View contact" menu item when there's a single recipient and that
2308 // Look for the first recipient we don't have a contact for and create a menu item to
2310 for (Contact c : getRecipients()) {
2362 // View the contact for the first (and only) recipient.
2566 // The user just added a new contact. We saved the contact info in
2567 // mAddContactIntent. Get the contact and force our cached contact to
2568 // get reloaded with the new info (such as contact name). After the
2569 // contact is reloaded, the function onUpdate() in this file will get called
2579 Contact contact = Contact.get(address, false);
2580 if (contact != null) {
2581 contact.reload();
3451 public void onUpdate(final Contact updated) {
3458 log("[CMA] onUpdate contact updated: " + updated);
3463 // The contact information for one (or more) of the recipients has changed.
3464 // Rebuild the message list so each MessageItem will get the last contact info.
3475 Contact.addListener(this);
3479 Contact.removeListener(this);