HomeSort by relevance Sort by last modified time
    Searched defs:Contact (Results 1 - 7 of 7) sorted by null

  /packages/apps/IM/src/com/android/im/engine/
Contact.java 23 public class Contact extends ImEntity implements Parcelable{
28 public Contact(Address address, String name) {
35 public Contact(Parcel source) {
54 return other instanceof Contact
55 && mAddress.equals(((Contact)other).mAddress);
63 * Set the presence of the Contact. Note that this method is public
81 public final static Parcelable.Creator<Contact> CREATOR = new Parcelable.Creator<Contact>() {
82 public Contact createFromParcel(Parcel source) {
83 return new Contact(source)
    [all...]
  /packages/apps/Mms/src/com/android/mms/
MmsApp.java 20 import com.android.mms.data.Contact;
55 Contact.init(this);
  /packages/apps/Mms/src/com/android/mms/data/
ContactList.java 9 import com.android.mms.data.Contact.UpdateListener;
13 public class ContactList extends ArrayList<Contact> {
20 list.add(Contact.get(number, canBlock));
32 Contact contact = Contact.get(number, canBlock); local
34 contact.setNumber(number);
36 list.add(contact);
44 * create the contact if it doesn't exist, and would inject the recipient id into the contact
50 Contact contact = Contact.get(entry.number, canBlock); local
    [all...]
Contact.java 36 public class Contact {
37 private static final String TAG = "Contact";
45 // log("contact changed, invalidate cache");
79 public void onUpdate(Contact updated);
83 * Make a basic contact object with a phone number.
85 private Contact(String number) {
128 public static Contact get(String number, boolean canBlock) {
138 // stale so the next time we're asked for a particular contact, we'll return that
139 // stale contact and at the same time, fire off an asyncUpdateContact to update
140 // that contact's info in the background. UI elements using the contact typicall
416 Contact contact = get(number); local
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
ConversationListItem.java 23 import com.android.mms.data.Contact;
52 public class ConversationListItem extends RelativeLayout implements Contact.UpdateListener {
159 Contact contact = ch.getContacts().get(0); local
160 avatarDrawable = contact.getAvatar(mContext, sDefaultContactImage);
162 if (contact.existsInDatabase()) {
163 mAvatarView.assignContactUri(contact.getUri());
165 mAvatarView.assignContactFromPhone(contact.getNumber(), true);
184 public void onUpdate(Contact updated) {
227 Contact.addListener(this)
    [all...]
ConversationList.java 22 import com.android.mms.data.Contact;
234 // we invalidate the contact cache here because we want to get updated presence
235 // and any contact changes. We don't invalidate the cache by observing presence and contact
242 Contact.invalidateCache();
415 Contact contact = conv.getRecipients().get(0); local
416 Intent intent = new Intent(Intent.ACTION_VIEW, contact.getUri());
ComposeMessageActivity.java 123 import com.android.mms.data.Contact;
158 MessageStatusListener, Contact.UpdateListener {
265 private Intent mAddContactIntent; // Intent used to add a new contact
619 Contact c = ((RecipientContextMenuInfo) menuInfo).recipient;
636 private final Contact mRecipient;
638 RecipientsMenuClickListener(Contact recipient) {
664 private boolean canAddToContacts(Contact contact) {
667 final String name = contact.getName();
668 if (!TextUtils.isEmpty(contact.getNumber()))
2557 Contact contact = Contact.get(address, false); local
    [all...]

Completed in 69 milliseconds