/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactStatusUtil.java | 30 public static String getStatusString(Context context, int presence) { in getStatusString() argument 32 switch (presence) { in getStatusString()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 180 mPresenceView = (ImageView) findViewById(R.id.presence); in ContactHeaderWidget() 323 public void setPresence(int presence) { in setPresence() argument 324 mPresenceView.setImageResource(StatusUpdates.getPresenceIconResourceId(presence)); in setPresence() 332 public void setPresence(Integer presence) { in setPresence() argument 333 if (presence == null) { in setPresence() 337 setPresence(presence.intValue()); in setPresence() 646 int presence = c.getInt(ContactQuery.CONTACT_PRESENCE_STATUS); in bindContactInfo() local 647 setPresence(presence); in bindContactInfo()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | GlobalSearchSupport.java | 74 int presence = -1; field in GlobalSearchSupport.SearchSuggestion 94 if (presence != -1) { in asList() 95 icon2 = String.valueOf(StatusUpdates.getPresenceIconResourceId(presence)); in asList() 152 presence = -1; in reset() 259 suggestion.presence = c.isNull(4) ? -1 : c.getInt(4); in addSearchSuggestionsBasedOnFilter()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactTileAdapter.java | 276 int presence = 0; in createContactEntryFromCursor() local 278 presence = cursor.getInt(mPresenceIndex); in createContactEntryFromCursor() 279 icon = ContactPresenceIconUtil.getPresenceIcon(mContext, presence); in createContactEntryFromCursor() 289 if (statusMessage == null && presence != 0) { in createContactEntryFromCursor() 290 statusMessage = ContactStatusUtil.getStatusString(mContext, presence); in createContactEntryFromCursor()
|
D | ContactListItemView.java | 1100 int presence = 0; in showPresenceAndStatusMessage() local 1102 presence = cursor.getInt(presenceColumnIndex); in showPresenceAndStatusMessage() 1103 icon = ContactPresenceIconUtil.getPresenceIcon(getContext(), presence); in showPresenceAndStatusMessage() 1113 if (statusMessage == null && presence != 0) { in showPresenceAndStatusMessage() 1114 statusMessage = ContactStatusUtil.getStatusString(getContext(), presence); in showPresenceAndStatusMessage()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | ContactFragment.java | 540 public int presence = -1; field in ContactFragment.ViewEntry 580 presence = status.getPresence(); in applyStatus() 607 if (StatusUpdates.getPresencePrecedence(presence) in collapseWith() 608 < StatusUpdates.getPresencePrecedence(entry.presence)) { in collapseWith() 609 presence = entry.presence; in collapseWith() 760 mContext, entry.presence); in bindView()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 440 int presence, String status, int chatMode) { in insertStatusUpdate() argument 441 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, chatMode, in insertStatusUpdate() 446 int presence, String status, int chatMode, boolean isUserProfile) { in insertStatusUpdate() argument 447 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, 0, chatMode, in insertStatusUpdate() 452 int presence, String status, long timestamp, int chatMode, boolean isUserProfile) { in insertStatusUpdate() argument 457 return insertStatusUpdate(values, presence, status, timestamp, chatMode, isUserProfile); in insertStatusUpdate() 461 long dataId, int presence, String status, long timestamp, int chatMode) { in insertStatusUpdate() argument 462 return insertStatusUpdate(dataId, presence, status, timestamp, chatMode, false); in insertStatusUpdate() 466 long dataId, int presence, String status, long timestamp, int chatMode, in insertStatusUpdate() argument 470 return insertStatusUpdate(values, presence, status, timestamp, chatMode, isUserProfile); in insertStatusUpdate() [all …]
|
D | ContactsProvider2Test.java | 3897 private void assertStatusUpdate(Cursor c, int protocol, String customProtocol, int presence, in assertStatusUpdate() argument 3902 values.put(StatusUpdates.PRESENCE, presence); in assertStatusUpdate()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | DataAction.java | 231 public void setPresence(int presence) { in setPresence() argument 232 mPresence = presence; in setPresence()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | Contact.java | 143 boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone, in Contact() argument 164 mPresence = presence; in Contact()
|
D | ContactLoader.java | 511 final Integer presence = cursor.isNull(ContactQuery.CONTACT_PRESENCE) in loadContactHeaderData() local 528 altDisplayName, phoneticName, starred, presence, sendToVoicemail, in loadContactHeaderData()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailFragment.java | 1201 public int presence = -1; field in ContactDetailFragment.DetailViewEntry 1232 sb.append(" presence: " + presence + "\n"); in toString() 1285 public void setPresence(int presence) { in setPresence() argument 1286 this.presence = presence; in setPresence() 1316 if (StatusUpdates.getPresencePrecedence(presence) in collapseWith() 1317 < StatusUpdates.getPresencePrecedence(entry.presence)) { in collapseWith() 1318 presence = entry.presence; in collapseWith() 1684 mContext, entry.presence); in bindDetailView()
|
/packages/apps/Mms/src/com/android/mms/data/ |
D | Contact.java | 990 private int getPresenceIconResourceId(int presence) { in getPresenceIconResourceId() argument 992 if (presence != Presence.OFFLINE) { in getPresenceIconResourceId() 993 return Presence.getPresenceIconResourceId(presence); in getPresenceIconResourceId()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageViewFragmentBase.java | 296 mSenderPresenceView = (ImageView) UiUtilities.getView(view, R.id.presence); in onCreateView()
|