/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | bloom_filter.h | 27 static inline void setInFilter(uint8_t *filter, const int32_t position) { argument 29 filter[bucket >> 3] |= static_cast<uint8_t>(1 << (bucket & 0x7)); 33 static inline bool isInFilter(const uint8_t *filter, const int32_t position) { argument 35 return filter[bucket >> 3] & static_cast<uint8_t>(1 << (bucket & 0x7));
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | CandidateFilter.java | 20 * 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 D | UnicodeDialerKeyListener.java | 32 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/Email/src/org/apache/commons/io/filefilter/ |
H A D | DelegateFileFilter.java | 34 /** 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 D | NotFileFilter.java | 23 * 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 D | FileFilterUtils.java | 26 * 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/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | ShortcutPromoter.java | 29 public ShortcutPromoter(Config config, Promoter next, SuggestionFilter filter) { argument 30 super(filter, next, config);
|
H A D | AbstractPromoter.java | 27 protected AbstractPromoter(SuggestionFilter filter, Promoter next, Config config) { argument 28 mFilter = filter;
|
H A D | RankAwarePromoter.java | 34 public RankAwarePromoter(Config config, SuggestionFilter filter, Promoter next) { argument 35 super(filter, next, config);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | Utf8ByteLengthFilter.java | 23 * 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
|
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/ |
H A D | JarUtils.java | 61 public static ArrayList<String> getNameListing(final JarFile jar, final JarFilter filter) { argument 70 if (filter.accept(dirName, name)) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapUtils.java | 55 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 153 createProfileVCard(Context ctx, final int vcardType,final byte[] filter) argument [all...] |
H A D | BluetoothPbapVcardManager.java | 115 private final String getOwnerPhoneNumberVcardFromProfile(final boolean vcardType21, final byte[] filter) { argument 128 return BluetoothPbapUtils.createProfileVCard(mContext, vcardType,filter); 131 public final String getOwnerPhoneNumberVcard(final boolean vcardType21, final byte[] filter) { argument 134 String vcard = getOwnerPhoneNumberVcardFromProfile(vcardType21, filter);
|
/packages/apps/Camera/src/com/android/camera/drawable/ |
H A D | TextDrawable.java | 80 public void setColorFilter(ColorFilter filter) { argument 81 mPaint.setColorFilter(filter);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactListFilterController.java | 33 // 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 D | ContactListFilterView.java | 33 * Contact list filter parameters. 54 public void setContactListFilter(ContactListFilter filter) { argument 55 mFilter = filter;
|
H A D | DefaultContactListAdapter.java | 61 ContactListFilter filter = getFilter(); 90 configureUri(loader, directoryId, filter); 92 configureSelection(loader, directoryId, filter); 105 protected void configureUri(CursorLoader loader, long directoryId, ContactListFilter filter) { argument 107 if (filter != null && filter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) { 120 // The "All accounts" filter is the same as the entire contents of Directory.DEFAULT 121 if (filter != null 122 && filter.filterType != ContactListFilter.FILTER_TYPE_CUSTOM 123 && filter 136 configureSelection( CursorLoader loader, long directoryId, ContactListFilter filter) argument [all...] |
H A D | ContactListFilter.java | 28 * 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 D | AccountFilterUtil.java | 33 * 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/apps/Gallery2/src/com/android/camera/drawable/ |
H A D | TextDrawable.java | 117 public void setColorFilter(ColorFilter filter) { argument 118 mPaint.setColorFilter(filter);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | SearchParams.java | 56 public SearchParams(long mailboxId, String filter) { argument 58 mFilter = filter; 61 public SearchParams(long mailboxId, String filter, long searchMailboxId) { argument 63 mFilter = filter;
|
/packages/apps/Email/src/org/apache/commons/io/ |
H A D | DirectoryWalker.java | 34 * 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/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | BaseFiltersManager.java | 56 public void addFilter(Class filterClass, ImageFilter filter) { argument 57 mFilters.put(filterClass, filter); 61 ImageFilter filter = mFilters.get(c); 62 if (filter != null) { 63 return filter.getDefaultRepresentation(); 74 ImageFilter filter = mFilters.get(c); 75 if (!usedFilters.contains(filter)) { 76 filter.freeResources(); 83 ImageFilter filter = mFilters.get(c); 84 if (filter ! [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
H A D | VoiceDialerTester.java | 221 private void reportSummary(String label, FileFilter filter) { argument 234 if (filter == null || filter.accept(wf.mFile)) {
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | DefaultContactBrowseListFragment.java | 153 public void setFilter(ContactListFilter filter) { argument 154 super.setFilter(filter); 162 final ContactListFilter filter = getFilter(); 163 if (filter != null && !isSearchMode()) { 165 mAccountFilterHeader, filter, false); 187 ContactListFilter filter = getFilter(); 188 int filterType = filter != null ? filter.filterType 193 R.string.listTotalAllContactsZeroGroup, filter.accountName));
|