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

12345678

/frameworks/base/tools/aapt2/filter/
H A DConfigFilter_test.cpp17 #include "filter/ConfigFilter.h"
25 AxisConfigFilter filter; local
27 EXPECT_TRUE(filter.match(test::parseConfigOrDie("320dpi")));
28 EXPECT_TRUE(filter.match(test::parseConfigOrDie("fr")));
32 AxisConfigFilter filter; local
33 filter.addConfig(test::parseConfigOrDie("fr"));
35 EXPECT_TRUE(filter.match(test::parseConfigOrDie("320dpi")));
39 AxisConfigFilter filter; local
40 filter.addConfig(test::parseConfigOrDie("fr"));
42 EXPECT_TRUE(filter
46 AxisConfigFilter filter; local
53 AxisConfigFilter filter; local
63 AxisConfigFilter filter; local
70 AxisConfigFilter filter; local
82 AxisConfigFilter filter; local
89 AxisConfigFilter filter; local
96 AxisConfigFilter filter; local
104 AxisConfigFilter filter; local
[all...]
/frameworks/base/core/java/android/bluetooth/le/
H A DTruncatedFilter.java23 * A special scan filter that lets the client decide how the scan record should be stored.
35 * @param filter Scan filter of the truncated filter.
38 public TruncatedFilter(ScanFilter filter, List<ResultStorageDescriptor> storageDescriptors) { argument
39 mFilter = filter;
44 * Returns the scan filter.
/frameworks/base/core/java/android/text/style/
H A DMaskFilterSpan.java26 public MaskFilterSpan(MaskFilter filter) { argument
27 mFilter = filter;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredIntentResolver.java29 protected boolean isPackageForFilter(String packageName, PersistentPreferredActivity filter) { argument
30 return packageName.equals(filter.mComponent.getPackageName());
H A DCrossProfileIntentResolver.java35 protected boolean isPackageForFilter(String packageName, CrossProfileIntentFilter filter) { argument
H A DPackageManagerServiceCompilerMapping.java24 * Manage (retrieve) mappings from compilation reason to compilation filter.
94 toThrow = new IllegalStateException("PMS compiler filter settings are bad.");
110 * Return the compiler filter for "full" compilation.
112 * We derive that from the traditional "dalvik.vm.dex2oat-filter" property and just make
116 String value = SystemProperties.get("dalvik.vm.dex2oat-filter");
130 * Return the non-profile-guided filter corresponding to the given filter.
132 public static String getNonProfileGuidedCompilerFilter(String filter) { argument
133 return DexFile.getNonProfileGuidedCompilerFilter(filter);
H A DPersistentPreferredActivity.java33 private static final String ATTR_FILTER = "filter"; // filter
41 PersistentPreferredActivity(IntentFilter filter, ComponentName activity) { argument
42 super(filter);
78 "Missing element filter at " +
H A DPreferredIntentResolver.java31 protected boolean isPackageForFilter(String packageName, PreferredActivity filter) { argument
32 return packageName.equals(filter.mPref.mComponent.getPackageName());
37 PreferredActivity filter) {
38 filter.mPref.dump(out, prefix, filter);
36 dumpFilter(PrintWriter out, String prefix, PreferredActivity filter) argument
H A DPreferredActivity.java38 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, argument
40 super(filter);
50 serializer.startTag(null, "filter");
52 serializer.endTag(null, "filter");
57 if (tagName.equals("filter")) {
59 Log.i(TAG, "Starting to parse filter...");
63 Log.i(TAG, "Finished filter: depth=" + parser.getDepth() + " tag="
/frameworks/base/tools/aapt/tests/
H A DResourceFilter_test.cpp31 WeakResourceFilter filter; local
32 ASSERT_EQ(NO_ERROR, filter.parse(String8("")));
37 EXPECT_TRUE(filter.match(config));
42 EXPECT_TRUE(filter.match(config));
46 WeakResourceFilter filter; local
47 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr")));
52 EXPECT_TRUE(filter.match(config));
56 WeakResourceFilter filter; local
57 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr")));
63 EXPECT_TRUE(filter
67 WeakResourceFilter filter; local
79 WeakResourceFilter filter; local
90 WeakResourceFilter filter; local
101 WeakResourceFilter filter; local
114 WeakResourceFilter filter; local
127 WeakResourceFilter filter; local
138 WeakResourceFilter filter; local
143 WeakResourceFilter filter; local
155 WeakResourceFilter filter; local
192 AndResourceFilter filter; local
[all...]
/frameworks/base/core/java/android/text/
H A DInputFilter.java42 public CharSequence filter(CharSequence source, int start, int end, method in interface:InputFilter
46 * This filter will capitalize all the lower case letters that are added
50 public CharSequence filter(CharSequence source, int start, int end, method in class:InputFilter.AllCaps
74 * This filter will constrain edits not to make the length of the text
84 public CharSequence filter(CharSequence source, int start, int end, Spanned dest, method in class:InputFilter.LengthFilter
104 * @return the maximum length enforced by this input filter
H A DLoginFilter.java50 public CharSequence filter(CharSequence source, int start, int end, method in class:LoginFilter
101 * Called when we start processing filter.
116 * Called when we're done processing filter
129 * This filter rejects characters in the user name that are not compatible with GMail
160 * This filter rejects characters in the user name that are not compatible with Google login.
161 * It is slightly less restrictive than the above filter in that it allows [a-zA-Z0-9._-+].
191 * This filter is compatible with GMail passwords which restricts characters to
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
H A DScanFilterTest.java62 ScanFilter filter = mFilterBuilder.setDeviceName("Ped").build();
63 assertTrue("setName filter fails", filter.matches(mScanResult));
65 filter = mFilterBuilder.setDeviceName("Pem").build();
66 assertFalse("setName filter fails", filter.matches(mScanResult));
72 ScanFilter filter = mFilterBuilder.setDeviceAddress(DEVICE_MAC).build();
73 assertTrue("device filter fails", filter.matches(mScanResult));
75 filter
207 testReadWriteParcelForFilter(ScanFilter filter) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFinalPort.java27 public FinalPort(Filter filter, String name, Field field, boolean hasDefault) { argument
28 super(filter, name, field, hasDefault);
H A DProgramPort.java29 public ProgramPort(Filter filter, argument
34 super(filter, name, field, hasDefault);
H A DStreamPort.java28 public StreamPort(Filter filter, String name) { argument
29 super(filter, name);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphExporter.java66 for(Filter filter : filters) {
67 dotFile.write(getDotName(" " + filter.getName()) + " [label=\"{");
70 Set<String> inputPorts = getInputPorts(filter, includeUnconnectedOptionalPorts);
82 dotFile.write(filter.getName());
85 Set<String> outputPorts = getOutputPorts(filter, includeUnconnectedOptionalPorts);
103 for(Filter filter : filters) {
104 Set<String> outputPorts = getOutputPorts(filter, includeUnconnectedOptionalPorts);
106 OutputPort source = filter.getConnectedOutputPort(portName);
117 String color = filter.getSignature().getOutputPortInfo(portName).isRequired()
122 " " + getDotName(filter
165 getInputPorts(Filter filter, boolean includeUnconnectedOptional) argument
183 getOutputPorts(Filter filter, boolean includeUnconnectedOptional) argument
[all...]
/frameworks/ex/common/java/com/android/common/
H A DRfc822InputFilter.java33 public CharSequence filter(CharSequence source, int start, int end, Spanned dest, method in class:Rfc822InputFilter
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DMimePredicate.java62 public static boolean mimeMatches(String filter, String[] tests) { argument
67 if (mimeMatches(filter, test)) {
78 for (String filter : filters) {
79 if (mimeMatches(filter, test)) {
86 public static boolean mimeMatches(String filter, String test) { argument
89 } else if (filter == null || "*/*".equals(filter)) {
91 } else if (filter.equals(test)) {
93 } else if (filter.endsWith("/*")) {
94 return filter
[all...]
/frameworks/base/tools/aapt/
H A DApkBuilder.cpp47 // Add the inverse filter of this split filter to the base apk filter so it will
51 // Now add the apk-wide config filter to our split filter.
52 sp<AndResourceFilter> filter = new AndResourceFilter(); local
53 filter->addFilter(splitFilter);
54 filter->addFilter(mConfigFilter);
55 mSplits.add(new ApkSplit(configs, filter));
81 ApkSplit::ApkSplit(const std::set<ConfigDescription>& configs, const sp<ResourceFilter>& filter, boo argument
[all...]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java37 public TestCaseCollector(ClassLoader classLoader, TestCaseFilter filter) { argument
40 mFilter = filter;
/frameworks/base/core/java/android/text/method/
H A DDigitsKeyListener.java138 public CharSequence filter(CharSequence source, int start, int end, method in class:DigitsKeyListener
140 CharSequence out = super.filter(source, start, end, dest, dstart, dend);
H A DNumberKeyListener.java47 public CharSequence filter(CharSequence source, int start, int end, method in class:NumberKeyListener
50 boolean filter = false;
/frameworks/base/core/jni/android/graphics/
H A DColorFilter.cpp35 SkColorFilter* filter = reinterpret_cast<SkColorFilter *>(skFilterHandle); local
36 if (filter) SkSafeUnref(filter);
H A DDrawFilter.cpp44 virtual bool filter(SkPaint* paint, Type type) { function in class:android::CompatFlagsDrawFilter
45 SkPaintFlagsDrawFilter::filter(paint, type);
82 SkDrawFilter* filter; local
85 filter = new CompatFlagsDrawFilter(clearFlags, setFlags,
88 filter = new CompatFlagsDrawFilter(clearFlags, setFlags,
91 filter = new SkPaintFlagsDrawFilter(clearFlags, setFlags);
93 return reinterpret_cast<jlong>(filter);

Completed in 553 milliseconds

12345678