Searched defs:presence (Results 1 - 10 of 10) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactStatusUtil.java30 public static String getStatusString(Context context, int presence) { argument
32 switch (presence) {
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java238 public void setPresence(int presence) { argument
239 mPresence = presence;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DGlobalSearchSupport.java75 int presence = -1; field in class:GlobalSearchSupport.SearchSuggestion
95 if (presence != -1) {
96 icon2 = String.valueOf(StatusUpdates.getPresenceIconResourceId(presence));
153 presence = -1;
262 suggestion.presence = c.isNull(4) ? -1 : c.getInt(4);
/packages/experimental/LoaderApp/src/com/android/loaderapp/
H A DContactHeaderWidget.java180 mPresenceView = (ImageView) findViewById(R.id.presence);
321 * Manually set the presence.
323 public void setPresence(int presence) { argument
324 mPresenceView.setImageResource(StatusUpdates.getPresenceIconResourceId(presence));
328 * Manually set the presence. If presence is null, it is hidden.
332 public void setPresence(Integer presence) { argument
333 if (presence == null) {
337 setPresence(presence.intValue());
342 * Turn on/off showing the presence
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactFragment.java431 // Apply presence and status details when available
540 public int presence = -1; field in class:ContactFragment.ViewEntry
576 * and {@link #footerLine}. Otherwise only {@link #presence}
580 presence = status.getPresence();
606 // Choose the presence with the highest precedence.
607 if (StatusUpdates.getPresencePrecedence(presence)
608 < StatusUpdates.getPresencePrecedence(entry.presence)) {
609 presence = entry.presence;
758 // Set the presence ico
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContact.java141 boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone,
161 mPresence = presence;
138 Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, long id, long nameRawContactId, int displayNameSource, long photoId, String photoUri, String displayName, String altDisplayName, String phoneticName, boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone, boolean isUserProfile) argument
/packages/apps/Mms/src/com/android/mms/data/
H A DContact.java66 log("presence changed, invalidate cache");
684 Log.d(TAG, "presence changed");
925 + contact.mNumber + ", presence=" + contact.mPresenceResId
999 private int getPresenceIconResourceId(int presence) { argument
1001 if (presence != Presence.OFFLINE) {
1002 return Presence.getPresenceIconResourceId(presence);
1042 ", email=" + email + ", presence=" +
1136 // info, particularly their presence.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java383 int presence, String status, int chatMode) {
384 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, chatMode,
389 int presence, String status, int chatMode, boolean isUserProfile) {
390 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, 0, chatMode,
395 int presence, String status, long timestamp, int chatMode, boolean isUserProfile) {
400 return insertStatusUpdate(values, presence, status, timestamp, chatMode, isUserProfile);
404 long dataId, int presence, String status, long timestamp, int chatMode) {
405 return insertStatusUpdate(dataId, presence, status, timestamp, chatMode, false);
409 long dataId, int presence, String status, long timestamp, int chatMode,
413 return insertStatusUpdate(values, presence, statu
382 insertStatusUpdate(int protocol, String customProtocol, String handle, int presence, String status, int chatMode) argument
388 insertStatusUpdate(int protocol, String customProtocol, String handle, int presence, String status, int chatMode, boolean isUserProfile) argument
394 insertStatusUpdate(int protocol, String customProtocol, String handle, int presence, String status, long timestamp, int chatMode, boolean isUserProfile) argument
403 insertStatusUpdate( long dataId, int presence, String status, long timestamp, int chatMode) argument
408 insertStatusUpdate( long dataId, int presence, String status, long timestamp, int chatMode, boolean isUserProfile) argument
416 insertStatusUpdate( ContentValues values, int presence, String status, long timestamp, int chatMode, boolean isUserProfile) argument
[all...]
H A DContactsProvider2Test.java4190 // presence
4203 // i.e., no rows in presence table are to be updated.
4212 // make sure the presence column value is still the old value
4216 // update status_updates table to set new values for columns in presence table ONLY
4230 // presence set to null
4286 private void assertStatusUpdate(Cursor c, int protocol, String customProtocol, int presence, argument
4291 values.put(StatusUpdates.PRESENCE, presence);
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailFragment.java417 // The presence of a static photo container is not sufficient to determine whether or
645 // Apply presence when available
1224 public int presence = -1; field in class:ContactDetailFragment.DetailViewEntry
1247 .add("presence", presence)
1300 public void setPresence(int presence) { argument
1301 this.presence = presence;
1325 // Choose the presence with the highest precedence.
1326 if (StatusUpdates.getPresencePrecedence(presence)
[all...]

Completed in 283 milliseconds