Search in sources :

Example 16 with ContactListItemView

use of com.android.contacts.common.list.ContactListItemView in project packages_apps_Contacts by AOKP.

the class LegacyContactListAdapter method newView.

@Override
protected ContactListItemView newView(Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
    final ContactListItemView view = new ContactListItemView(context, null);
    view.setUnknownNameText(mUnknownNameText);
    return view;
}
Also used : ContactListItemView(com.android.contacts.common.list.ContactListItemView)

Example 17 with ContactListItemView

use of com.android.contacts.common.list.ContactListItemView in project packages_apps_Contacts by AOKP.

the class LegacyPostalAddressListAdapter method newView.

@Override
protected ContactListItemView newView(Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
    final ContactListItemView view = new ContactListItemView(context, null);
    view.setUnknownNameText(mUnknownNameText);
    return view;
}
Also used : ContactListItemView(com.android.contacts.common.list.ContactListItemView)

Example 18 with ContactListItemView

use of com.android.contacts.common.list.ContactListItemView in project packages_apps_Contacts by AOKP.

the class LegacyPostalAddressListAdapter method bindView.

@Override
protected void bindView(View itemView, int partition, Cursor cursor, int position) {
    super.bindView(itemView, partition, cursor, position);
    ContactListItemView view = (ContactListItemView) itemView;
    bindName(view, cursor);
    bindViewId(view, cursor, POSTAL_ID_COLUMN_INDEX);
    bindPostalAddress(view, cursor);
}
Also used : ContactListItemView(com.android.contacts.common.list.ContactListItemView)

Example 19 with ContactListItemView

use of com.android.contacts.common.list.ContactListItemView in project packages_apps_Contacts by AOKP.

the class MultiSelectEntryContactListAdapter method bindView.

@Override
protected void bindView(View itemView, int partition, Cursor cursor, int position) {
    super.bindView(itemView, partition, cursor, position);
    final ContactListItemView view = (ContactListItemView) itemView;
    bindCheckBox(view, cursor, position, partition == ContactsContract.Directory.DEFAULT);
}
Also used : ContactListItemView(com.android.contacts.common.list.ContactListItemView)

Aggregations

ContactListItemView (com.android.contacts.common.list.ContactListItemView)19 DuplicatesUtils (com.android.contacts.util.DuplicatesUtils)1 FilteredNumberAsyncQueryHandler (com.android.dialer.blocking.FilteredNumberAsyncQueryHandler)1 FilteredNumberAsyncQueryHandler (com.android.dialer.database.FilteredNumberAsyncQueryHandler)1