/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | AccountFilterUtil.java | 47 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/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
D | FileFilterUtils.java | 123 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 …]
|
D | NotFileFilter.java | 33 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()
|
D | DelegateFileFilter.java | 44 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/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtils.java | 55 public static boolean hasFilter(byte[] filter) { in hasFilter() argument 56 return filter != null && filter.length > 0; in hasFilter() 59 public static boolean isNameAndNumberOnly(byte[] filter) { in isNameAndNumberOnly() argument 67 if (!hasFilter(filter)) { in isNameAndNumberOnly() 74 if (filter[i] != 0) { in isNameAndNumberOnly() 80 if ((filter[5] & 0x7F) > 0) { in isNameAndNumberOnly() 85 if (filter[6] != 0) { in isNameAndNumberOnly() 90 if ((filter[7] & 0x78) > 0) { in isNameAndNumberOnly() 97 public static boolean isFilterBitSet(byte[] filter, int filterBit) { in isFilterBitSet() argument 98 if (hasFilter(filter)) { in isFilterBitSet() [all …]
|
D | BluetoothPbapVcardManager.java | 113 … final String getOwnerPhoneNumberVcardFromProfile(final boolean vcardType21, final byte[] filter) { in getOwnerPhoneNumberVcardFromProfile() argument 126 return BluetoothPbapUtils.createProfileVCard(mContext, vcardType,filter); in getOwnerPhoneNumberVcardFromProfile() 129 public final String getOwnerPhoneNumberVcard(final boolean vcardType21, final byte[] filter) { in getOwnerPhoneNumberVcard() argument 132 String vcard = getOwnerPhoneNumberVcardFromProfile(vcardType21, filter); in getOwnerPhoneNumberVcard() 338 boolean ignorefilter, byte[] filter) { in composeAndSendCallLogVcards() argument 398 return composeCallLogsAndSendVCards(op, selection, vcardType21, null, ignorefilter, filter); in composeAndSendCallLogVcards() 403 boolean ignorefilter, byte[] filter) { in composeAndSendPhonebookVcards() argument 429 ignorefilter, filter); in composeAndSendPhonebookVcards() 434 boolean ignorefilter, byte[] filter) { in composeAndSendPhonebookOneVcard() argument 464 ignorefilter, filter); in composeAndSendPhonebookOneVcard() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanFilterQueue.java | 205 void addScanFilter(ScanFilter filter) { in addScanFilter() argument 206 if (filter == null) in addScanFilter() 208 if (filter.getDeviceName() != null) { in addScanFilter() 209 addName(filter.getDeviceName()); in addScanFilter() 211 if (filter.getDeviceAddress() != null) { in addScanFilter() 212 addDeviceAddress(filter.getDeviceAddress(), DEVICE_TYPE_ALL); in addScanFilter() 214 if (filter.getServiceUuid() != null) { in addScanFilter() 215 if (filter.getServiceUuidMask() == null) { in addScanFilter() 216 addUuid(filter.getServiceUuid().getUuid()); in addScanFilter() 218 addUuid(filter.getServiceUuid().getUuid(), in addScanFilter() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | FilterEnvironment.java | 112 ImageFilter filter = mFiltersManager.getFilterForRepresentation(representation); in applyRepresentation() local 113 filter.useRepresentation(representation); in applyRepresentation() 114 filter.setEnvironment(this); in applyRepresentation() 115 if (filter.supportsAllocationInput()) { in applyRepresentation() 116 filter.apply(in, out); in applyRepresentation() 118 filter.setGeneralParameters(); in applyRepresentation() 119 filter.setEnvironment(null); in applyRepresentation() 129 ImageFilter filter = mFiltersManager.getFilterForRepresentation(representation); in applyRepresentation() local 130 if (filter == null){ in applyRepresentation() 133 filter.useRepresentation(representation); in applyRepresentation() [all …]
|
D | ImagePreset.java | 176 FilterRepresentation filter = mFilters.elementAt(i); in hasModifications() local 177 if (!filter.isNil()) { in hasModifications() 591 for (FilterRepresentation filter : mFilters) { in fillImageStateAdapter() 592 if (filter instanceof FilterUserPresetRepresentation) { in fillImageStateAdapter() 596 State state = new State(filter.getName()); in fillImageStateAdapter() 597 state.setFilterRepresentation(filter); in fillImageStateAdapter() 620 ImageFilter filter = filtersManager.getFilterForRepresentation(representation); in getUsedFilters() local 621 usedFilters.add(filter); in getUsedFilters() 643 FilterRepresentation filter = mFilters.get(i); in writeJson() local 644 if (filter instanceof FilterUserPresetRepresentation) { in writeJson() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListFilter.java | 163 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 …]
|
D | DefaultContactListAdapter.java | 110 final ContactListFilter filter = getFilter(); in configureLoader() local 111 configureUri(loader, directoryId, filter); in configureLoader() 113 configureSelection(loader, directoryId, filter); in configureLoader() 143 protected void configureUri(CursorLoader loader, long directoryId, ContactListFilter filter) { in configureUri() argument 145 if (filter != null && filter.filterType == ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) { in configureUri() 159 if (filter != null in configureUri() 160 && filter.filterType != ContactListFilter.FILTER_TYPE_CUSTOM in configureUri() 161 && filter.filterType != ContactListFilter.FILTER_TYPE_SINGLE_CONTACT) { in configureUri() 165 if (filter.filterType == ContactListFilter.FILTER_TYPE_ACCOUNT) { in configureUri() 166 filter.addAccountQueryParameterToUrl(builder); in configureUri() [all …]
|
D | AccountFilterActivity.java | 173 final ContactListFilter filter = (ContactListFilter) view.getTag(); in onItemClick() local 174 if (filter == null) return; // Just in case in onItemClick() 175 if (filter.filterType == ContactListFilter.FILTER_TYPE_CUSTOM) { in onItemClick() 190 intent.putExtra(KEY_EXTRA_CONTACT_LIST_FILTER, filter); in onItemClick() 211 ContactListFilter filter = ContactListFilter.createFilterWithType( in onActivityResult() local 213 intent.putExtra(KEY_EXTRA_CONTACT_LIST_FILTER, filter); in onActivityResult() 260 final ContactListFilter filter = mFilters.get(position); in getView() local 261 view.setContactListFilter(filter); in getView() 263 view.setTag(filter); in getView() 264 view.setActivated(filter.equals(mCurrentFilter)); in getView()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherApplication.java | 62 IntentFilter filter = new IntentFilter(); in onCreate() local 63 filter.addAction(Intent.ACTION_LOCALE_CHANGED); in onCreate() 64 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); in onCreate() 65 registerReceiver(mModel, filter); in onCreate() 66 filter = new IntentFilter(); in onCreate() 67 filter.addAction(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED); in onCreate() 68 registerReceiver(mModel, filter); in onCreate() 69 filter = new IntentFilter(); in onCreate() 70 filter.addAction(SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED); in onCreate() 71 registerReceiver(mModel, filter); in onCreate()
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
D | HtmlDocument.java | 217 public HtmlDocument filter(MultiplexFilter filter) { in filter() method in HtmlDocument 218 filter.start(); in filter() 221 filter.filter(node, newNodes); in filter() 223 filter.finish(newNodes); in filter() 936 void filter(Node originalNode, List<Node> out); in filter() method 951 private final Filter filter; field in HtmlDocument.MultiplexFilterAdapter 953 public MultiplexFilterAdapter(Filter filter) { in MultiplexFilterAdapter() argument 954 this.filter = filter; in MultiplexFilterAdapter() 958 filter.start(); in start() 961 public void filter(Node originalNode, List<Node> out) { in filter() method in HtmlDocument.MultiplexFilterAdapter [all …]
|
/packages/apps/TV/usbtuner/jni/ |
D | DvbManager.cpp | 195 struct dmx_pes_filter_params filter; in startTsPidFilter() local 196 memset(&filter, 0, sizeof(filter)); in startTsPidFilter() 197 filter.pid = pid; in startTsPidFilter() 198 filter.input = DMX_IN_FRONTEND; in startTsPidFilter() 201 filter.pes_type = DMX_PES_AUDIO; in startTsPidFilter() 204 filter.pes_type = DMX_PES_VIDEO; in startTsPidFilter() 207 filter.pes_type = DMX_PES_PCR; in startTsPidFilter() 210 filter.pes_type = DMX_PES_OTHER; in startTsPidFilter() 213 filter.output = DMX_OUT_TS_TAP; in startTsPidFilter() 214 filter.flags |= (DMX_CHECK_CRC | DMX_IMMEDIATE_START); in startTsPidFilter() [all …]
|
/packages/apps/LegacyCamera/res/raw/ |
D | goofy_face.graph | 47 @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/res/raw/ |
D | goofy_face.graph | 47 @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/Camera2/res/raw/ |
D | goofy_face.graph | 47 @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/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | BaseFiltersManager.java | 90 ImageFilter filter = mFilters.get(c); in getRepresentation() local 91 if (filter != null) { in getRepresentation() 92 return filter.getDefaultRepresentation(); in getRepresentation() 103 ImageFilter filter = mFilters.get(c); in freeFilterResources() local 104 if (!usedFilters.contains(filter)) { in freeFilterResources() 105 filter.freeResources(); in freeFilterResources() 112 ImageFilter filter = mFilters.get(c); in freeRSFilterScripts() local 113 if (filter != null && filter instanceof ImageFilterRS) { in freeRSFilterScripts() 114 ((ImageFilterRS) filter).resetScripts(); in freeRSFilterScripts() 224 for (FilterRepresentation filter : borderList) { in addBorders() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarProjectionService.java | 153 public void regsiterProjectionListener(ICarProjectionListener listener, int filter) { in regsiterProjectionListener() argument 157 info = new ListenerInfo(mAllListeners, listener, filter); in regsiterProjectionListener() 160 info.setFilter(filter); in regsiterProjectionListener() 241 private ListenerInfo(ListenerHolder holder, ICarProjectionListener binder, int filter) { in ListenerInfo() argument 243 this.mFilter = filter; in ListenerInfo() 250 private boolean hasFilter(int filter) { in hasFilter() argument 251 return (getFilter() & filter) != 0; in hasFilter() 254 private synchronized void setFilter(int filter) { in setFilter() argument 255 mFilter = filter; in setFilter()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppState.java | 97 IntentFilter filter = new IntentFilter(); in LauncherAppState() local 98 filter.addAction(Intent.ACTION_LOCALE_CHANGED); in LauncherAppState() 99 filter.addAction(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED); in LauncherAppState() 101 filter.addAction(LauncherAppsCompat.ACTION_MANAGED_PROFILE_ADDED); in LauncherAppState() 102 filter.addAction(LauncherAppsCompat.ACTION_MANAGED_PROFILE_REMOVED); in LauncherAppState() 103 filter.addAction(LauncherAppsCompat.ACTION_MANAGED_PROFILE_AVAILABLE); in LauncherAppState() 104 filter.addAction(LauncherAppsCompat.ACTION_MANAGED_PROFILE_UNAVAILABLE); in LauncherAppState() 106 sContext.registerReceiver(mModel, filter); in LauncherAppState()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | DirectoryWalker.java | 256 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/ |
D | GlobalSearchSupport.java | 82 String filter; field in GlobalSearchSupport.SearchSuggestion 109 list.add(filter); // extra data in asList() 137 list.add(filter); in addColumnValue() 160 filter = null; in reset() 210 String lookupKey, String filter, CancellationSignal cancellationSignal) { in handleSearchShortcutRefresh() argument 220 db, projection, ContactsColumns.CONCRETE_ID + "=" + contactId, filter, null, in handleSearchShortcutRefresh() 225 String[] projection, String selection, String filter, String limit, in addSearchSuggestionsBasedOnFilter() argument 228 final boolean haveFilter = !TextUtils.isEmpty(filter); in addSearchSuggestionsBasedOnFilter() 243 mContactsProvider.appendSearchIndexJoin(sb, filter, true, in addSearchSuggestionsBasedOnFilter() 256 suggestion.filter = filter; in addSearchSuggestionsBasedOnFilter()
|
/packages/apps/Dialer/tests/src/com/android/dialer/dialpad/ |
D | UnicodeDialerKeyListenerTest.java | 41 assertEquals(null, mUnicodeDialerKeyListener.filter("111222333", 0, 9, null, 0, 0)); in testNumericDigits() 46 assertEquals("0123456789", mUnicodeDialerKeyListener.filter("٠١٢٣٤٥٦٧٨٩", 0, 10, in testArabicDigits() 54 assertEquals("0123456789", mUnicodeDialerKeyListener.filter("۰۱۲۳۴۵۶۷۸۹", 0, 10, in testFarsiDigits() 60 assertEquals("15102849177", mUnicodeDialerKeyListener.filter("۱510٢٨٤۹۱۷۷", 0, 11, in testCombinationDigits() 66 assertEquals(null, mUnicodeDialerKeyListener.filter("1510-284-9177", 0, 13, in testDashes()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherAppsCompatV16.java | 138 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in registerForPackageIntents() local 139 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerForPackageIntents() 140 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerForPackageIntents() 141 filter.addDataScheme("package"); in registerForPackageIntents() 142 mContext.registerReceiver(mPackageMonitor, filter); in registerForPackageIntents() 143 filter = new IntentFilter(); in registerForPackageIntents() 144 filter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in registerForPackageIntents() 145 filter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in registerForPackageIntents() 146 mContext.registerReceiver(mPackageMonitor, filter); in registerForPackageIntents()
|