Home
last modified time | relevance | path

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

123456

/packages/apps/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java47 ContactListFilter filter, boolean showTitleForAllAccounts) { in updateAccountFilterTitleForPeople() argument
48 return updateAccountFilterTitle(filterContainer, filter, showTitleForAllAccounts, false); in updateAccountFilterTitleForPeople()
56 ContactListFilter filter, boolean showTitleForAllAccounts) { in updateAccountFilterTitleForPhone() argument
58 filterContainer, filter, showTitleForAllAccounts, true); in updateAccountFilterTitleForPhone()
62 ContactListFilter filter, boolean showTitleForAllAccounts, in updateAccountFilterTitle() argument
69 if (filter != null) { in updateAccountFilterTitle()
71 if (filter.filterType == ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS) { in updateAccountFilterTitle()
76 } else if (filter.filterType == ContactListFilter.FILTER_TYPE_ACCOUNT) { in updateAccountFilterTitle()
78 R.string.listAllContactsInAccount, filter.accountName)); in updateAccountFilterTitle()
80 } else if (filter.filterType == ContactListFilter.FILTER_TYPE_CUSTOM) { in updateAccountFilterTitle()
[all …]
/packages/apps/Email/src/org/apache/commons/io/filefilter/
DFileFilterUtils.java123 public static IOFileFilter notFileFilter(IOFileFilter filter) { in notFileFilter() argument
124 return new NotFileFilter(filter); in notFileFilter()
154 public static IOFileFilter asFileFilter(FileFilter filter) { in asFileFilter() argument
155 return new DelegateFileFilter(filter); in asFileFilter()
165 public static IOFileFilter asFileFilter(FilenameFilter filter) { in asFileFilter() argument
166 return new DelegateFileFilter(filter); in asFileFilter()
299 public static IOFileFilter makeCVSAware(IOFileFilter filter) { in makeCVSAware() argument
304 if (filter == null) { in makeCVSAware()
307 return andFileFilter(filter, cvsFilter); in makeCVSAware()
320 public static IOFileFilter makeSVNAware(IOFileFilter filter) { in makeSVNAware() argument
[all …]
DNotFileFilter.java33 private final IOFileFilter filter; field in NotFileFilter
41 public NotFileFilter(IOFileFilter filter) { in NotFileFilter() argument
42 if (filter == null) { in NotFileFilter()
45 this.filter = filter; in NotFileFilter()
55 return ! filter.accept(file); in accept()
66 return ! filter.accept(file, name); in accept()
75 return super.toString() + "(" + filter.toString() + ")"; in toString()
DDelegateFileFilter.java44 public DelegateFileFilter(FilenameFilter filter) { in DelegateFileFilter() argument
45 if (filter == null) { in DelegateFileFilter()
48 this.filenameFilter = filter; in DelegateFileFilter()
57 public DelegateFileFilter(FileFilter filter) { in DelegateFileFilter() argument
58 if (filter == null) { in DelegateFileFilter()
61 this.fileFilter = filter; in DelegateFileFilter()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherApplication.java54 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in onCreate() local
55 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onCreate()
56 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onCreate()
57 filter.addDataScheme("package"); in onCreate()
58 registerReceiver(mModel, filter); in onCreate()
59 filter = new IntentFilter(); in onCreate()
60 filter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in onCreate()
61 filter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in onCreate()
62 filter.addAction(Intent.ACTION_LOCALE_CHANGED); in onCreate()
63 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in onCreate()
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilter.java163 public static void storeToPreferences(SharedPreferences prefs, ContactListFilter filter) { in storeToPreferences() argument
164 if (filter != null && filter.filterType == FILTER_TYPE_SINGLE_CONTACT) { in storeToPreferences()
168 .putInt(KEY_FILTER_TYPE, filter == null ? FILTER_TYPE_DEFAULT : filter.filterType) in storeToPreferences()
169 .putString(KEY_ACCOUNT_NAME, filter == null ? null : filter.accountName) in storeToPreferences()
170 .putString(KEY_ACCOUNT_TYPE, filter == null ? null : filter.accountType) in storeToPreferences()
171 .putString(KEY_DATA_SET, filter == null ? null : filter.dataSet) in storeToPreferences()
180 ContactListFilter filter = restoreFromPreferences(prefs); in restoreDefaultPreferences() local
181 if (filter == null) { in restoreDefaultPreferences()
182 filter = ContactListFilter.createFilterWithType(FILTER_TYPE_ALL_ACCOUNTS); in restoreDefaultPreferences()
186 if (filter.filterType == FILTER_TYPE_GROUP || in restoreDefaultPreferences()
[all …]
DDefaultContactListAdapter.java62 ContactListFilter filter = getFilter(); in configureLoader() local
91 configureUri(loader, directoryId, filter); in configureLoader()
93 configureSelection(loader, directoryId, filter); in configureLoader()
106 protected void configureUri(CursorLoader loader, long directoryId, ContactListFilter filter) { in configureUri() argument
108 if (filter != null && filter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) { in configureUri()
122 if (filter != null in configureUri()
123 && filter.filterType != ContactListFilter.FILTER_TYPE_CUSTOM in configureUri()
124 && filter.filterType != ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) { in configureUri()
128 if (filter.filterType == ContactListFilter.FILTER_TYPE_ACCOUNT) { in configureUri()
129 filter.addAccountQueryParameterToUrl(builder); in configureUri()
[all …]
DContactListFilterController.java64 public abstract void setContactListFilter(ContactListFilter filter, boolean persistent); in setContactListFilter() argument
114 public void setContactListFilter(ContactListFilter filter, boolean persistent) { in setContactListFilter() argument
115 setContactListFilter(filter, persistent, true); in setContactListFilter()
118 private void setContactListFilter(ContactListFilter filter, boolean persistent, in setContactListFilter() argument
120 if (!filter.equals(mFilter)) { in setContactListFilter()
121 mFilter = filter; in setContactListFilter()
DAccountFilterActivity.java170 final ContactListFilter filter = (ContactListFilter) view.getTag(); in onItemClick() local
171 if (filter == null) return; // Just in case in onItemClick()
172 if (filter.filterType == ContactListFilter.FILTER_TYPE_CUSTOM) { in onItemClick()
178 intent.putExtra(KEY_EXTRA_CONTACT_LIST_FILTER, filter); in onItemClick()
193 ContactListFilter filter = ContactListFilter.createFilterWithType( in onActivityResult() local
195 intent.putExtra(KEY_EXTRA_CONTACT_LIST_FILTER, filter); in onActivityResult()
242 final ContactListFilter filter = mFilters.get(position); in getView() local
243 view.setContactListFilter(filter); in getView()
245 view.setTag(filter); in getView()
246 view.setActivated(filter.equals(mCurrentFilter)); in getView()
/packages/apps/Camera/res/raw/
Dgoofy_face.graph47 @filter SurfaceTextureSource source {
55 @filter ToPackedGrayFilter toPackedGray {
61 @filter MultiFaceTrackerFilter faceTracker {
75 @filter GoofyFastRenderFilter goofyrenderer {
80 @filter SurfaceTextureTarget display {
87 // Orientation rotation filter
88 @filter FixedRotationFilter rotate {
92 // Orientation rotation filter for facemeta data
93 @filter FaceMetaFixedRotationFilter metarotate {
99 @filter MediaEncoderFilter recorder {
/packages/apps/LegacyCamera/res/raw/
Dgoofy_face.graph47 @filter SurfaceTextureSource source {
55 @filter ToPackedGrayFilter toPackedGray {
61 @filter MultiFaceTrackerFilter faceTracker {
75 @filter GoofyFastRenderFilter goofyrenderer {
80 @filter SurfaceTargetFilter display {
86 // Orientation rotation filter
87 @filter FixedRotationFilter rotate {
91 // Orientation rotation filter for facemeta data
92 @filter FaceMetaFixedRotationFilter metarotate {
98 @filter MediaEncoderFilter recorder {
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
DTintAction.java37 final TintFilter filter = new TintFilter(); in prepare() local
45 filter.setTint(color); in prepare()
46 notifyChanged(filter); in prepare()
52 filter.setTint(colorPicker.getColor()); in prepare()
53 notifyChanged(filter); in prepare()
DFaceTanAction.java37 final FaceTanFilter filter = new FaceTanFilter(); in prepare() local
45 filter.setScale(progress); in prepare()
46 notifyChanged(filter); in prepare()
52 filter.setScale(DEFAULT_SCALE); in prepare()
53 notifyChanged(filter); in prepare()
DFaceliftAction.java37 final FaceliftFilter filter = new FaceliftFilter(); in prepare() local
45 filter.setScale(progress); in prepare()
46 notifyChanged(filter); in prepare()
52 filter.setScale(DEFAULT_SCALE); in prepare()
53 notifyChanged(filter); in prepare()
DVignetteAction.java37 final VignetteFilter filter = new VignetteFilter(); in prepare() local
45 filter.setScale(progress); in prepare()
46 notifyChanged(filter); in prepare()
52 filter.setScale(DEFAULT_SCALE); in prepare()
53 notifyChanged(filter); in prepare()
DFisheyeAction.java37 final FisheyeFilter filter = new FisheyeFilter(); in prepare() local
45 filter.setScale(progress); in prepare()
46 notifyChanged(filter); in prepare()
52 filter.setScale(DEFAULT_SCALE); in prepare()
53 notifyChanged(filter); in prepare()
DGrainAction.java37 final GrainFilter filter = new GrainFilter(); in prepare() local
45 filter.setScale(progress); in prepare()
46 notifyChanged(filter); in prepare()
52 filter.setScale(DEFAULT_SCALE); in prepare()
53 notifyChanged(filter); in prepare()
DSharpenAction.java37 final SharpenFilter filter = new SharpenFilter(); in prepare() local
45 filter.setScale(progress); in prepare()
46 notifyChanged(filter); in prepare()
52 filter.setScale(DEFAULT_SCALE); in prepare()
53 notifyChanged(filter); in prepare()
DCropAction.java39 final CropFilter filter = new CropFilter(); in prepare() local
48 filter.setCropBounds(cropBounds); in prepare()
49 notifyChanged(filter); in prepare()
56 filter.setCropBounds(bounds); in prepare()
57 notifyChanged(filter); in prepare()
DDoodleAction.java38 final DoodleFilter filter = new DoodleFilter(); in prepare() local
48 notifyChanged(filter); in prepare()
55 filter.addDoodle(doodle); in prepare()
56 notifyChanged(filter); in prepare()
DRotateAction.java40 final RotateFilter filter = new RotateFilter(); in prepare() local
55 notifyChanged(filter); in prepare()
72 filter.setAngle(rotateDegrees); in prepare()
73 notifyChanged(filter); in prepare()
/packages/inputmethods/LatinIME/native/jni/src/
Dbloom_filter.h26 static inline void setInFilter(uint8_t *filter, const int position) { in setInFilter() argument
28 filter[bucket >> 3] |= (1 << (bucket & 0x7)); in setInFilter()
31 static inline bool isInFilter(const uint8_t *filter, const int position) { in isInFilter() argument
33 return filter[bucket >> 3] & (1 << (bucket & 0x7)); in isInFilter()
/packages/apps/Email/src/org/apache/commons/io/
DDirectoryWalker.java256 private final FileFilter filter; field in DirectoryWalker
281 protected DirectoryWalker(FileFilter filter, int depthLimit) { in DirectoryWalker() argument
282 this.filter = filter; in DirectoryWalker()
302 this.filter = null; in DirectoryWalker()
308 this.filter = FileFilterUtils.orFileFilter(directoryFilter, fileFilter); in DirectoryWalker()
357 … File[] childFiles = (filter == null ? directory.listFiles() : directory.listFiles(filter)); in walk()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DGlobalSearchSupport.java81 String filter; field in GlobalSearchSupport.SearchSuggestion
108 list.add(filter); // extra data in asList()
136 list.add(filter); in addColumnValue()
159 filter = null; in reset()
209 String lookupKey, String filter) { in handleSearchShortcutRefresh() argument
219 db, projection, ContactsColumns.CONCRETE_ID + "=" + contactId, filter, null); in handleSearchShortcutRefresh()
223 String[] projection, String selection, String filter, String limit) { in addSearchSuggestionsBasedOnFilter() argument
225 final boolean haveFilter = !TextUtils.isEmpty(filter); in addSearchSuggestionsBasedOnFilter()
240 mContactsProvider.appendSearchIndexJoin(sb, filter, true, in addSearchSuggestionsBasedOnFilter()
252 suggestion.filter = filter; in addSearchSuggestionsBasedOnFilter()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DCandidateFilter.java33 public int filter = 0; field in CandidateFilter
42 if (filter == 0) { in isAllowed()
45 if ((filter & FILTER_NON_ASCII) != 0) { in isAllowed()

123456