Searched refs:filter (Results 251 - 275 of 394) sorted by last modified time

<<111213141516

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDisconnectedReceiver.java39 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_DEVICE_DETACHED);
40 activity.registerReceiver(this, filter);
47 IntentFilter filter = new IntentFilter(UsbManager.ACTION_USB_ACCESSORY_DETACHED);
48 activity.registerReceiver(this, filter);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSafetyWarningDialog.java58 final IntentFilter filter = new IntentFilter(Intent.ACTION_CLOSE_SYSTEM_DIALOGS);
59 context.registerReceiver(mReceiver, filter);
H A DVolumeDialogController.java747 final IntentFilter filter = new IntentFilter();
748 filter.addAction(AudioManager.VOLUME_CHANGED_ACTION);
749 filter.addAction(AudioManager.STREAM_DEVICES_CHANGED_ACTION);
750 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION);
751 filter.addAction(AudioManager.INTERNAL_RINGER_MODE_CHANGED_ACTION);
752 filter.addAction(AudioManager.STREAM_MUTE_CHANGED_ACTION);
753 filter.addAction(NotificationManager.ACTION_EFFECTS_SUPPRESSOR_CHANGED);
754 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
755 filter.addAction(Intent.ACTION_SCREEN_OFF);
756 filter
[all...]
H A DVolumeUI.java176 final IntentFilter filter = new IntentFilter();
177 filter.addAction(ENABLE);
178 filter.addAction(DISABLE);
179 filter.addAction(PREF);
180 mContext.registerReceiver(this, filter, null, mHandler);
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java88 IntentFilter filter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION);
90 this.registerReceiver(receiver, filter);
/frameworks/base/opengl/java/android/opengl/
H A DGLES30.java727 // C function void glBlitFramebuffer ( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter )
739 int filter
/frameworks/base/packages/DocumentsUI/
H A DAndroid.mk38 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
/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/media/jni/
H A Dandroid_media_MediaPlayer.cpp767 // Sends the new filter to the client.
777 Parcel *filter = parcelForJavaObject(env, request); local
779 if (filter == NULL ) {
784 return (jint) media_player->setMetadataFilter(*filter);
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DSingleFilterEffect.java42 * @param filterClass The class of the filter to wrap.
60 Filter filter = factory.createFilterByClass(filterClass, filterName);
61 filter.initWithAssignmentList(finalParameters);
63 mFunction = new FilterFunction(getFilterContext(), filter);
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DBackDropperEffect.java47 "@filter GLTextureSource foreground {\n" +
54 "@filter MediaSource background {\n" +
60 "@filter BackDropperFilter replacer {\n" +
64 "@filter GLTextureTarget output {\n" +
75 public void onLearningDone(BackDropperFilter filter) {
/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/base/media/mca/filterfw/java/android/filterfw/core/
H A DFieldPort.java32 public FieldPort(Filter filter, String name, Field field, boolean hasDefault) { argument
33 super(filter, name);
H A DFilterContext.java69 public void onFrameReceived(Filter filter, Frame frame, Object userData); argument
H A DFilterFactory.java62 * library, which a filter may well have.
65 if (mLogVerbose) Log.v(TAG, "Adding filter library " + libraryPath);
82 throw new IllegalArgumentException("Unknown filter package '" + packageName + "'!");
108 throw new IllegalArgumentException("Unknown filter class '" + className + "'!");
127 throw new IllegalArgumentException("The filter class '" + filterClass
131 // Construct the filter
132 Filter filter = null;
134 filter = (Filter)filterConstructor.newInstance(filterName);
139 if (filter == null) {
140 throw new IllegalArgumentException("Could not construct the filter '"
[all...]
H A DFilterFunction.java38 public FilterFunction(FilterContext context, Filter filter) { argument
40 mFilter = filter;
48 throw new RuntimeException("Calling execute on filter " + mFilter + " with multiple "
52 // Setup filter
75 // Process the filter
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;
H A DFinalPort.java27 public FinalPort(Filter filter, String name, Field field, boolean hasDefault) { argument
28 super(filter, name, field, hasDefault);
H A DInputPort.java27 public InputPort(Filter filter, String name) { argument
28 super(filter, name);
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 DOutputPort.java28 public OutputPort(Filter filter, String name) { argument
29 super(filter, name);
H A DProgramPort.java29 public ProgramPort(Filter filter, argument
34 super(filter, name, field, hasDefault);
H A DRandomScheduler.java44 for (Filter filter : getGraph().getFilters()) {
45 if (filter.canProcess())
46 candidates.add(filter);
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;

Completed in 1251 milliseconds

<<111213141516