Home
last modified time | relevance | path

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

/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.java44 private ContactListFilter mFilter; field in ContactListFilterView
56 mFilter = filter; in setContactListFilter()
60 return mFilter; in getContactListFilter()
94 if (mFilter == null) { in bindView()
100 switch (mFilter.filterType) { in bindView()
124 if (mFilter.icon != null) { in bindView()
125 mIcon.setImageDrawable(mFilter.icon); in bindView()
130 accountTypes.getAccountType(mFilter.accountType, mFilter.dataSet); in bindView()
131 mAccountUserName.setText(mFilter.accountName); in bindView()
DPhoneNumberPickerFragment.java53 private ContactListFilter mFilter; field in PhoneNumberPickerFragment
88 mFilter); in onClick()
167 mFilter = savedState.getParcelable(KEY_FILTER); in restoreSavedState()
174 outState.putParcelable(KEY_FILTER, mFilter); in onSaveInstanceState()
292 if (!isSearchMode() && mFilter != null) { in configureAdapter()
293 adapter.setFilter(mFilter); in configureAdapter()
346 return mFilter; in getFilter()
350 if ((mFilter == null && filter == null) || in setFilter()
351 (mFilter != null && mFilter.equals(filter))) { in setFilter()
355 mFilter = filter; in setFilter()
DContactEntryListAdapter.java97 private ContactListFilter mFilter; field in ContactEntryListAdapter
720 return mFilter; in getFilter()
724 mFilter = filter; in setFilter()
/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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallScreeningServiceFilterTest.java91 private CallScreeningServiceFilter mFilter; field in CallScreeningServiceFilterTest
108 mFilter = new CallScreeningServiceFilter(mContext, mCallsManager, mPhoneAccountRegistrar, in setUp()
125 mFilter.startFilterLookup(mCall, mCallback); in testNoDefaultDialer()
133 mFilter.startFilterLookup(mCall, mCallback); in testNoResolveEntries()
140 mFilter.startFilterLookup(mCall, mCallback); in testBadResolveEntry()
147 mFilter.startFilterLookup(mCall, mCallback); in testPermissionlessFilterService()
155 mFilter.startFilterLookup(mCall, mCallback); in testContextFailToBind()
163 mFilter.startFilterLookup(mCall, mCallback); in testExceptionInScreeningService()
171 mFilter.startFilterLookup(mCall, mCallback); in testAllowCall()
181 mFilter.startFilterLookup(mCall, mCallback); in testDisallowCall()
DAsyncBlockCheckFilterTest.java46 private AsyncBlockCheckFilter mFilter; field in AsyncBlockCheckFilterTest
68 mFilter = new AsyncBlockCheckFilter(mContext, mBlockCheckerAdapter); in setUp()
79 mFilter.startFilterLookup(mCall, mCallback); in testBlockNumber()
93 mFilter.startFilterLookup(mCall, mCallback); in testDontBlockNumber()
/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/bluetooth/
DDeviceListPreferenceFragment.java52 private BluetoothDeviceFilter.Filter mFilter; field in DeviceListPreferenceFragment
66 mFilter = BluetoothDeviceFilter.ALL_FILTER; in DeviceListPreferenceFragment()
70 mFilter = filter; in setFilter()
74 mFilter = BluetoothDeviceFilter.getFilter(filterType); in setFilter()
167 if (mFilter.matches(cachedDevice.getDevice())) { in onDeviceAdded()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java239 private int mFilter; field in CarProjectionService.ListenerInfo
243 this.mFilter = filter; in ListenerInfo()
247 return mFilter; in getFilter()
255 mFilter = filter; in setFilter()
261 return "ListenerInfo{filter=" + Integer.toHexString(mFilter) + "}"; in toString()
DAppContextService.java266 private int mFilter; field in AppContextService.ClientInfo
275 this.mFilter = filter; in ClientInfo()
279 return mFilter; in getFilter()
283 mFilter = filter; in setFilter()
305 ",filter=" + Integer.toHexString(mFilter) + in toString()
/packages/apps/Settings/src/com/android/settings/wifi/
DConfigureWifiSettings.java60 private IntentFilter mFilter; field in ConfigureWifiSettings
72 mFilter = new IntentFilter(); in onActivityCreated()
73 mFilter.addAction(WifiManager.LINK_CONFIGURATION_CHANGED_ACTION); in onActivityCreated()
74 mFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in onActivityCreated()
83 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/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccess.java56 private AppFilter mFilter; field in UnrestrictedDataAccess
69 mFilter = mShowSystem ? ApplicationsState.FILTER_ALL_ENABLED in onCreate()
87 mFilter = mShowSystem ? ApplicationsState.FILTER_ALL_ENABLED in onOptionsItemSelected()
142 ArrayList<AppEntry> apps = mSession.rebuild(mFilter, ApplicationsState.ALPHA_COMPARATOR); in rebuild()
/packages/apps/Email/tests/src/com/android/emailcommon/service/
DSearchParamsTests.java34 assertEquals(params.mFilter, readParams.mFilter); in brokentestParcel()
/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/apps/Settings/src/com/android/settings/applications/
DManageApplications.java195 public int mFilter; field in ManageApplications
279 mFilter = getDefaultFilter(); in onCreate()
314 mApplications = new ApplicationsAdapter(mApplicationsState, this, mFilter); in onCreateView()
629 mFilter = mFilterAdapter.getFilter(position); in onItemSelected()
630 mApplications.setFilter(mFilter); in onItemSelected()
631 if (DEBUG) Log.d(TAG, "Selecting filter " + mFilter); in onItemSelected()
704 if (mManageApplications.mFilter == filter) { in disableFilter()
767 private Filter mFilter = new Filter() { field in ManageApplications.ApplicationsAdapter
1219 return mFilter; in getFilter()
/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/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()