Home
last modified time | relevance | path

Searched refs:mFilter (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListFragment.java95 private ContactListFilter mFilter; field in ContactBrowseListFragment
202 if (mFilter == null && filter == null) { in setFilter()
206 if (mFilter != null && mFilter.equals(filter)) { in setFilter()
212 mFilter = filter; in setFilter()
223 return mFilter; in getFilter()
234 mFilter = savedState.getParcelable(KEY_FILTER); in restoreSavedState()
244 outState.putParcelable(KEY_FILTER, mFilter); in onSaveInstanceState()
395 if (!searchMode && mFilter != null) { in configureAdapter()
396 adapter.setFilter(mFilter); in configureAdapter()
398 || mFilter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) { in configureAdapter()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListFilterController.java85 private ContactListFilter mFilter; field in ContactListFilterControllerImpl
89 mFilter = ContactListFilter.restoreDefaultPreferences(getSharedPreferences()); in ContactListFilterControllerImpl()
105 return mFilter; in getFilter()
119 if (!filter.equals(mFilter)) { in setContactListFilter()
120 mFilter = filter; in setContactListFilter()
122 ContactListFilter.storeToPreferences(getSharedPreferences(), mFilter); in setContactListFilter() local
144 if (mFilter == null) { in checkFilterValidity()
148 switch (mFilter.filterType) { in checkFilterValidity()
170 mFilter.accountName, mFilter.accountType, mFilter.dataSet); in filterAccountExists()
DContactListFilterView.java43 private ContactListFilter mFilter; field in ContactListFilterView
55 mFilter = filter; in setContactListFilter()
59 return mFilter; in getContactListFilter()
88 if (mFilter == null) { in bindView()
94 switch (mFilter.filterType) { in bindView()
118 if (mFilter.icon != null) { in bindView()
119 mIcon.setImageDrawable(mFilter.icon); in bindView()
124 accountTypes.getAccountType(mFilter.accountType, mFilter.dataSet); in bindView()
125 mAccountUserName.setText(mFilter.accountName); in bindView()
DPhoneNumberPickerFragment.java54 private ContactListFilter mFilter; field in PhoneNumberPickerFragment
79 mFilter); in onClick()
158 mFilter = savedState.getParcelable(KEY_FILTER); in restoreSavedState()
165 outState.putParcelable(KEY_FILTER, mFilter); in onSaveInstanceState()
271 if (!isSearchMode() && mFilter != null) { in configureAdapter()
272 adapter.setFilter(mFilter); in configureAdapter()
322 return mFilter; in getFilter()
326 if ((mFilter == null && filter == null) || in setFilter()
327 (mFilter != null && mFilter.equals(filter))) { in setFilter()
331 mFilter = filter; in setFilter()
DContactEntryListAdapter.java94 private ContactListFilter mFilter; field in ContactEntryListAdapter
698 return mFilter; in getFilter()
702 mFilter = filter; in setFilter()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/service/
DSearchParams.java38 public final String mFilter; field in SearchParams
61 mFilter = filter; in SearchParams()
68 mFilter = filter; in SearchParams()
77 mFilter = filter; in SearchParams()
95 && mFilter.equals(os.mFilter) in equals()
104 return Objects.hashCode(mMailboxId, mFilter, mStartDate, mEndDate, mLimit, mOffset); in hashCode()
110 + mMailboxId + ":" + mFilter in toString()
144 dest.writeString(mFilter); in writeToParcel()
163 mFilter = in.readString(); in SearchParams()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDeviceListPreferenceFragment.java53 private BluetoothDeviceFilter.Filter mFilter; field in DeviceListPreferenceFragment
67 mFilter = BluetoothDeviceFilter.ALL_FILTER; in DeviceListPreferenceFragment()
71 mFilter = filter; in setFilter()
75 mFilter = BluetoothDeviceFilter.getFilter(filterType); in setFilter()
169 if (mFilter.matches(cachedDevice.getDevice())) { in onDeviceAdded()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java63 private final IntentFilter mFilter; field in ConnectivityListener
127 mFilter = new IntentFilter(); in ConnectivityListener()
128 mFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in ConnectivityListener()
129 mFilter.addAction(ConnectivityManager.INET_CONDITION_ACTION); in ConnectivityListener()
130 mFilter.addAction(WifiManager.RSSI_CHANGED_ACTION); in ConnectivityListener()
152 mContext.registerReceiver(mReceiver, mFilter); in start()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbloom_filter.h36 BloomFilter() : mFilter() {} in BloomFilter()
39 mFilter.set(getIndex(position)); in setInFilter()
43 return mFilter.test(getIndex(position)); in isInFilter()
66 std::bitset<BIGRAM_FILTER_MODULO> mFilter; variable
/packages/apps/Settings/src/com/android/settings/applications/
DManageApplications.java183 public int mFilter; field in ManageApplications
270 mFilter = getDefaultFilter(); in onCreate()
305 mApplications = new ApplicationsAdapter(mApplicationsState, this, mFilter); in onCreateView()
596 mFilter = mFilterAdapter.getFilter(position); in onItemSelected()
597 mApplications.setFilter(mFilter); in onItemSelected()
598 if (DEBUG) Log.d(TAG, "Selecting filter " + mFilter); in onItemSelected()
671 if (mManageApplications.mFilter == filter) { in disableFilter()
726 private Filter mFilter = new Filter() { field in ManageApplications.ApplicationsAdapter
1102 return mFilter; in getFilter()
/packages/apps/Settings/src/com/android/settings/wifi/
DAdvancedWifiSettings.java72 private IntentFilter mFilter; field in AdvancedWifiSettings
99 mFilter = new IntentFilter(); in onActivityCreated()
100 mFilter.addAction(WifiManager.LINK_CONFIGURATION_CHANGED_ACTION); in onActivityCreated()
101 mFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in onActivityCreated()
110 getActivity().registerReceiver(mReceiver, mFilter); in onResume()
DWifiSetupActivity.java76 private IntentFilter mFilter = new IntentFilter(); field in WifiSetupActivity
92 mFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in onCreate()
93 mFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in onCreate()
170 registerReceiver(mReceiver, mFilter); in onResume()
DWpsDialog.java63 private final IntentFilter mFilter; field in WpsDialog
127 mFilter = new IntentFilter(); in WpsDialog()
128 mFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in WpsDialog()
209 mContext.registerReceiver(mReceiver, mFilter); in onStart()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DOpenWnnEngineEN.java55 private CandidateFilter mFilter = null; field in OpenWnnEngineEN
166 if (mFilter != null && !mFilter.isAllowed(word)) { in addCandidate()
239 mFilter = filter; in setFilter()
/packages/apps/Contacts/src/com/android/contacts/group/
DSuggestedMemberListAdapter.java76 private Filter mFilter; field in SuggestedMemberListAdapter
159 if (mFilter == null) { in getFilter()
160 mFilter = new SuggestedMemberFilter(); in getFilter()
162 return mFilter; in getFilter()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnEngineJAJP.java128 private CandidateFilter mFilter = null; field in OpenWnnEngineJAJP
278 if (mFilter != null && !mFilter.isAllowed(word)) { in addCandidate()
360 mFilter = filter; in setFilter()
DOpenWnnClauseConverterJAJP.java68 private CandidateFilter mFilter = null; field in OpenWnnClauseConverterJAJP
114 mFilter = filter; in setFilter()
338 if (mFilter != null && !mFilter.isAllowed(clause)) { in addClause()
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
DPolarClockWallpaper.java264 private IntentFilter mFilter; field in PolarClockWallpaper
270 mFilter = new IntentFilter(); in onCreate()
271 mFilter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onCreate()
418 registerReceiver(mWatcher, mFilter, null, mHandler); in onVisibilityChanged()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnJAJP.java459 private CandidateFilter mFilter; field in OpenWnnJAJP
483 mFilter = new CandidateFilter(); in OpenWnnJAJP()
2678 mFilter.filter = 0; in fitInputType()
2705 mFilter.filter = CandidateFilter.FILTER_NON_ASCII; in fitInputType()
2741 if (mFilter.filter == 0) { in fitInputType()
2745 mConverterEN.setFilter(mFilter); in fitInputType()
2746 mConverterJAJP.setFilter(mFilter); in fitInputType()
/packages/apps/Email/tests/src/com/android/emailcommon/service/
DSearchParamsTests.java34 assertEquals(params.mFilter, readParams.mFilter); in brokentestParcel()
/packages/apps/Browser/src/com/android/browser/
DSuggestionsAdapter.java66 final Filter mFilter; field in SuggestionsAdapter
95 mFilter = new SuggestFilter(); in SuggestionsAdapter()
125 return mFilter; in getFilter()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitiesActivity.java139 private Filter mFilter = new Filter() { field in CitiesActivity.CityAdapter
319 mFilter.filter(mQueryTextBuffer.toString()); in sortCities()
454 return mFilter; in getFilter()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java474 final String filter = params.mFilter; in getMessages()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java5982 cv.put(Mailbox.DISPLAY_NAME, mSearchParams.mFilter); in uiSearch()