Home
last modified time | relevance | path

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

123

/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()
DOrFileFilter.java153 Object filter = fileFilters.get(i); in toString() local
154 buffer.append(filter == null ? "null" : filter.toString()); in toString()
DAndFileFilter.java159 Object filter = fileFilters.get(i); in toString() local
160 buffer.append(filter == null ? "null" : filter.toString()); in toString()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEventRedirector.java124 IntentFilter filter = new IntentFilter(); in start() local
127 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in start()
130 filter.addAction(BluetoothAdapter.ACTION_DISCOVERY_STARTED); in start()
131 filter.addAction(BluetoothAdapter.ACTION_DISCOVERY_FINISHED); in start()
132 filter.addAction(BluetoothDevice.ACTION_DISAPPEARED); in start()
133 filter.addAction(BluetoothDevice.ACTION_FOUND); in start()
134 filter.addAction(BluetoothDevice.ACTION_NAME_CHANGED); in start()
137 filter.addAction(BluetoothDevice.ACTION_BOND_STATE_CHANGED); in start()
138 filter.addAction(BluetoothDevice.ACTION_PAIRING_CANCEL); in start()
141 filter.addAction(BluetoothA2dp.ACTION_SINK_STATE_CHANGED); in start()
[all …]
DBluetoothNamePreference.java71 IntentFilter filter = new IntentFilter(); in resume() local
72 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in resume()
73 filter.addAction(BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED); in resume()
74 getContext().registerReceiver(mReceiver, filter); in resume()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherApplication.java42 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in onCreate() local
43 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onCreate()
44 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onCreate()
45 filter.addDataScheme("package"); in onCreate()
46 registerReceiver(mModel, filter); in onCreate()
/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()
DFileUtils.java252 IOFileFilter filter) { in innerListFiles() argument
253 File[] found = directory.listFiles((FileFilter) filter); in innerListFiles()
257 innerListFiles(files, found[i], filter); in innerListFiles()
371 IOFileFilter filter; in listFiles() local
373 filter = TrueFileFilter.INSTANCE; in listFiles()
376 filter = new SuffixFileFilter(suffixes); in listFiles()
378 return listFiles(directory, filter, in listFiles()
813 FileFilter filter) throws IOException { in copyDirectory() argument
814 copyDirectory(srcDir, destDir, filter, true); in copyDirectory()
858 FileFilter filter, boolean preserveFileDate) throws IOException { in copyDirectory() argument
[all …]
/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()
/packages/apps/Settings/src/com/android/settings/
DZonePicker.java51 String filter = (String) mFilterAdapter.getItem(position); in onListItemClick() local
53 if (filter.equals("All")) { in onListItemClick()
54 filter = null; in onListItemClick()
58 zoneList.putExtra("filter", filter); in onListItemClick()
DDateTimeSettings.java130 IntentFilter filter = new IntentFilter(); in onResume() local
131 filter.addAction(Intent.ACTION_TIME_TICK); in onResume()
132 filter.addAction(Intent.ACTION_TIME_CHANGED); in onResume()
133 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onResume()
134 registerReceiver(mIntentReceiver, filter, null, null); in onResume()
/packages/apps/DeskClock/src/com/android/deskclock/
DDigitalClock.java133 IntentFilter filter = new IntentFilter(); in onAttachedToWindow() local
134 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
135 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
136 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
137 mContext.registerReceiver(mIntentReceiver, filter, null, mHandler); in onAttachedToWindow()
/packages/apps/Calendar/src/com/android/calendar/
DAgendaActivity.java151 IntentFilter filter = new IntentFilter(); in onResume() local
152 filter.addAction(Intent.ACTION_TIME_CHANGED); in onResume()
153 filter.addAction(Intent.ACTION_DATE_CHANGED); in onResume()
154 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onResume()
155 registerReceiver(mIntentReceiver, filter); in onResume()
DCalendarActivity.java144 IntentFilter filter = new IntentFilter(); in onResume() local
146 filter.addAction(Intent.ACTION_TIME_CHANGED); in onResume()
147 filter.addAction(Intent.ACTION_DATE_CHANGED); in onResume()
148 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onResume()
149 registerReceiver(mIntentReceiver, filter); in onResume()
DEmailAddressAdapter.java72 String filter = constraint == null ? "" : constraint.toString(); in runQueryOnBackgroundThread() local
73 Uri uri = Uri.withAppendedPath(Email.CONTENT_FILTER_URI, Uri.encode(filter)); in runQueryOnBackgroundThread()
DMonthActivity.java310 IntentFilter filter = new IntentFilter(); in onResume() local
312 filter.addAction(Intent.ACTION_TIME_CHANGED); in onResume()
313 filter.addAction(Intent.ACTION_DATE_CHANGED); in onResume()
314 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onResume()
315 registerReceiver(mIntentReceiver, filter); in onResume()
/packages/apps/AlarmClock/src/com/android/alarmclock/
DDigitalClock.java139 IntentFilter filter = new IntentFilter(); in onAttachedToWindow() local
140 filter.addAction(Intent.ACTION_TIME_TICK); in onAttachedToWindow()
141 filter.addAction(Intent.ACTION_TIME_CHANGED); in onAttachedToWindow()
142 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onAttachedToWindow()
143 mContext.registerReceiver(mIntentReceiver, filter, null, mHandler); in onAttachedToWindow()
/packages/apps/Phone/src/com/android/phone/
DEmergencyCallbackModeService.java83 IntentFilter filter = new IntentFilter(); in onCreate() local
84 filter.addAction(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED); in onCreate()
85 filter.addAction(TelephonyIntents.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS); in onCreate()
86 registerReceiver(mEcmReceiver, filter); in onCreate()
/packages/apps/IM/src/com/android/im/app/
DContactsPickerActivity.java69 EditText filter = (EditText)findViewById(R.id.filter); in onCreate() local
70 filter.addTextChangedListener(new TextWatcher() { in onCreate()
75 mFilter.filter(s); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/model/
DSources.java90 final IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in Sources() local
91 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in Sources()
92 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in Sources()
93 filter.addDataScheme("package"); in Sources()
95 mApplicationContext.registerReceiver(this, filter); in Sources()
/packages/apps/Contacts/src/com/android/contacts/
DDialtactsActivity.java284 String filter = intent.getStringExtra(UI.FILTER_TEXT_EXTRA_KEY); in setupFilterText() local
285 if (filter != null && filter.length() > 0) { in setupFilterText()
286 mFilterText = filter; in setupFilterText()
/packages/apps/Email/src/com/android/email/
DEmailAddressAdapter.java70 String filter = constraint == null ? "" : constraint.toString(); in runQueryOnBackgroundThread() local
71 Uri uri = Uri.withAppendedPath(Email.CONTENT_FILTER_URI, Uri.encode(filter)); in runQueryOnBackgroundThread()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppBtEnablingActivity.java70 IntentFilter filter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED); in onCreate() local
71 registerReceiver(mBluetoothReceiver, filter); in onCreate()

123