Home
last modified time | relevance | path

Searched refs:filters (Results 1 – 25 of 798) sorted by relevance

12345678910>>...32

/frameworks/base/core/java/android/content/pm/
DEphemeralResolveInfo.java51 @NonNull List<IntentFilter> filters) { in EphemeralResolveInfo() argument
52 if (uri == null || packageName == null || filters == null || filters.isEmpty()) { in EphemeralResolveInfo()
56 ephemeralFilters.add(new EphemeralIntentFilter(packageName, filters)); in EphemeralResolveInfo()
59 mLegacyFilters = new ArrayList<IntentFilter>(filters.size()); in EphemeralResolveInfo()
60 mLegacyFilters.addAll(filters); in EphemeralResolveInfo()
65 @Nullable List<EphemeralIntentFilter> filters) { in EphemeralResolveInfo() argument
66 this(digest, packageName, filters, -1 /*versionCode*/); in EphemeralResolveInfo()
70 @Nullable List<EphemeralIntentFilter> filters, int versionCode) { in EphemeralResolveInfo() argument
73 createInstantAppIntentFilterList(filters), versionCode); in EphemeralResolveInfo()
78 @Nullable List<EphemeralIntentFilter> filters) { in EphemeralResolveInfo() argument
[all …]
DInstantAppResolveInfo.java50 @Nullable List<InstantAppIntentFilter> filters, int versionCode) { in InstantAppResolveInfo() argument
52 if ((packageName == null && (filters != null && filters.size() != 0)) in InstantAppResolveInfo()
53 || (packageName != null && (filters == null || filters.size() == 0))) { in InstantAppResolveInfo()
57 if (filters != null) { in InstantAppResolveInfo()
58 mFilters = new ArrayList<InstantAppIntentFilter>(filters.size()); in InstantAppResolveInfo()
59 mFilters.addAll(filters); in InstantAppResolveInfo()
68 @Nullable List<InstantAppIntentFilter> filters) { in InstantAppResolveInfo() argument
69 this(new InstantAppDigest(hostName), packageName, filters, -1 /*versionCode*/); in InstantAppResolveInfo()
DInstantAppIntentFilter.java39 public InstantAppIntentFilter(@Nullable String splitName, @NonNull List<IntentFilter> filters) { in InstantAppIntentFilter() argument
40 if (filters == null || filters.size() == 0) { in InstantAppIntentFilter()
44 mFilters.addAll(filters); in InstantAppIntentFilter()
DEphemeralIntentFilter.java39 public EphemeralIntentFilter(@Nullable String splitName, @NonNull List<IntentFilter> filters) { in EphemeralIntentFilter() argument
40 mInstantAppIntentFilter = new InstantAppIntentFilter(splitName, filters); in EphemeralIntentFilter()
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
DEmojiTextViewHelper.java99 public InputFilter[] getFilters(@NonNull final InputFilter[] filters) { in getFilters() argument
100 return mHelper.getFilters(filters); in getFilters()
132 InputFilter[] getFilters(@NonNull final InputFilter[] filters) { in getFilters() argument
133 return filters; in getFilters()
164 InputFilter[] getFilters(@NonNull final InputFilter[] filters) { in getFilters() argument
165 final int count = filters.length; in getFilters()
167 if (filters[i] instanceof EmojiInputFilter) { in getFilters()
168 return filters; in getFilters()
171 final InputFilter[] newFilters = new InputFilter[filters.length + 1]; in getFilters()
172 System.arraycopy(filters, 0, newFilters, 0, count); in getFilters()
DEmojiButton.java67 public void setFilters(InputFilter[] filters) { in setFilters() argument
68 super.setFilters(getEmojiTextViewHelper().getFilters(filters)); in setFilters()
DEmojiTextView.java67 public void setFilters(InputFilter[] filters) { in setFilters() argument
68 super.setFilters(getEmojiTextViewHelper().getFilters(filters)); in setFilters()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DEmojiTextViewHelperTest.java31 import android.support.test.filters.SdkSuppress;
32 import android.support.test.filters.SmallTest;
96 final InputFilter[] filters = new InputFilter[]{existingFilter}; in testGetFilters() local
98 final InputFilter[] newFilters = mTextViewHelper.getFilters(filters); in testGetFilters()
108 final InputFilter[] filters = new InputFilter[]{existingFilter}; in testGetFilters_doesNotAddSecondInstance() local
110 InputFilter[] newFilters = mTextViewHelper.getFilters(filters); in testGetFilters_doesNotAddSecondInstance()
122 private EmojiInputFilter findEmojiInputFilter(final InputFilter[] filters) { in findEmojiInputFilter() argument
123 for (int i = 0; i < filters.length; i++) { in findEmojiInputFilter()
124 if (filters[i] instanceof EmojiInputFilter) { in findEmojiInputFilter()
125 return (EmojiInputFilter) filters[i]; in findEmojiInputFilter()
DEmojiTextViewHelperPre19Test.java24 import android.support.test.filters.SdkSuppress;
25 import android.support.test.filters.SmallTest;
61 final InputFilter[] filters = new InputFilter[]{existingFilter}; in testGetFilters_returnsSameFilters() local
63 final InputFilter[] newFilters = mTextViewHelper.getFilters(filters); in testGetFilters_returnsSameFilters()
65 assertSame(filters, newFilters); in testGetFilters_returnsSameFilters()
DEmojiEditTextHelperPre19Test.java26 import android.support.test.filters.SdkSuppress;
27 import android.support.test.filters.SmallTest;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DColorFilterCache.java45 ColorFilterCache filters = sColorToFiltersMap.get(color); in getColorFilterCache() local
46 if (filters == null) { in getColorFilterCache()
47 filters = new ColorFilterCache(r, g, b); in getColorFilterCache()
48 sColorToFiltersMap.put(color, filters); in getColorFilterCache()
50 return filters; in getColorFilterCache()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java351 Filter[] filters = currentFilters(); in onStep() local
352 for (int i = 0; i < filters.length; ++i) { in onStep()
353 Filter filter = filters[i]; in onStep()
394 Filter[] filters = graph.getAllFilters(); in loadFilters() local
395 mFilters.push(filters); in loadFilters()
407 Filter[] filters = graph.getAllFilters(); in closeFilters() local
409 for (int i = 0; i < filters.length; ++i) { in closeFilters()
411 Log.i("GraphRunner", "Closing Filter " + filters[i] + "!"); in closeFilters()
413 filters[i].softReset(); in closeFilters()
439 public void prepare(Filter[] filters); in prepare() argument
[all …]
DGraphExporter.java53 Filter[] filters = graph.getAllFilters(); in exportAsDot() local
66 for(Filter filter : filters) { in exportAsDot()
103 for(Filter filter : filters) { in exportAsDot()
/frameworks/support/core-utils/java/android/support/v4/content/
DLocalBroadcastManager.java138 ArrayList<ReceiverRecord> filters = mReceivers.get(receiver); in registerReceiver() local
139 if (filters == null) { in registerReceiver()
140 filters = new ArrayList<>(1); in registerReceiver()
141 mReceivers.put(receiver, filters); in registerReceiver()
143 filters.add(entry); in registerReceiver()
167 final ArrayList<ReceiverRecord> filters = mReceivers.remove(receiver); in unregisterReceiver() local
168 if (filters == null) { in unregisterReceiver()
171 for (int i=filters.size()-1; i>=0; i--) { in unregisterReceiver()
172 final ReceiverRecord filter = filters.get(i); in unregisterReceiver()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java130 public void startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument
132 startScan(filters, settings, null, callback, /*callbackIntent=*/ null, null); in startScan()
158 public int startScan(@Nullable List<ScanFilter> filters, @Nullable ScanSettings settings, in startScan() argument
160 return startScan(filters, in startScan()
195 public void startScanFromSource(List<ScanFilter> filters, ScanSettings settings, in startScanFromSource() argument
197 startScan(filters, settings, workSource, callback, null, null); in startScanFromSource()
200 private int startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument
233 if (!isSettingsAndFilterComboAllowed(settings, filters)) { in startScan()
238 BleScanCallbackWrapper wrapper = new BleScanCallbackWrapper(gatt, filters, in startScan()
243 gatt.startScanForIntent(callbackIntent, settings, filters, in startScan()
[all …]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java240 InputFilter[] filters = view.getFilters(); in setMaxLength() local
241 if (filters == null) { in setMaxLength()
242 filters = new InputFilter[]{ in setMaxLength()
247 for (int i = 0; i < filters.length; i++) { in setMaxLength()
248 InputFilter filter = filters[i]; in setMaxLength()
256 filters[i] = new InputFilter.LengthFilter(value); in setMaxLength()
263 InputFilter[] oldFilters = filters; in setMaxLength()
264 filters = new InputFilter[oldFilters.length + 1]; in setMaxLength()
265 System.arraycopy(oldFilters, 0, filters, 0, oldFilters.length); in setMaxLength()
266 filters[filters.length - 1] = new InputFilter.LengthFilter(value); in setMaxLength()
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteSelector.java106 public boolean matchesControlFilters(List<IntentFilter> filters) { in matchesControlFilters() argument
107 if (filters != null) { in matchesControlFilters()
111 final int filterCount = filters.size(); in matchesControlFilters()
113 final IntentFilter filter = filters.get(i); in matchesControlFilters()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/graphics/
DFitWidthBitmapDrawableTest.java28 import android.support.test.filters.MediumTest;
29 import android.support.test.filters.SdkSuppress;
30 import android.support.test.filters.SmallTest;
/frameworks/support/emoji/appcompat/src/android/support/text/emoji/widget/
DEmojiAppCompatTextView.java61 public void setFilters(InputFilter[] filters) { in setFilters() argument
62 super.setFilters(getEmojiTextViewHelper().getFilters(filters)); in setFilters()
DEmojiAppCompatButton.java60 public void setFilters(InputFilter[] filters) { in setFilters() argument
61 super.setFilters(getEmojiTextViewHelper().getFilters(filters)); in setFilters()
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
DCustomTextView.java51 public void setFilters(InputFilter[] filters) { in setFilters() argument
52 super.setFilters(getEmojiTextViewHelper().getFilters(filters)); in setFilters()
/frameworks/support/design/tests/src/android/support/design/widget/
DSnackbarTestWithTranslucentNavBar.java24 import android.support.test.filters.MediumTest;
25 import android.support.test.filters.SdkSuppress;
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DUninitializedStateTest.java18 import android.support.test.filters.SdkSuppress;
19 import android.support.test.filters.SmallTest;
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java19 import android.support.test.filters.LargeTest;
20 import android.support.test.filters.MediumTest;
21 import android.support.test.filters.SmallTest;
/frameworks/av/cmds/stagefright/
DAndroid.mk154 filters/argbtorgba.rs \
155 filters/nightvision.rs \
156 filters/saturation.rs \

12345678910>>...32