OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ContactListFilter
(Results
1 - 14
of
14
) 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
...]
ContactListFilterView.java
43
private
ContactListFilter
mFilter;
54
public void setContactListFilter(
ContactListFilter
filter) {
58
public
ContactListFilter
getContactListFilter() {
95
case
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS: {
99
case
ContactListFilter
.FILTER_TYPE_STARRED: {
103
case
ContactListFilter
.FILTER_TYPE_CUSTOM: {
107
case
ContactListFilter
.FILTER_TYPE_WITH_PHONE_NUMBERS_ONLY: {
111
case
ContactListFilter
.FILTER_TYPE_SINGLE_CONTACT: {
115
case
ContactListFilter
.FILTER_TYPE_ACCOUNT: {
DefaultContactListAdapter.java
56
ContactListFilter
filter = getFilter();
98
protected void configureUri(CursorLoader loader, long directoryId,
ContactListFilter
filter) {
100
if (filter != null && filter.filterType ==
ContactListFilter
.FILTER_TYPE_SINGLE_CONTACT) {
115
&& filter.filterType !=
ContactListFilter
.FILTER_TYPE_CUSTOM
116
&& filter.filterType !=
ContactListFilter
.FILTER_TYPE_SINGLE_CONTACT) {
120
if (filter.filterType ==
ContactListFilter
.FILTER_TYPE_ACCOUNT) {
130
CursorLoader loader, long directoryId,
ContactListFilter
filter) {
143
case
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS: {
148
case
ContactListFilter
.FILTER_TYPE_SINGLE_CONTACT: {
153
case
ContactListFilter
.FILTER_TYPE_STARRED:
[
all
...]
PhoneNumberPickerFragment.java
50
private
ContactListFilter
mFilter;
129
final
ContactListFilter
filter = getFilter();
306
public
ContactListFilter
getFilter() {
310
public void setFilter(
ContactListFilter
filter) {
PhoneNumberListAdapter.java
227
ContactListFilter
filter) {
236
case
ContactListFilter
.FILTER_TYPE_CUSTOM: {
241
case
ContactListFilter
.FILTER_TYPE_ACCOUNT: {
245
case
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS:
246
case
ContactListFilter
.FILTER_TYPE_DEFAULT:
248
case
ContactListFilter
.FILTER_TYPE_WITH_PHONE_NUMBERS_ONLY:
ContactEntryListAdapter.java
93
private
ContactListFilter
mFilter;
696
public
ContactListFilter
getFilter() {
700
public void setFilter(
ContactListFilter
filter) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
AccountFilterUtil.java
29
import com.android.contacts.common.list.
ContactListFilter
;
47
ContactListFilter
filter, boolean showTitleForAllAccounts) {
52
* Similar to {@link #updateAccountFilterTitleForPeople(View,
ContactListFilter
, boolean,
56
ContactListFilter
filter, boolean showTitleForAllAccounts) {
62
ContactListFilter
filter, boolean showTitleForAllAccounts,
71
if (filter.filterType ==
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS) {
76
} else if (filter.filterType ==
ContactListFilter
.FILTER_TYPE_ACCOUNT) {
80
} else if (filter.filterType ==
ContactListFilter
.FILTER_TYPE_CUSTOM) {
87
if (filter.filterType ==
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS) {
92
} else if (filter.filterType ==
ContactListFilter
.FILTER_TYPE_ACCOUNT)
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/list/
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) {
624
ContactListFilter
.storeToPreferences(mPrefs, mFilter)
[
all
...]
ContactPickerFragment.java
30
import com.android.contacts.common.list.
ContactListFilter
;
161
adapter.setFilter(
ContactListFilter
.createFilterWithType(
162
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS));
DefaultContactBrowseListFragment.java
37
import com.android.contacts.common.list.
ContactListFilter
;
160
public void setFilter(
ContactListFilter
filter) {
169
final
ContactListFilter
filter = getFilter();
/packages/apps/Dialer/src/com/android/dialer/list/
AllContactsFragment.java
29
import com.android.contacts.common.list.
ContactListFilter
;
71
adapter.setFilter(
ContactListFilter
.createFilterWithType(
72
ContactListFilter
.FILTER_TYPE_DEFAULT));
/packages/apps/Contacts/src/com/android/contacts/activities/
PeopleActivity.java
58
import com.android.contacts.common.list.
ContactListFilter
;
446
ContactListFilter
filter = null;
452
filter =
ContactListFilter
.createFilterWithType(
453
ContactListFilter
.FILTER_TYPE_ALL_ACCOUNTS);
457
filter =
ContactListFilter
.createFilterWithType(
458
ContactListFilter
.FILTER_TYPE_WITH_PHONE_NUMBERS_ONLY);
[
all
...]
Completed in 1367 milliseconds