Home | History | Annotate | Download | only in list

Lines Matching defs:ContactListFilter

26 /** Manages {@link ContactListFilter}. All methods must be called from UI thread. */
45 public abstract ContactListFilter getFilter();
53 public abstract void setContactListFilter(ContactListFilter filter, boolean persistent);
60 * ContactListFilter#FILTER_TYPE_ACCOUNT} type, for example. It may also happen if the current
61 * filter is {@link ContactListFilter#FILTER_TYPE_SINGLE_CONTACT}, in which case, we should switch
73 * Stores the {@link ContactListFilter} selected by the user and saves it to {@link
81 private ContactListFilter mFilter;
85 mFilter = ContactListFilter.restoreDefaultPreferences(getSharedPreferences());
100 public ContactListFilter getFilter() {
109 public void setContactListFilter(ContactListFilter filter, boolean persistent) {
114 ContactListFilter filter, boolean persistent, boolean notifyListeners) {
118 ContactListFilter.storeToPreferences(getSharedPreferences(), mFilter);
129 ContactListFilter.createFilterWithType(ContactListFilter.FILTER_TYPE_CUSTOM), true);
145 case ContactListFilter.FILTER_TYPE_SINGLE_CONTACT:
147 ContactListFilter.restoreDefaultPreferences(getSharedPreferences()),
151 case ContactListFilter.FILTER_TYPE_ACCOUNT:
156 ContactListFilter.createFilterWithType(ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS),