Searched defs:filter (Results 1 - 25 of 55) sorted by relevance

123

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DCandidateFilter.java20 * The filter class for candidates.
27 /** Filtering pattern (No filter) */
32 /** Current filter type */
33 public int filter = 0; field in class:CandidateFilter
42 if (filter == 0) {
45 if ((filter & FILTER_NON_ASCII) != 0) {
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DUnicodeDialerKeyListener.java32 public CharSequence filter(CharSequence source, int start, int end, method in class:UnicodeDialerKeyListener
38 CharSequence result = super.filter(converted, start, end, dest, dstart, dend);
45 // filter returns null if the charsequence is to be returned unchanged/unfiltered.
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilter.java23 * This filter will constrain edits so that the text length is not
36 * However, this filter will still work in scenarios where surrogate
47 public CharSequence filter(CharSequence source, int start, int end, method in class:Utf8ByteLengthFilter
H A DBluetoothSettings.java269 BluetoothDeviceFilter.Filter filter, boolean addCachedDevices) {
272 setFilter(filter);
268 addDeviceCategory(PreferenceGroup preferenceGroup, int titleId, BluetoothDeviceFilter.Filter filter, boolean addCachedDevices) argument
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
H A DDelegateFileFilter.java34 /** The Filename filter */
36 /** The File filter */
40 * Constructs a delegate file filter around an existing FilenameFilter.
42 * @param filter the filter to decorate
44 public DelegateFileFilter(FilenameFilter filter) { argument
45 if (filter == null) {
48 this.filenameFilter = filter;
53 * Constructs a delegate file filter around an existing FileFilter.
55 * @param filter th
57 DelegateFileFilter(FileFilter filter) argument
[all...]
H A DNotFileFilter.java23 * This filter produces a logical NOT of the filters specified.
32 /** The filter */
33 private final IOFileFilter filter; field in class:NotFileFilter
36 * Constructs a new file filter that NOTs the result of another filters.
38 * @param filter the filter, must not be null
39 * @throws IllegalArgumentException if the filter is null
41 public NotFileFilter(IOFileFilter filter) { argument
42 if (filter == null) {
43 throw new IllegalArgumentException("The filter mus
[all...]
H A DFileFilterUtils.java26 * file filter implementations in this package so you don't have to import
47 * Returns a filter that returns true if the filename starts with the specified text.
50 * @return a prefix checking filter
57 * Returns a filter that returns true if the filename ends with the specified text.
60 * @return a suffix checking filter
67 * Returns a filter that returns true if the filename matches the specified text.
70 * @return a name checking filter
77 * Returns a filter that checks if the file is a directory.
79 * @return file filter that accepts only directories and not files
86 * Returns a filter tha
123 notFileFilter(IOFileFilter filter) argument
154 asFileFilter(FileFilter filter) argument
165 asFileFilter(FilenameFilter filter) argument
299 makeCVSAware(IOFileFilter filter) argument
320 makeSVNAware(IOFileFilter filter) argument
340 makeDirectoryOnly(IOFileFilter filter) argument
354 makeFileOnly(IOFileFilter filter) argument
[all...]
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasSearchGal.java28 public EasSearchGal(Context context, final long accountId, final String filter, argument
31 mFilter = filter;
H A DEasSyncCollectionTypeBase.java74 * @param filter The lookback to use, or null if no lookback is desired.
79 protected static void setPimSyncOptions(final Serializer s, final String filter, argument
85 // Set the filter (lookback), if provided
86 if (filter != null) {
87 s.data(Tags.SYNC_FILTER_TYPE, filter);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapUtils.java55 public static boolean hasFilter(byte[] filter) { argument
56 return filter != null && filter.length > 0;
59 public static boolean isNameAndNumberOnly(byte[] filter) { argument
65 // Check that an explicit filter is not set. If not, this means
67 if (!hasFilter(filter)) {
68 Log.v(TAG, "No filter set. isNameAndNumberOnly=false");
74 if (filter[i] != 0) {
80 if ((filter[5] & 0x7F) > 0) {
85 if (filter[
97 isFilterBitSet(byte[] filter, int filterBit) argument
108 createFilteredVCardComposer(final Context ctx, final int vcardType, final byte[] filter) argument
155 createProfileVCard(Context ctx, final int vcardType,final byte[] filter) argument
[all...]
/packages/apps/Camera/src/com/android/camera/drawable/
H A DTextDrawable.java80 public void setColorFilter(ColorFilter filter) { argument
81 mPaint.setColorFilter(filter);
/packages/apps/Camera2/src/com/android/camera/drawable/
H A DTextDrawable.java117 public void setColorFilter(ColorFilter filter) { argument
118 mPaint.setColorFilter(filter);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListFilterController.java33 // singleton to cache the filter controller
53 * Return the currently-active filter.
58 * @param filter the filter
59 * @param persistent True when the given filter should be saved soon. False when the filter
63 public abstract void setContactListFilter(ContactListFilter filter, boolean persistent); argument
68 * Checks if the current filter is valid and reset the filter if not. It may happen when
69 * an account is removed while the filter point
113 setContactListFilter(ContactListFilter filter, boolean persistent) argument
117 setContactListFilter(ContactListFilter filter, boolean persistent, boolean notifyListeners) argument
[all...]
H A DContactListFilterView.java33 * Contact list filter parameters.
54 public void setContactListFilter(ContactListFilter filter) { argument
55 mFilter = filter;
H A DDefaultContactListAdapter.java56 ContactListFilter filter = getFilter();
83 configureUri(loader, directoryId, filter);
85 configureSelection(loader, directoryId, filter);
98 protected void configureUri(CursorLoader loader, long directoryId, ContactListFilter filter) { argument
100 if (filter != null && filter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) {
113 // The "All accounts" filter is the same as the entire contents of Directory.DEFAULT
114 if (filter != null
115 && filter.filterType != ContactListFilter.FILTER_TYPE_CUSTOM
116 && filter
129 configureSelection( CursorLoader loader, long directoryId, ContactListFilter filter) argument
[all...]
H A DContactListFilter.java28 * Contact list filter parameters.
42 * Obsolete filter which had been used in Honeycomb. This may be stored in
43 * {@link SharedPreferences}, but should be replaced with ALL filter when it is found.
45 * TODO: "group" filter and relevant variables are all obsolete. Remove them.
49 private static final String KEY_FILTER_TYPE = "filter.type";
50 private static final String KEY_ACCOUNT_NAME = "filter.accountName";
51 private static final String KEY_ACCOUNT_TYPE = "filter.accountType";
52 private static final String KEY_DATA_SET = "filter.dataSet";
81 * Returns true if this filter is based on data and may become invalid over time.
159 * Store the given {@link ContactListFilter} to preferences. If the requested filter i
163 storeToPreferences(SharedPreferences prefs, ContactListFilter filter) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DAccountFilterUtil.java33 * Utility class for account filter manipulation.
40 * filter header.
47 ContactListFilter filter, boolean showTitleForAllAccounts) {
48 return updateAccountFilterTitle(filterContainer, filter, showTitleForAllAccounts, false);
56 ContactListFilter filter, boolean showTitleForAllAccounts) {
58 filterContainer, filter, showTitleForAllAccounts, true);
62 ContactListFilter filter, boolean showTitleForAllAccounts,
69 if (filter != null) {
71 if (filter.filterType == ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS) {
76 } else if (filter
46 updateAccountFilterTitleForPeople(View filterContainer, ContactListFilter filter, boolean showTitleForAllAccounts) argument
55 updateAccountFilterTitleForPhone(View filterContainer, ContactListFilter filter, boolean showTitleForAllAccounts) argument
61 updateAccountFilterTitle(View filterContainer, ContactListFilter filter, boolean showTitleForAllAccounts, boolean forPhone) argument
[all...]
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
H A DJarUtils.java63 public static ArrayList<String> getEntryNameListing(final JarFile jar, final JarFilter filter) { argument
72 if (filter.accept(dirName, name)) {
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasService.java401 final String filter, final int limit) {
402 final EasSearchGal operation = new EasSearchGal(context, accountId, filter, limit);
400 searchGal(final Context context, final long accountId, final String filter, final int limit) argument
/packages/apps/UnifiedEmail/src/com/android/emailcommon/service/
H A DSearchParams.java59 public SearchParams(long mailboxId, String filter) { argument
61 mFilter = filter;
66 public SearchParams(long mailboxId, String filter, long searchMailboxId) { argument
68 mFilter = filter;
74 public SearchParams(long mailboxId, String filter, long searchMailboxId, Date startDate, argument
77 mFilter = filter;
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DDirectoryWalker.java34 * Commons IO supplies many common filter implementations in the
41 * <li><a href="#filter">2. Filter Example</a> - using
84 * <a name="filter"></a>
96 * with this option as the same filter is used for both directories
103 * public FooDirectoryWalker(FileFilter filter) {
104 * super(filter, -1);
109 * // Create a filter for Non-hidden directories
114 * // Create a filter for Files ending in ".txt"
123 * // Use the filter to construct a DirectoryWalker implementation
254 * The file filter t
256 private final FileFilter filter; field in class:DirectoryWalker
281 DirectoryWalker(FileFilter filter, int depthLimit) argument
[all...]
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceDialerTester.java221 private void reportSummary(String label, FileFilter filter) { argument
234 if (filter == null || filter.accept(wf.mFile)) {
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DScanFilterQueue.java202 * Add ScanFilter to scan filter queue.
204 void addScanFilter(ScanFilter filter) { argument
205 if (filter == null)
207 if (filter.getDeviceName() != null) {
208 addName(filter.getDeviceName());
210 if (filter.getDeviceAddress() != null) {
211 addDeviceAddress(filter.getDeviceAddress(), DEVICE_TYPE_ALL);
213 if (filter.getServiceUuid() != null) {
214 if (filter.getServiceUuidMask() == null) {
215 addUuid(filter
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DDefaultContactBrowseListFragment.java160 public void setFilter(ContactListFilter filter) { argument
161 super.setFilter(filter);
169 final ContactListFilter filter = getFilter();
170 if (filter != null && !isSearchMode()) {
172 mAccountFilterHeader, filter, false);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterDraw.java173 public Bitmap createScaledBitmap(Bitmap src, int dstWidth, int dstHeight, boolean filter) argument
181 paint.setFilterBitmap(filter);

Completed in 648 milliseconds

123