OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ContactListFilter
(Results
1 - 6
of
6
) 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
...]
/packages/apps/Contacts/src/com/android/contacts/list/
ContactPickerFragment.java
30
import com.android.contacts.common.list.
ContactListFilter
;
167
adapter.setFilter(
ContactListFilter
.createFilterWithType(
168
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS));
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
...]
/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));
Completed in 198 milliseconds