Home
last modified time | relevance | path

Searched refs:presence (Results 1 – 14 of 14) sorted by relevance

/packages/apps/IM/src/com/android/im/engine/
DContact.java67 public void setPresence(Presence presence) { in setPresence() argument
68 mPresence = presence; in setPresence()
DImConnection.java256 protected abstract void doUpdateUserPresenceAsync(Presence presence); in doUpdateUserPresenceAsync() argument
/packages/apps/IM/src/com/android/im/imps/
DImpsConnection.java627 protected void doUpdateUserPresenceAsync(Presence presence) { in doUpdateUserPresenceAsync() argument
629 mUserPresence, presence, mConfig.getPresenceMapping()); in doUpdateUserPresenceAsync()
633 final Presence newPresence = new Presence(presence); in doUpdateUserPresenceAsync()
666 PrimitiveElement presence = response.getElement(ImpsTags.Presence); in retrieveUserPresenceAsync()
667 PrimitiveElement presenceSubList = presence.getChild(ImpsTags.PresenceSubList); in retrieveUserPresenceAsync()
707 private Primitive buildUpdatePresenceReq(PrimitiveElement presence) { in buildUpdatePresenceReq() argument
710 presences.add(presence); in buildUpdatePresenceReq()
722 for (PrimitiveElement presence : presences) { in buildUpdatePresenceReq()
723 presenceSubList.addChild(presence); in buildUpdatePresenceReq()
DPtsPrimitiveParser.java322 PrimitiveElement presence = new PrimitiveElement(ImpsTags.Presence); in translatePresence() local
326 presence.addChild(ImpsTags.UserID, valueGroup.get(0).mStrValue); in translatePresence()
330 presence.addChild(translatePresenceSubList(valueGroup.get(1))); in translatePresence()
333 return presence; in translatePresence()
DImpsContactListManager.java587 Presence presence = ImpsPresenceUtils.extractPresence(presenceSubList, presenceMapping); in extractAndNotifyPresence() local
592 contact.setPresence(presence); in extractAndNotifyPresence()
/packages/apps/IM/src/com/android/im/app/
DContactView.java114 int presence = cursor.getInt(COLUMN_CONTACT_PRESENCE_STATUS); in bind() local
125 iconId = PresenceUtils.getStatusIconId(presence); in bind()
198 line2 = brandingRes.getString(PresenceUtils.getStatusStringRes(presence)); in bind()
DChatSwitcher.java391 Drawable presence; in bindView() local
393 presence = brandingRes.getDrawable( in bindView()
396 presence = brandingRes.getDrawable( in bindView()
399 ImageView presenceView = (ImageView) view.findViewById(R.id.presence); in bindView()
400 presenceView.setImageDrawable(presence); in bindView()
/packages/apps/Mms/src/com/android/mms/util/
DContactInfoCache.java424 private int getPresenceIconResourceId(int presence) { in getPresenceIconResourceId() argument
425 if (presence != Contacts.People.OFFLINE) { in getPresenceIconResourceId()
426 return Contacts.Presence.getPresenceIconResourceId(presence); in getPresenceIconResourceId()
/packages/apps/IM/src/com/android/im/service/
DContactListManagerAdapter.java1038 private int translateClientType(Presence presence) { in translateClientType() argument
1039 int clientType = presence.getClientType(); in translateClientType()
1054 public static int convertPresenceStatus(Presence presence) { in convertPresenceStatus() argument
1055 switch (presence.getStatus()) { in convertPresenceStatus()
1073 Log.e(TAG, "Illegal presence status value " + presence.getStatus()); in convertPresenceStatus()
DChatSessionAdapter.java414 void insertPresenceUpdatesMsg(String contact, Presence presence) { in insertPresenceUpdatesMsg() argument
415 int status = presence.getStatus(); in insertPresenceUpdatesMsg()
/packages/apps/Mms/src/com/android/mms/ui/
DConversationHeaderView.java83 mPresenceView = (ImageView) findViewById(R.id.presence); in onFinishInflate()
/packages/apps/Contacts/src/com/android/contacts/
DViewContactActivity.java1020 ImageView presence = views.presenceIcon; in bindView() local
1022 presence.setImageDrawable(presenceIcon); in bindView()
1023 presence.setVisibility(View.VISIBLE); in bindView()
1025 presence.setVisibility(View.GONE); in bindView()
DContactsListActivity.java1774 cache.presenceView = (ImageView) view.findViewById(R.id.presence); in newView()
/packages/apps/Email/src/com/android/email/activity/
DMessageView.java366 mSenderPresenceView = (ImageView) findViewById(R.id.presence); in onCreate()
655 case R.id.presence: in onClick()