Searched defs:filters (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DMimePredicate.java31 public MimePredicate(String[] filters) { argument
32 mFilters = filters;
46 public static boolean mimeMatches(String[] filters, String[] tests) { argument
51 if (mimeMatches(filters, test)) {
70 public static boolean mimeMatches(String[] filters, String test) { argument
71 if (filters == null) {
74 for (String filter : filters) {
/frameworks/base/core/java/android/text/
H A DEditable.java107 * Sets the series of filters that will be called in succession
111 public void setFilters(InputFilter[] filters); argument
114 * Returns the array of input filters that are currently applied
H A DSpannableStringBuilder.java1280 public void setFilters(InputFilter[] filters) { argument
1281 if (filters == null) {
1285 mFilters = filters;
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteSelector.java101 * Returns true if the selector matches at least one of the specified control filters.
103 * @param filters The list of control filters to consider.
106 public boolean matchesControlFilters(List<IntentFilter> filters) { argument
107 if (filters != null) {
111 final int filterCount = filters.size();
113 final IntentFilter filter = filters.get(i);
H A DMediaRouteDescriptor.java133 * Gets the route's {@link MediaControlIntent media control intent} filters.
384 * Adds a list of {@link MediaControlIntent media control intent} filters for the route.
386 public Builder addControlFilters(Collection<IntentFilter> filters) { argument
387 if (filters == null) {
388 throw new IllegalArgumentException("filters must not be null");
391 if (!filters.isEmpty()) {
392 for (IntentFilter filter : filters) {
/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeScanner.java75 * Start Bluetooth LE scan with default parameters and no filters. The scan results will be
95 * @param filters {@link ScanFilter}s for finding exact BLE devices.
100 public void startScan(List<ScanFilter> filters, ScanSettings settings, argument
102 startScan(filters, settings, callback, null);
105 private void startScan(List<ScanFilter> filters, ScanSettings settings, argument
131 BleScanCallbackWrapper wrapper = new BleScanCallbackWrapper(gatt, filters,
224 List<ScanFilter> filters, ScanSettings settings,
227 mFilters = filters;
223 BleScanCallbackWrapper(IBluetoothGatt bluetoothGatt, List<ScanFilter> filters, ScanSettings settings, ScanCallback scanCallback, List<List<ResultStorageDescriptor>> resultStorages) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFilterGraph.java56 /** Allows quick access to array of all filters. */
87 * Adds the specified filter to the set of filters of this graph. The filter must not be in
140 * Connect two filters by their ports.
141 * The filters specified must have been previously added to the graph builder.
161 * Connect two filters by their ports.
162 * The filters specified must have been previously added to the graph builder.
332 * Call this to release any resources associated with the filter graph, its filters and any of
515 static void checkSignaturesForFilters(Collection<Filter> filters) { argument
516 for (Filter filter : filters) {
H A DGraphRunner.java327 // Close filters if not already halted (and already closed)
351 Filter[] filters = currentFilters();
352 for (int i = 0; i < filters.length; ++i) {
353 Filter filter = filters[i];
394 Filter[] filters = graph.getAllFilters();
395 mFilters.push(filters);
407 Filter[] filters = graph.getAllFilters();
409 for (int i = 0; i < filters.length; ++i) {
411 Log.i("GraphRunner", "Closing Filter " + filters[i] + "!");
413 filters[
439 prepare(Filter[] filters) argument
454 prepare(Filter[] filters) argument
488 prepare(Filter[] filters) argument
517 prepare(Filter[] filters) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java68 * most specific intent filters possible to avoid the activity chooser dialog, which can
1176 * <p>If you pass {@code null} for both the {@code filters} and {@code techLists} parameters
1189 * @param filters the IntentFilters to override dispatching for, or null to always dispatch
1195 IntentFilter[] filters, String[][] techLists) {
1210 sService.setForegroundDispatch(intent, filters, parcel);
1194 enableForegroundDispatch(Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) argument
/frameworks/base/core/java/android/widget/
H A DTextView.java4672 * Sets the list of input filters that will be used if the buffer is
4677 public void setFilters(InputFilter[] filters) { argument
4678 if (filters == null) {
4682 mFilters = filters;
4685 setFilters((Editable) mText, filters);
4690 * Sets the list of input filters on the specified Editable,
4693 private void setFilters(Editable e, InputFilter[] filters) { argument
4701 InputFilter[] nf = new InputFilter[filters.length + num];
4703 System.arraycopy(filters, 0, nf, 0, filters
[all...]

Completed in 244 milliseconds