OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ContactListFilter
(Results
1 - 5
of
5
) 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;
83
private static class FilterLoader extends AsyncTaskLoader<List<
ContactListFilter
>> {
92
public List<
ContactListFilter
> loadInBackground() {
112
private static List<
ContactListFilter
> loadAccountFilters(Context context) {
113
final ArrayList<
ContactListFilter
> result = Lists.newArrayList();
114
final ArrayList<
ContactListFilter
> accountFilters = Lists.newArrayList();
124
accountFilters.add(
ContactListFilter
.createAccountFilter(
129
result.add(
ContactListFilter
.createFilterWithType(
130
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
...]
/packages/apps/Contacts/src/com/android/contacts/list/
ContactPickerFragment.java
30
import com.android.contacts.common.list.
ContactListFilter
;
156
adapter.setFilter(
ContactListFilter
.createFilterWithType(
157
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS));
ContactBrowseListFragment.java
41
import com.android.contacts.common.list.
ContactListFilter
;
95
private
ContactListFilter
mFilter;
194
public void setFilter(
ContactListFilter
filter) {
198
public void setFilter(
ContactListFilter
filter, boolean restoreSelectedUri) {
219
public
ContactListFilter
getFilter() {
395
|| mFilter.filterType ==
ContactListFilter
.FILTER_TYPE_SINGLE_CONTACT) {
484
&& (mFilter.filterType ==
ContactListFilter
.FILTER_TYPE_SINGLE_CONTACT
485
|| mFilter.filterType ==
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS)) {
493
&& mFilter.filterType ==
ContactListFilter
.FILTER_TYPE_SINGLE_CONTACT) {
640
ContactListFilter
.storeToPreferences(mPrefs, mFilter)
[
all
...]
Completed in 359 milliseconds