Lines Matching refs:attendee
19 import com.android.calendar.CalendarEventModel.Attendee;
168 * Inflates a layout for a given attendee view and set up each element in it, and returns
181 final Attendee attendee = item.mAttendee;
184 nameView.setText(TextUtils.isEmpty(attendee.mName) ? attendee.mEmail : attendee.mName);
242 public boolean contains(Attendee attendee) {
250 if (TextUtils.equals(attendee.mEmail, attendeeItem.mAttendee.mEmail)) {
280 private void addOneAttendee(Attendee attendee) {
281 if (contains(attendee)) {
284 final AttendeeItem item = new AttendeeItem(attendee, mDefaultBadge);
285 final int status = attendee.mStatus;
353 if (attendee.mIdentity != null && attendee.mIdNamespace != null) {
358 selectionArgs = new String[] {Identity.CONTENT_ITEM_TYPE, attendee.mIdentity,
359 attendee.mIdNamespace};
362 uri = Uri.withAppendedPath(Email.CONTENT_LOOKUP_URI, Uri.encode(attendee.mEmail));
369 public void addAttendees(ArrayList<Attendee> attendees) {
371 for (final Attendee attendee : attendees) {
372 addOneAttendee(attendee);
377 public void addAttendees(HashMap<String, Attendee> attendees) {
379 for (final Attendee attendee : attendees.values()) {
380 addOneAttendee(attendee);
390 final Attendee attendee = new Attendee(address.getName(), address.getAddress());
391 if (TextUtils.isEmpty(attendee.mName)) {
392 attendee.mName = attendee.mEmail;
394 addOneAttendee(attendee);
400 * Returns true when the attendee at that index is marked as "removed" (the name of
401 * the attendee is shown with a strike through line).
471 public Attendee getItem(int index) {