/external/chromium/third_party/libjingle/source/talk/examples/call/ |
friendinvitesendtask.cc | 38 // Need to first add to roster, then subscribe to presence. 49 // Subscribe to presence 50 XmlElement* presence = new XmlElement(QN_PRESENCE); local 51 presence->AddAttr(QN_TO, user.Str()); 52 presence->AddAttr(QN_TYPE, STR_SUBSCRIBE); 58 presence->AddElement(invitation); 59 QueueStanza(presence);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
GlobalSearchSupport.java | 66 "(SELECT " + StatusUpdates.PRESENCE + 74 int presence = -1; field in class:GlobalSearchSupport.SearchSuggestion 94 if (presence != -1) { 95 icon2 = String.valueOf(StatusUpdates.getPresenceIconResourceId(presence)); 152 presence = -1; 259 suggestion.presence = c.isNull(4) ? -1 : c.getInt(4);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 180 mPresenceView = (ImageView) findViewById(R.id.presence); 321 * Manually set the presence. 323 public void setPresence(int presence) { 324 mPresenceView.setImageResource(StatusUpdates.getPresenceIconResourceId(presence)); 328 * Manually set the presence. If presence is null, it is hidden. 332 public void setPresence(Integer presence) { 333 if (presence == null) { 337 setPresence(presence.intValue()); 342 * Turn on/off showing the presence 646 int presence = c.getInt(ContactQuery.CONTACT_PRESENCE_STATUS); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactTileAdapter.java | 274 // Set presence icon and status message 276 int presence = 0; local 278 presence = cursor.getInt(mPresenceIndex); 279 icon = ContactPresenceIconUtil.getPresenceIcon(mContext, presence); 287 // If there is no status message from the contact, but there was a presence value, 289 if (statusMessage == null && presence != 0) { 290 statusMessage = ContactStatusUtil.getStatusString(mContext, presence);
|
ContactListItemView.java | 55 * icons for presence and call. 60 * to the left of the photo, the text lines are aligned to the left and the presence icon (if 375 // Status view height is the biggest of the text view and the presence icon 384 // Presence and status are in a same row, so status will be affected by icon size. 516 // Layout all text view and presence icon 526 // Presence and status 1100 int presence = 0; local [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 431 // 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/Contacts/src/com/android/contacts/model/ |
ContactLoader.java | 173 Data.PRESENCE, 245 public static final int PRESENCE = 54; 392 if (!cursor.isNull(ContactQuery.PRESENCE) 511 final Integer presence = cursor.isNull(ContactQuery.CONTACT_PRESENCE) local 528 altDisplayName, phoneticName, starred, presence, sendToVoicemail, [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailFragment.java | 428 // The presence of a static photo container is not sufficient to determine whether or 642 // Apply presence when available 1201 public int presence = -1; field in class:ContactDetailFragment.DetailViewEntry [all...] |