HomeSort by relevance Sort by last modified time
    Searched refs:ContactListFilter (Results 1 - 14 of 14) sorted by null

  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListFilterController.java 29 * Manages {@link ContactListFilter}. All methods must be called from UI thread.
55 public abstract ContactListFilter getFilter();
63 public abstract void setContactListFilter(ContactListFilter filter, boolean persistent);
70 * {@link ContactListFilter#FILTER_TYPE_ACCOUNT} type, for example. It may also happen if
71 * the current filter is {@link ContactListFilter#FILTER_TYPE_SINGLE_CONTACT}, in
78 * Stores the {@link ContactListFilter} selected by the user and saves it to
85 private ContactListFilter mFilter;
89 mFilter = ContactListFilter.restoreDefaultPreferences(getSharedPreferences());
104 public ContactListFilter getFilter() {
113 public void setContactListFilter(ContactListFilter filter, boolean persistent)
    [all...]
AccountFilterActivity.java 56 public static final String KEY_EXTRA_CONTACT_LIST_FILTER = "contactListFilter";
63 private ContactListFilter mCurrentFilter;
87 private static class FilterLoader extends AsyncTaskLoader<List<ContactListFilter>> {
96 public List<ContactListFilter> loadInBackground() {
116 private static List<ContactListFilter> loadAccountFilters(Context context) {
117 final ArrayList<ContactListFilter> result = Lists.newArrayList();
118 final ArrayList<ContactListFilter> accountFilters = Lists.newArrayList();
128 accountFilters.add(ContactListFilter.createAccountFilter(
133 result.add(ContactListFilter.createFilterWithType(
134 ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS))
    [all...]
ContactListFilter.java 30 public final class ContactListFilter implements Comparable<ContactListFilter>, Parcelable {
61 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet,
70 public static ContactListFilter createFilterWithType(int filterType) {
71 return new ContactListFilter(filterType, null, null, null, null);
74 public static ContactListFilter createAccountFilter(String accountType, String accountName,
76 return new ContactListFilter(ContactListFilter.FILTER_TYPE_ACCOUNT, accountType,
110 public int compareTo(ContactListFilter another) {
143 if (!(other instanceof ContactListFilter)) {
    [all...]
ContactListFilterView.java 44 private ContactListFilter mFilter;
55 public void setContactListFilter(ContactListFilter filter) {
59 public ContactListFilter getContactListFilter() {
101 case ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS: {
105 case ContactListFilter.FILTER_TYPE_STARRED: {
109 case ContactListFilter.FILTER_TYPE_CUSTOM: {
113 case ContactListFilter.FILTER_TYPE_WITH_PHONE_NUMBERS_ONLY: {
117 case ContactListFilter.FILTER_TYPE_SINGLE_CONTACT: {
121 case ContactListFilter.FILTER_TYPE_ACCOUNT: {
DefaultContactListAdapter.java 110 final ContactListFilter filter = getFilter();
143 protected void configureUri(CursorLoader loader, long directoryId, ContactListFilter filter) {
145 if (filter != null && filter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) {
160 && filter.filterType != ContactListFilter.FILTER_TYPE_CUSTOM
161 && filter.filterType != ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) {
165 if (filter.filterType == ContactListFilter.FILTER_TYPE_ACCOUNT) {
175 CursorLoader loader, long directoryId, ContactListFilter filter) {
188 case ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS: {
193 case ContactListFilter.FILTER_TYPE_SINGLE_CONTACT: {
198 case ContactListFilter.FILTER_TYPE_STARRED:
    [all...]
PhoneNumberPickerFragment.java 53 private ContactListFilter mFilter;
142 final ContactListFilter filter = getFilter();
345 public ContactListFilter getFilter() {
349 public void setFilter(ContactListFilter filter) {
PhoneNumberListAdapter.java 288 ContactListFilter filter) {
297 case ContactListFilter.FILTER_TYPE_CUSTOM: {
302 case ContactListFilter.FILTER_TYPE_ACCOUNT: {
306 case ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS:
307 case ContactListFilter.FILTER_TYPE_DEFAULT:
309 case ContactListFilter.FILTER_TYPE_WITH_PHONE_NUMBERS_ONLY:
ContactEntryListAdapter.java 97 private ContactListFilter mFilter;
719 public ContactListFilter getFilter() {
723 public void setFilter(ContactListFilter filter) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
AccountFilterUtil.java 29 import com.android.contacts.common.list.ContactListFilter;
47 ContactListFilter filter, boolean showTitleForAllAccounts) {
52 * Similar to {@link #updateAccountFilterTitleForPeople(View, ContactListFilter, boolean,
56 ContactListFilter filter, boolean showTitleForAllAccounts) {
62 ContactListFilter filter, boolean showTitleForAllAccounts,
71 if (filter.filterType == ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS) {
76 } else if (filter.filterType == ContactListFilter.FILTER_TYPE_ACCOUNT) {
80 } else if (filter.filterType == ContactListFilter.FILTER_TYPE_CUSTOM) {
87 if (filter.filterType == ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS) {
92 } else if (filter.filterType == ContactListFilter.FILTER_TYPE_ACCOUNT)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactBrowseListFragment.java 41 import com.android.contacts.common.list.ContactListFilter;
95 private ContactListFilter mFilter;
197 public void setFilter(ContactListFilter filter) {
201 public void setFilter(ContactListFilter filter, boolean restoreSelectedUri) {
222 public ContactListFilter getFilter() {
398 || mFilter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) {
487 && (mFilter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT
488 || mFilter.filterType == ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS)) {
496 && mFilter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) {
627 ContactListFilter.storeToPreferences(mPrefs, mFilter)
    [all...]
ContactPickerFragment.java 30 import com.android.contacts.common.list.ContactListFilter;
167 adapter.setFilter(ContactListFilter.createFilterWithType(
168 ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS));
DefaultContactBrowseListFragment.java 37 import com.android.contacts.common.list.ContactListFilter;
161 public void setFilter(ContactListFilter filter) {
170 final ContactListFilter filter = getFilter();
  /packages/apps/Dialer/src/com/android/dialer/list/
AllContactsFragment.java 40 import com.android.contacts.common.list.ContactListFilter;
141 adapter.setFilter(ContactListFilter.createFilterWithType(
142 ContactListFilter.FILTER_TYPE_DEFAULT));
  /packages/apps/Contacts/src/com/android/contacts/activities/
PeopleActivity.java 65 import com.android.contacts.common.list.ContactListFilter;
460 ContactListFilter filter = null;
466 filter = ContactListFilter.createFilterWithType(
467 ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS);
471 filter = ContactListFilter.createFilterWithType(
472 ContactListFilter.FILTER_TYPE_WITH_PHONE_NUMBERS_ONLY);
    [all...]

Completed in 410 milliseconds