Searched defs:filter (Results 1 - 25 of 114) sorted by last modified time

12345

/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DClassPathScanner.java38 * A filter for classpath entry paths
73 public void add(ClassNameFilter filter) { argument
74 mFilters.add(filter);
86 for (ClassNameFilter filter : mFilters) {
87 if (!filter.accept(className)) {
165 * Gets the names of all entries contained in given apk file, that match given filter.
168 private void addEntriesFromApk(Set<String> entryNames, String apkPath, ClassNameFilter filter) argument
176 if (filter.accept(apkClassName)) {
203 public Set<String> getClassPathEntries(ClassNameFilter filter) throws IOException { argument
207 addEntriesFromApk(entryNames, apkPath, filter);
[all...]
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java150 * predicated on predefined filter.
153 * @param filter
158 AccessibilityEventFilter filter, long timeout) {
161 return mUiAutomatorBridge.executeCommandAndWaitForAccessibilityEvent(command, filter,
157 runAndWaitForEvents(Runnable command, AccessibilityEventFilter filter, long timeout) argument
H A DUiAutomatorBridge.java103 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException {
105 filter, timeoutMillis);
102 executeCommandAndWaitForAccessibilityEvent(Runnable command, AccessibilityEventFilter filter, long timeoutMillis) argument
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java37 public TestCaseCollector(ClassLoader classLoader, TestCaseFilter filter) { argument
40 mFilter = filter;
/frameworks/volley/src/com/android/volley/
H A DRequestQueue.java175 * A simple predicate or filter interface for Requests, for use by
183 * Cancels all requests in this queue for which the given filter applies.
184 * @param filter The filtering function to use
186 public void cancelAll(RequestFilter filter) { argument
189 if (filter.apply(request)) {
/frameworks/support/v4/java/android/support/v4/content/
H A DLocalBroadcastManager.java48 final IntentFilter filter; field in class:LocalBroadcastManager.ReceiverRecord
53 filter = _filter;
62 builder.append(" filter=");
63 builder.append(filter);
129 * @param filter Selects the Intent broadcasts to be received.
133 public void registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { argument
135 ReceiverRecord entry = new ReceiverRecord(filter, receiver);
141 filters.add(filter);
142 for (int i=0; i<filter.countActions(); i++) {
143 String action = filter
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java1551 if (filter(child)) {
1583 if (!filter(child)) {
1589 public boolean filter(View child) { method in class:DrawerLayout.AccessibilityDelegate
H A DSlidingPaneLayout.java1418 if (!filter(child) && (child.getVisibility() == View.VISIBLE)) {
1437 if (!filter(child)) {
1443 public boolean filter(View child) { method in class:SlidingPaneLayout.AccessibilityDelegate
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteDescriptor.java326 * Adds a {@link MediaControlIntent media control intent} filter for the route.
328 public Builder addControlFilter(IntentFilter filter) { argument
329 if (filter == null) {
330 throw new IllegalArgumentException("filter must not be null");
336 if (!mControlFilters.contains(filter)) {
337 mControlFilters.add(filter);
351 for (IntentFilter filter : filters) {
352 addControlFilter(filter);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp6871 void GLTrace_glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { argument
6931 // copy argument filter
6935 arg_filter->add_intvalue((int)filter);
6940 glContext->hooks->gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
11726 void GLTrace_glBlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { argument
11786 // copy argument filter
11790 arg_filter->add_intvalue((int)filter);
11795 glContext->hooks->gl.glBlitFramebufferANGLE(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES11RenderEngine.cpp154 GLenum filter = GL_NEAREST; local
156 filter = GL_LINEAR;
160 glTexParameterx(target, GL_TEXTURE_MAG_FILTER, filter);
161 glTexParameterx(target, GL_TEXTURE_MIN_FILTER, filter);
H A DGLES20RenderEngine.cpp125 GLenum filter = GL_NEAREST; local
127 filter = GL_LINEAR;
131 glTexParameteri(target, GL_TEXTURE_MAG_FILTER, filter);
132 glTexParameteri(target, GL_TEXTURE_MIN_FILTER, filter);
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java195 private static int filter(EventRecurrence r, Time iterator) method in class:RecurrenceProcessor
297 // Not allowed, filter it out.
309 // if we got to here, we didn't filter it out
988 // filter and then add
990 // passing the "end" date) unless the filter
992 int filtered = filter(r, generated);
/frameworks/ex/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java113 public DirectoryFilter filter; field in class:BaseRecipientAdapter.DirectorySearchParams
216 * An asynchronous filter used for loading two data sets: email rows from the local
243 Log.w(TAG, "null cursor returned for default Email filter query.");
350 * An asynchronous filter that performs search in a particular directory.
663 if (params.filter == null) {
664 params.filter = new DirectoryFilter(params);
666 params.filter.setLimit(limit);
667 params.filter.filter(constraint);
/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/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java106 public DirectoryPartitionFilter filter; field in class:BaseEmailAddressAdapter.DirectoryPartition
159 * An asynchronous filter used for loading two data sets: email rows from the local
208 * An asynchronous filter that performs search in a particular directory.
298 * displayed temporarily while the corresponding filter is running.
430 // The filter has loaded results for the default partition too.
468 if (partition.filter == null) {
469 partition.filter = new DirectoryPartitionFilter(i, partition.directoryId);
471 partition.filter.setLimit(limit);
472 partition.filter.filter(constrain
[all...]
/frameworks/compile/mclinker/include/mcld/
H A DGeneralOptions.h302 // ----- filter and auxiliary filter ----- //
306 const std::string& filter() const function in class:mcld::GeneralOptions
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp2202 count = filter(bundle);
2404 status_t AaptAssets::filter(Bundle* bundle) function in class:AaptAssets
2424 printf("Applying required filter: %s\n",
2428 printf("Applying preferred filter: %s\n",
H A DCommand.cpp1314 if (tag == "intent-filter") {
1888 ResourceFilter filter; local
1889 err = filter.parse(bundle->getConfigurations());
1893 if (filter.containsPseudo()) {
H A DPackage.cpp41 const AaptGroupEntry& ge, const ResourceFilter* filter);
224 ResourceFilter filter; local
225 status_t status = filter.parse(bundle->getConfigurations());
236 ssize_t res = processAssets(bundle, zip, assets, ge, &filter);
248 const AaptGroupEntry& ge, const ResourceFilter* filter)
257 const bool filterable = filter != NULL && subDir->getLeaf().find("mipmap-") != 0;
259 if (filterable && subDir->getLeaf() != subDir->getPath() && !filter->match(ge.toParams())) {
263 ssize_t res = processAssets(bundle, zip, subDir, ge, filterable ? filter : NULL);
270 if (filter != NULL && !filter
247 processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir, const AaptGroupEntry& ge, const ResourceFilter* filter) argument
[all...]
H A DResourceTable.cpp2650 ResourceFilter filter; local
2651 status_t err = filter.parse(bundle->getConfigurations());
2713 if (filterable && !filter.match(config)) {
2855 if (filterable && !filter.match(cl->getEntries().keyAt(ci))) {
2859 if (filterable && !filter.match(cl->getEntries().keyAt(cj))) {
2901 if (filterable && !filter.match(config)) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java273 /*package*/ static void setFilterBitmap(Paint thisPaint, boolean filter) { argument
274 setFlag(thisPaint, Paint.FILTER_BITMAP_FLAG, filter);
796 /*package*/ static int native_setColorFilter(int native_object, int filter) { argument
800 return filter;
803 delegate.mColorFilter = ColorFilter_Delegate.getDelegate(filter);;
811 return filter;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java467 public void setInputFilter(IInputFilter filter) throws RemoteException { argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
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...]
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...]

Completed in 506 milliseconds

12345