Searched defs:filter (Results 51 - 75 of 146) sorted by relevance

123456

/frameworks/volley/src/com/android/volley/
H A DRequestQueue.java174 * A simple predicate or filter interface for Requests, for use by
182 * Cancels all requests in this queue for which the given filter applies.
183 * @param filter The filtering function to use
185 public void cancelAll(RequestFilter filter) { argument
188 if (filter.apply(request)) {
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp63 const RingBufferComparator& filter,
88 int ret = filter.compare(accPtr, &cur);
62 pinSelectedBuffer( const RingBufferComparator& filter, bool waitForFence) argument
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java363 HashSet<String> filter = null;
365 if (filter == null) filter = new HashSet<String>();
366 filter.add(arg);
369 doRestoreAll(token, filter);
404 private void doRestoreAll(long token, HashSet<String> filter) { argument
423 if (filter == null) {
426 String[] names = new String[filter.size()];
427 filter.toArray(names);
513 System.err.println("'restore' operation supplying only a token, but applies a filter t
[all...]
/frameworks/base/core/java/android/content/pm/
H A DResolveInfo.java66 public IntentFilter filter; field in class:ResolveInfo
99 * This filter has specified the Intent.CATEGORY_DEFAULT, meaning it
238 if (filter != null) {
240 filter.dump(pw, prefix + " ");
275 filter = orig.filter;
330 if (filter != null) {
332 filter.writeToParcel(dest, parcelableFlags);
378 filter = IntentFilter.CREATOR.createFromParcel(source);
/frameworks/base/core/java/android/hardware/
H A DLegacySensorManager.java270 v[0] = mYawfilter.filter(event.timestamp, v[0]);
381 public float filter(long time, float in) { method in class:LegacySensorManager.LmsFilter
/frameworks/base/core/java/android/net/
H A DNetworkFactory.java40 * If any requests pass the filter some overrideable functions will be called.
89 * Internally used to set our current filter for coarse bandwidth changes with
91 * msg.obj = new filter
108 NetworkCapabilities filter) {
112 mCapabilityFilter = filter;
175 if (VDBG) log(" my score=" + mScore + ", my filter=" + mCapabilityFilter);
203 * acceptRequest can be overriden to provide complex filter behavior
213 * your score filter to a very high number and watch {@link #needNetworkFor}.
107 NetworkFactory(Looper looper, Context context, String logTag, NetworkCapabilities filter) argument
/frameworks/base/core/java/android/text/util/
H A DLinkify.java321 * @param matchFilter The filter that is used to allow the client code
360 * @param matchFilter The filter that is used to allow the client code
399 Matcher m, TransformFilter filter) {
400 if (filter != null) {
401 url = filter.transformUrl(m, url);
398 makeUrl(String url, String[] prefixes, Matcher m, TransformFilter filter) argument
/frameworks/base/libs/hwui/
H A DLayer.cpp195 void Layer::setColorFilter(SkColorFilter* filter) { argument
196 SkRefCnt_SafeAssign(colorFilter, filter);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
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 DFilterPort.java38 public FilterPort(Filter filter, String name) { argument
40 mFilter = filter;
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPolicyControl.java134 private static void dump(String name, Filter filter, String prefix, PrintWriter pw) { argument
136 if (filter == null) {
139 filter.dump(pw); pw.println();
/frameworks/base/services/core/java/com/android/server/notification/
H A DNextAlarmConditionProvider.java75 public void dump(PrintWriter pw, DumpFilter filter) { argument
H A DRankingHelper.java348 public void dump(PrintWriter pw, String prefix, NotificationManagerService.DumpFilter filter) { argument
349 if (filter == null) {
361 if (filter == null) {
367 if (filter == null || filter.matches(name)) {
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java83 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { 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 DInputPort.java22 * Input ports are the receiving ports of frames in a filter.
24 * InputPort instances receive Frame data from connected OutputPort instances of a previous filter.
70 + mField + " of filter " + mFilter + " caused exception!", e);
109 * Use this when you wish to pull frames directly into a field of the filter. This requires
129 * Use this when you wish to pull frames directly into a field of the filter. This requires
232 * Returns whether the filter waits for a frame on this port before processing.
233 * @return true, if the filter waits for a frame on this port before processing.
261 * Return the filter object that this port belongs to.
263 * @return the input port's filter.
275 InputPort(Filter filter, Strin argument
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES11RenderEngine.cpp185 GLenum filter = GL_NEAREST; local
187 filter = GL_LINEAR;
191 glTexParameterx(target, GL_TEXTURE_MAG_FILTER, filter);
192 glTexParameterx(target, GL_TEXTURE_MIN_FILTER, filter);
H A DGLES20RenderEngine.cpp159 GLenum filter = GL_NEAREST; local
161 filter = GL_LINEAR;
165 glTexParameteri(target, GL_TEXTURE_MAG_FILTER, filter);
166 glTexParameteri(target, GL_TEXTURE_MIN_FILTER, filter);
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java202 public void setFilterBitmap(boolean filter) { argument
203 mPaint.setFilterBitmap(filter);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DTintManager.java188 // First, lets see if the cache already contains the color filter
189 PorterDuffColorFilter filter = COLOR_FILTER_CACHE.get(color, tintMode);
191 if (filter == null) {
192 // Cache miss, so create a color filter and add it to the cache
193 filter = new PorterDuffColorFilter(color, tintMode);
194 COLOR_FILTER_CACHE.put(color, tintMode, filter);
197 // Finally set the color filter
198 drawable.setColorFilter(filter);
394 PorterDuffColorFilter put(int color, PorterDuff.Mode mode, PorterDuffColorFilter filter) { argument
395 return put(generateCacheKey(color, mode), filter);
[all...]
/frameworks/base/cmds/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
/frameworks/base/core/java/android/app/
H A DUiAutomation.java154 * @return True if the event is accepted, false to filter it out.
490 * filter that keeps track of seen events of the expected sequence and
496 * @param filter Filter that recognizes the expected event.
502 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException {
512 // can bite. We will correctly filter out events from other interactions,
533 if (filter.accept(event)) {
501 executeAndWaitForEvent(Runnable command, AccessibilityEventFilter filter, long timeoutMillis) argument
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java340 * throw an {@link InflateException}. This filter will replace any previous filter set on this
343 * @param filter The Filter which restricts the set of Views that are allowed to be inflated.
344 * This filter will replace any previous filter set on this LayoutInflater.
346 public void setFilter(Filter filter) { argument
347 mFilter = filter;
348 if (filter != null) {
583 // If we have a filter, apply it to cached constructor
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java34 * An interface for a task filter to query whether a particular task should show in a stack.
37 /** Returns whether the filter accepts the specified task */
50 /** Sets the task filter, saving the current touch state */
51 boolean setFilter(TaskFilter filter) { argument
53 mFilter = filter;
58 // If the tasks are exactly the same pre/post filter, then just reset it
72 /** Removes the task filter and returns the previous touch state */
321 // Set the task list filter
338 // Unset the filter, then update the virtual scroll
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java53 Slog.v(TAG, "Adding filter: " + f);
197 Slog.v(TAG, "Removing filter: " + f);
227 F filter;
230 for (int i=0; i<N && (filter=a[i]) != null; i++) {
231 if (packageName != null && !isPackageForFilter(packageName, filter)) {
234 Object label = filterToLabel(filter);
255 for (int i=0; i<N && (filter=a[i]) != null; i++) {
256 if (packageName != null && !isPackageForFilter(packageName, filter)) {
268 dumpFilter(out, fprefix, filter);
273 filter
475 allowFilterResult(F filter, List<R> dest) argument
484 isFilterStopped(F filter, int userId) argument
493 isPackageForFilter(String packageName, F filter) argument
498 newResult(F filter, int match, int userId) argument
507 dumpFilter(PrintWriter out, String prefix, F filter) argument
511 filterToLabel(F filter) argument
519 addFilter(ArrayMap<String, F[]> map, String name, F filter) argument
542 register_mime_types(F filter, String prefix) argument
573 unregister_mime_types(F filter, String prefix) argument
603 register_intent_filter(F filter, Iterator<String> i, ArrayMap<String, F[]> dest, String prefix) argument
619 unregister_intent_filter(F filter, Iterator<String> i, ArrayMap<String, F[]> dest, String prefix) argument
[all...]

Completed in 7573 milliseconds

123456