Home | History | Annotate | Download | only in ui

Lines Matching refs:CONTACT

39 import com.android.mms.data.Contact;
46 public class ConversationListItem extends RelativeLayout implements Contact.UpdateListener,
142 Contact contact = mConversation.getRecipients().get(0);
143 avatarDrawable = contact.getAvatar(mContext, sDefaultContactImage);
145 if (contact.existsInDatabase()) {
146 mAvatarView.assignContactUri(contact.getUri());
148 mAvatarView.assignContactFromPhone(contact.getNumber(), true);
164 public void onUpdate(Contact updated) {
165 if (Log.isLoggable(LogTag.CONTACT, Log.DEBUG)) {
166 Log.v(TAG, "onUpdate: " + this + " contact: " + updated);
205 if (Log.isLoggable(LogTag.CONTACT, Log.DEBUG)) {
208 Contact.addListener(this);
237 if (Log.isLoggable(LogTag.CONTACT, Log.DEBUG)) {
240 // Unregister contact update callbacks.
241 Contact.removeListener(this);