Home | History | Annotate | Download | only in list

Lines Matching defs:filterType

54     public final int filterType;
61 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet,
63 this.filterType = filterType;
70 public static ContactListFilter createFilterWithType(int filterType) {
71 return new ContactListFilter(filterType, null, null, null, null);
84 return filterType == FILTER_TYPE_ACCOUNT;
89 switch (filterType) {
121 return filterType - another.filterType;
126 int code = filterType;
148 if (filterType != otherFilter.filterType
164 if (filter != null && filter.filterType == FILTER_TYPE_SINGLE_CONTACT) {
168 .putInt(KEY_FILTER_TYPE, filter == null ? FILTER_TYPE_DEFAULT : filter.filterType)
186 if (filter.filterType == FILTER_TYPE_GROUP ||
187 filter.filterType == FILTER_TYPE_SINGLE_CONTACT) {
194 int filterType = prefs.getInt(KEY_FILTER_TYPE, FILTER_TYPE_DEFAULT);
195 if (filterType == FILTER_TYPE_DEFAULT) {
202 return new ContactListFilter(filterType, accountType, accountName, dataSet, null);
208 dest.writeInt(filterType);
218 int filterType = source.readInt();
222 return new ContactListFilter(filterType, accountType, accountName, dataSet, null);
242 sb.append(filterType);
263 if (filterType != FILTER_TYPE_ACCOUNT) {
264 throw new IllegalStateException("filterType must be FILTER_TYPE_ACCOUNT");
276 builder.append("[filter type: " + filterType + " (" + filterTypeToString(filterType) + ")");
277 if (filterType == FILTER_TYPE_ACCOUNT) {
286 public static final String filterTypeToString(int filterType) {
287 switch (filterType) {