Searched refs:filter (Results 1 - 25 of 394) sorted by relevance

1234567891011>>

/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/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 DSimpleScheduler.java38 for (Filter filter : getGraph().getFilters()) {
39 if (filter.canProcess())
40 return filter;
H A DOneShotScheduler.java28 * filters will be scheduled, and possibly repeatedly, until there is no filter
54 // return the first filter that is not scheduled before.
56 Filter filter = super.scheduleNextNode();
57 if (filter == null) {
61 if (!scheduled.containsKey(filter.getName())) {
62 if (filter.getNumberOfConnectedInputs() == 0)
63 scheduled.put(filter.getName(),1);
64 if (mLogVerbose) Log.v(TAG, "Scheduling filter \"" + filter.getName() + "\" of type " + filter
[all...]
H A DFilterGraph.java65 public boolean addFilter(Filter filter) { argument
66 if (!containsFilter(filter)) {
67 mFilters.add(filter);
68 mNameMap.put(filter.getName(), filter);
74 public boolean containsFilter(Filter filter) { argument
75 return mFilters.contains(filter);
89 throw new RuntimeException("Attempting to connect filter not in graph!");
113 "Attempting to connect unknown source filter '" + sourceName + "'!");
116 "Attempting to connect unknown target filter '"
175 readyForProcessing(Filter filter, Set<Filter> processed) argument
223 updateOutputs(Filter filter) argument
239 runTypeCheckOn(Filter filter) argument
297 removeFilter(Filter filter) argument
[all...]
H A DRandomScheduler.java44 for (Filter filter : getGraph().getFilters()) {
45 if (filter.canProcess())
46 candidates.add(filter);
H A DSyncRunner.java162 protected void processFilterNode(Filter filter) { argument
163 if (mLogVerbose) Log.v(TAG, "Processing filter node");
164 filter.performProcess(mFilterContext);
165 if (filter.getStatus() == Filter.STATUS_ERROR) {
166 throw new RuntimeException("There was an error executing " + filter + "!");
167 } else if (filter.getStatus() == Filter.STATUS_SLEEPING) {
168 if (mLogVerbose) Log.v(TAG, "Scheduling filter wakeup");
169 scheduleFilterWake(filter, filter.getSleepDelay());
173 protected void scheduleFilterWake(Filter filter, in argument
[all...]
H A DRoundRobinScheduler.java48 for (Filter filter : all_filters) {
49 if (filter.canProcess()) {
52 // store the first available filter
53 first = filter;
57 // return the next available filter since last
59 return filter;
H A DFinalPort.java27 public FinalPort(Filter filter, String name, Field field, boolean hasDefault) { argument
28 super(filter, name, field, hasDefault);
/frameworks/base/services/core/java/com/android/server/pm/
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 DPersistentPreferredIntentResolver.java29 protected boolean isPackageForFilter(String packageName, PersistentPreferredActivity filter) { argument
30 return packageName.equals(filter.mComponent.getPackageName());
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DAnimationFilter.java91 * Combines multiple filters into {@code this} filter, using or as the operand .
100 combineFilter(events.get(i).filter);
117 private void combineFilter(AnimationFilter filter) { argument
118 animateAlpha |= filter.animateAlpha;
119 animateY |= filter.animateY;
120 animateZ |= filter.animateZ;
121 animateHeight |= filter.animateHeight;
122 animateTopInset |= filter.animateTopInset;
123 animateDimmed |= filter.animateDimmed;
124 animateDark |= filter
[all...]
/frameworks/base/core/java/android/text/style/
H A DMaskFilterSpan.java26 public MaskFilterSpan(MaskFilter filter) { argument
27 mFilter = filter;
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp20 SkMaskFilter* filter = reinterpret_cast<SkMaskFilter *>(filterHandle); local
21 SkSafeUnref(filter);
26 SkMaskFilter* filter = SkBlurMaskFilter::Create((SkBlurStyle)blurStyle, sigma); local
27 ThrowIAE_IfNull(env, filter);
28 return reinterpret_cast<jlong>(filter);
41 SkMaskFilter* filter = SkBlurMaskFilter::CreateEmboss(sigma, local
43 ThrowIAE_IfNull(env, filter);
44 return reinterpret_cast<jlong>(filter);
49 SkMaskFilter* filter = SkTableMaskFilter::Create((const uint8_t*)autoTable.ptr()); local
50 return reinterpret_cast<jlong>(filter);
54 SkMaskFilter* filter = SkTableMaskFilter::CreateClip(min, max); local
59 SkMaskFilter* filter = SkTableMaskFilter::CreateGamma(gamma); local
[all...]
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);
/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...]
H A DFilterGraph.java40 * ports. Every filter belongs to exactly one graph and cannot be moved to another graph.
53 /** Map from name of filter to the filter instance */
73 /** Map from name of filter to the filter instance */
85 * Add a filter to the graph.
87 * Adds the specified filter to the set of filters of this graph. The filter must not be in
88 * the graph already, and the filter's name must be unique within the graph.
90 * @param filter th
94 addFilter(Filter filter) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/
H A DFilterFunctionEnvironment.java56 * Create a new FilterFunction from a specific filter class. The function is initialized with
58 * FilterFactory to create the filter instance.
60 * @param filterClass The class of the filter to wrap. This must be a Filter subclass.
61 * @param parameters An argument list of alternating key-value filter parameters.
66 Filter filter = FilterFactory.sharedFactory().createFilterByClass(filterClass, filterName);
67 filter.initWithAssignmentList(parameters);
68 return new FilterFunction(getContext(), filter);
72 * Convenience method to execute a sequence of filter functions. Note that every function in
73 * the list MUST have one input and one output port, except the first filter (which must not
74 * have any input ports) and the last filter (whic
[all...]
/frameworks/native/opengl/tests/filter/
H A DAndroid.mk5 filter.cpp
19 LOCAL_MODULE:= test-opengl-filter
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetMessagesListing.java42 BluetoothMasClient.MessagesFilter filter, int subjectLength, int maxListCount,
66 if (filter != null) {
67 if (filter.messageType != MessagesFilter.MESSAGE_TYPE_ALL) {
68 oap.add(OAP_TAGID_FILTER_MESSAGE_TYPE, filter.messageType);
71 if (filter.periodBegin != null) {
72 oap.add(OAP_TAGID_FILTER_PERIOD_BEGIN, filter.periodBegin);
75 if (filter.periodEnd != null) {
76 oap.add(OAP_TAGID_FILTER_PERIOD_END, filter.periodEnd);
79 if (filter.readStatus != MessagesFilter.READ_STATUS_ANY) {
80 oap.add(OAP_TAGID_FILTER_READ_STATUS, filter
41 BluetoothMasRequestGetMessagesListing(String folderName, int parameters, BluetoothMasClient.MessagesFilter filter, int subjectLength, int maxListCount, int listStartOffset) argument
[all...]
/frameworks/base/cmds/uiautomator/
H A DAndroid.mk21 ifneq ($(filter uiautomator,$(TARGET_BUILD_APPS)),)
/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/docs/html/ndk/reference/
H A Ddynsections.js25 removeClass('even').filter(':visible:even').addClass('even');
58 var childRows = rows.filter(function() {
64 if (childRows.filter(':first').is(':visible')===true) {
65 currentRowImages.filter("[id^=arr]").attr('src', 'ftv2pnode.png');
66 currentRowImages.filter("[id^=img]").attr('src', 'ftv2folderclosed.png');
67 rows.filter("[id^=row_"+id+"]").hide();
71 var childImg = childImages.filter("[id^=img]");
72 var childArr = childImages.filter("[id^=arr]");
89 if (rows.filter(':first').is(':visible')===true) {

Completed in 1070 milliseconds

1234567891011>>