Home
last modified time | relevance | path

Searched refs:ContactListItemView (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Contacts/tests/src/com/android/contacts/list/
DContactListItemViewTest.java56 ContactListItemView view = createView(); in testShowDisplayName_Simple()
65 ContactListItemView view = createView(); in testShowDisplayName_Unknown()
75 ContactListItemView view = createView(); in testShowDisplayName_WithPrefix()
90 ContactListItemView view = createView(); in testShowDisplayName_WithPrefixReversed()
101 ContactListItemView view = createView(); in testSetSnippet_Prefix()
112 private ContactListItemView createView() { in createView()
113 ContactListItemView view = new ContactListItemView(getContext()); in createView()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactListItemViewTest.java36 public class ContactListItemViewTest extends ViewTest<ContactListItemView> {
38 @Mock ContactListItemView.HostInterface mockHost;
49 final ContactListItemView view) { in verifyAddedContactForData()
54 final ContactListItemView view, in verifyContent()
78 final ContactListItemView view = getView(); in testBindFirstLevel()
89 final ContactListItemView view = getView(); in testBindSecondLevel()
100 final ContactListItemView view = getView(); in testClickAddedContact()
110 final ContactListItemView view = getView(); in testBindTwice()
DContactPickerFragmentTest.java184 final ContactListItemView cliv = (ContactListItemView) listView.getChildAt(0); in testPickInitialContact()
217 final ContactListItemView cliv = (ContactListItemView) listView.getChildAt(0); in testPickMoreContacts()
/packages/apps/Contacts/src/com/android/contacts/list/
DLegacyContactListAdapter.java73 protected ContactListItemView newView( in newView()
75 final ContactListItemView view = new ContactListItemView(context, null); in newView()
83 ContactListItemView view = (ContactListItemView)itemView; in bindView()
89 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
95 protected void bindPresence(final ContactListItemView view, Cursor cursor) { in bindPresence()
DPostalAddressListAdapter.java113 protected ContactListItemView newView( in newView()
115 ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView()
125 ContactListItemView view = (ContactListItemView)itemView; in bindView()
133 protected void bindPostalAddress(ContactListItemView view, Cursor cursor) { in bindPostalAddress()
146 protected void bindSectionHeaderAndDivider(final ContactListItemView view, int position) { in bindSectionHeaderAndDivider()
156 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
160 protected void bindPhoto(final ContactListItemView view, Cursor cursor) { in bindPhoto()
DPhoneNumberListAdapter.java161 private ContactListItemView.PhotoPosition mPhotoPosition;
374 protected ContactListItemView newView( in newView()
376 ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView()
383 protected void setHighlight(ContactListItemView view, Cursor cursor) { in setHighlight()
410 ContactListItemView view = (ContactListItemView)itemView; in bindView()
466 protected void bindPhoneNumber(ContactListItemView view, Cursor cursor, boolean displayNumber, in bindPhoneNumber()
503 protected void bindSectionHeaderAndDivider(final ContactListItemView view, int position) { in bindSectionHeaderAndDivider()
512 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
517 protected void unbindName(final ContactListItemView view) { in unbindName()
522 protected void bindWorkProfileIcon(final ContactListItemView view, int partition) { in bindWorkProfileIcon()
[all …]
DLegacyPostalAddressListAdapter.java78 protected ContactListItemView newView( in newView()
80 final ContactListItemView view = new ContactListItemView(context, null); in newView()
88 ContactListItemView view = (ContactListItemView)itemView; in bindView()
94 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
100 protected void bindPostalAddress(ContactListItemView view, Cursor cursor) { in bindPostalAddress()
DEmailAddressListAdapter.java123 protected ContactListItemView newView( in newView()
125 ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView()
134 ContactListItemView view = (ContactListItemView)itemView; in bindView()
142 protected void bindEmailAddress(ContactListItemView view, Cursor cursor) { in bindEmailAddress()
155 protected void bindSectionHeaderAndDivider(final ContactListItemView view, int position) { in bindSectionHeaderAndDivider()
165 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
169 protected void bindPhoto(final ContactListItemView view, Cursor cursor) { in bindPhoto()
DContactListAdapter.java111 private ContactListItemView.PhotoPosition mPhotoPosition;
119 public void setPhotoPosition(ContactListItemView.PhotoPosition photoPosition) { in setPhotoPosition()
123 public ContactListItemView.PhotoPosition getPhotoPosition() { in getPhotoPosition()
220 protected ContactListItemView newView( in newView()
222 ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView()
233 protected void bindSectionHeaderAndDivider(ContactListItemView view, int position, in bindSectionHeaderAndDivider()
244 protected void bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) { in bindPhoto()
273 protected void bindNameAndViewId(final ContactListItemView view, Cursor cursor) { in bindNameAndViewId()
281 protected void bindPresenceAndStatusMessage(final ContactListItemView view, Cursor cursor) { in bindPresenceAndStatusMessage()
286 protected void bindSearchSnippet(final ContactListItemView view, Cursor cursor) { in bindSearchSnippet()
DLegacyPhoneNumberListAdapter.java77 protected ContactListItemView newView( in newView()
79 final ContactListItemView view = in newView()
88 ContactListItemView view = (ContactListItemView)itemView; in bindView()
94 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
99 protected void bindPhoneNumber(ContactListItemView view, Cursor cursor) { in bindPhoneNumber()
DMultiSelectPhoneNumbersListAdapter.java135 protected ContactListItemView newView( in newView()
137 … final ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView()
146 final ContactListItemView view = (ContactListItemView)itemView; in bindView()
171 protected void unbindName(final ContactListItemView view) { in unbindName()
175 protected void bindPhoneNumber(ContactListItemView view, Cursor cursor) { in bindPhoneNumber()
188 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
DMultiSelectEmailAddressesListAdapter.java135 protected ContactListItemView newView( in newView()
137 … final ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView()
146 final ContactListItemView view = (ContactListItemView)itemView; in bindView()
171 protected void unbindName(final ContactListItemView view) { in unbindName()
175 protected void bindEmailAddress(ContactListItemView view, Cursor cursor) { in bindEmailAddress()
188 protected void bindName(final ContactListItemView view, Cursor cursor) { in bindName()
DJoinContactListAdapter.java166 protected ContactListItemView newView( in newView()
185 final ContactListItemView view = (ContactListItemView) itemView; in bindView()
192 final ContactListItemView view = (ContactListItemView) itemView; in bindView()
DContactEntryListAdapter.java118 protected ContactListItemView newView( in newView()
120 final ContactListItemView view = new ContactListItemView(context, null); in newView()
128 final ContactListItemView view = (ContactListItemView) itemView; in bindView()
619 protected void bindWorkProfileIcon(final ContactListItemView view, int partitionId) { in bindWorkProfileIcon()
706 protected void bindQuickContact(final ContactListItemView view, int partitionIndex, in bindQuickContact()
749 protected void bindViewId(final ContactListItemView view, Cursor cursor, int idColumn) { in bindViewId()
DMultiSelectEntryContactListAdapter.java156 final ContactListItemView view = (ContactListItemView) itemView; in bindView()
167 protected void bindPhoto(final ContactListItemView view, final Cursor cursor, in bindPhoto()
179 private void bindCheckBox(ContactListItemView view, Cursor cursor, boolean isLocalDirectory) { in bindCheckBox()
DPhoneNumberPickerFragment.java55 private ContactListItemView.PhotoPosition mPhotoPosition =
56 ContactListItemView.getDefaultPhotoPosition(false /* normal/non opposite */);
282 public void setPhotoPosition(ContactListItemView.PhotoPosition photoPosition) { in setPhotoPosition()
DContactListPinnedHeaderView.java38 if (R.styleable.ContactListItemView == null) { in ContactListPinnedHeaderView()
41 TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.ContactListItemView); in ContactListPinnedHeaderView()
DHeaderEntryContactListAdapter.java60 final ContactListItemView itemView; in getView()
65 itemView = (ContactListItemView) convertView; in getView()
DContactListItemView.java84 public class ContactListItemView extends ViewGroup class
260 public ContactListItemView(Context context) { in ContactListItemView() method in ContactListItemView
268 public ContactListItemView(Context context, AttributeSet attrs, boolean supportVideoCallIcon) { in ContactListItemView() method in ContactListItemView
274 public ContactListItemView(Context context, AttributeSet attrs) { in ContactListItemView() method in ContactListItemView
279 if (R.styleable.ContactListItemView != null) { in ContactListItemView()
281 a = getContext().obtainStyledAttributes(attrs, R.styleable.ContactListItemView); in ContactListItemView()
DDefaultContactListAdapter.java235 final ContactListItemView view = (ContactListItemView)itemView; in bindView()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersAdapter.java31 import com.android.contacts.list.ContactListItemView;
138 protected ContactListItemView newView(Context context, int partition, Cursor cursor, in newView()
140 final ContactListItemView view = in newView()
149 final ContactListItemView view = (ContactListItemView) v; in bindView()
157 protected void bindSectionHeaderAndDivider(ContactListItemView view, int position) { in bindSectionHeaderAndDivider()
167 private void bindName(ContactListItemView view, Cursor cursor) { in bindName()
172 private void bindDeleteButton(final ContactListItemView view, int position) { in bindDeleteButton()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactDropdownLayouter.java44 private final ContactListItemView.HostInterface mClivHostInterface;
47 final ContactListItemView.HostInterface clivHostInterface) { in ContactDropdownLayouter()
49 mClivHostInterface = new ContactListItemView.HostInterface() { in ContactDropdownLayouter()
53 final ContactListItemView view) { in ContactDropdownLayouter()
100 Assert.isTrue(itemView instanceof ContactListItemView); in bindView()
101 final ContactListItemView contactListItemView = (ContactListItemView) itemView; in bindView()
DContactListAdapter.java31 private final ContactListItemView.HostInterface mClivHostInterface;
36 final ContactListItemView.HostInterface clivHostInterface, in ContactListAdapter()
46 Assert.isTrue(view instanceof ContactListItemView); in bindView()
47 final ContactListItemView contactListItemView = (ContactListItemView) view; in bindView()
DContactListItemView.java42 public class ContactListItemView extends LinearLayout implements OnClickListener { class
44 void onContactListItemClicked(ContactListItemData item, ContactListItemView view); in onContactListItemClicked()
60 public ContactListItemView(final Context context, final AttributeSet attrs) { in ContactListItemView() method in ContactListItemView
DContactRecipientPhotoManager.java44 private final ContactListItemView.HostInterface mClivHostInterface;
47 final ContactListItemView.HostInterface clivHostInterface) { in ContactRecipientPhotoManager()

12