/packages/apps/IM/src/com/android/im/engine/ |
D | Contact.java | 67 public void setPresence(Presence presence) { in setPresence() argument 68 mPresence = presence; in setPresence()
|
D | ImConnection.java | 256 protected abstract void doUpdateUserPresenceAsync(Presence presence); in doUpdateUserPresenceAsync() argument
|
/packages/apps/IM/src/com/android/im/imps/ |
D | ImpsConnection.java | 627 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()
|
D | PtsPrimitiveParser.java | 322 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()
|
D | ImpsContactListManager.java | 588 Presence presence = ImpsPresenceUtils.extractPresence(presenceSubList, presenceMapping); in extractAndNotifyPresence() local 593 contact.setPresence(presence); in extractAndNotifyPresence()
|
/packages/apps/IM/src/com/android/im/app/ |
D | ContactView.java | 114 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()
|
D | ChatSwitcher.java | 391 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/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | GlobalSearchSupport.java | 131 int presence = -1; field in GlobalSearchSupport.SearchSuggestion 170 if (presence != -1) { in process() 171 icon2 = String.valueOf(StatusUpdates.getPresenceIconResourceId(presence)); in process() 330 suggestion.presence = c.getInt(SearchSuggestionQuery.PRESENCE_STATUS); in buildCursorForSearchSuggestions()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ViewContactActivity.java | 951 public int presence = -1; field in ViewContactActivity.ViewEntry 992 presence = status.getPresence(); in applyStatus() 993 presenceIcon = (presence == -1) ? -1 : in applyStatus() 994 StatusUpdates.getPresenceIconResourceId(this.presence); in applyStatus() 1022 if (StatusUpdates.getPresencePrecedence(presence) in collapseWith() 1023 < StatusUpdates.getPresencePrecedence(entry.presence)) { in collapseWith() 1024 presence = entry.presence; in collapseWith() 1205 } else if (entry.presence != -1) { in bindView() 1207 StatusUpdates.getPresenceIconResourceId(entry.presence)); in bindView()
|
D | ContactsListActivity.java | 2417 cache.presenceView = (ImageView) view.findViewById(R.id.presence); in newView()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | ContactInfoCache.java | 455 private int getPresenceIconResourceId(int presence) { in getPresenceIconResourceId() argument 456 if (presence != Presence.OFFLINE) { in getPresenceIconResourceId() 457 return Presence.getPresenceIconResourceId(presence); in getPresenceIconResourceId()
|
/packages/apps/IM/src/com/android/im/service/ |
D | ContactListManagerAdapter.java | 1037 private int translateClientType(Presence presence) { in translateClientType() argument 1038 int clientType = presence.getClientType(); in translateClientType() 1053 public static int convertPresenceStatus(Presence presence) { in convertPresenceStatus() argument 1054 switch (presence.getStatus()) { in convertPresenceStatus() 1072 Log.e(TAG, "Illegal presence status value " + presence.getStatus()); in convertPresenceStatus()
|
D | ChatSessionAdapter.java | 409 void insertPresenceUpdatesMsg(String contact, Presence presence) { in insertPresenceUpdatesMsg() argument 410 int status = presence.getStatus(); in insertPresenceUpdatesMsg()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 300 int presence, String status) { in insertStatusUpdate() argument 301 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, 0); in insertStatusUpdate() 305 int presence, String status, long timestamp) { in insertStatusUpdate() argument 310 if (presence != 0) { in insertStatusUpdate() 311 values.put(StatusUpdates.PRESENCE, presence); in insertStatusUpdate()
|
D | ContactsProvider2Test.java | 923 private void assertStatusUpdate(Cursor c, int protocol, String customProtocol, int presence, in assertStatusUpdate() argument 928 values.put(StatusUpdates.PRESENCE_STATUS, presence); in assertStatusUpdate()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoActivity.java | 238 ImageView presence; field in EventInfoActivity.ViewHolder 942 vh.presence = (ImageView) v.findViewById(R.id.presence); in addAttendeesToLayout() 992 ImageView presenceView = vh.presence; in onQueryComplete()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ConversationHeaderView.java | 95 mPresenceView = (ImageView) findViewById(R.id.presence); in onFinishInflate()
|
/packages/apps/Contacts/src/com/android/contacts/ui/ |
D | QuickContactWindow.java | 322 setHeaderImage(R.id.presence, null); in show() 1148 final int presence = cursor.getInt(DataQuery.CONTACT_PRESENCE); in handleData() local 1149 final Drawable statusIcon = getPresenceIcon(presence); in handleData() 1152 setHeaderImage(R.id.presence, statusIcon); in handleData()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageView.java | 333 mSenderPresenceView = (ImageView) findViewById(R.id.presence); in onCreate() 682 case R.id.presence: in onClick()
|