Lines Matching defs:filter
33 // singleton to cache the filter controller
53 * Return the currently-active filter.
58 * @param filter the filter
59 * @param persistent True when the given filter should be saved soon. False when the filter
63 public abstract void setContactListFilter(ContactListFilter filter, boolean persistent);
68 * Checks if the current filter is valid and reset the filter if not. It may happen when
69 * an account is removed while the filter points to the account with
71 * the current filter is {@link ContactListFilter#FILTER_TYPE_SINGLE_CONTACT}, in
72 * which case, we should switch to the last saved filter in {@link SharedPreferences}.
113 public void setContactListFilter(ContactListFilter filter, boolean persistent) {
114 setContactListFilter(filter, persistent, true);
117 private void setContactListFilter(ContactListFilter filter, boolean persistent,
119 if (!filter.equals(mFilter)) {
120 mFilter = filter;
156 // The current account filter points to invalid account. Use "all" filter
165 * @return true if the Account for the current filter exists.