/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDisconnectedReceiver.java | 39 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 D | SafetyWarningDialog.java | 58 final IntentFilter filter = new IntentFilter(Intent.ACTION_CLOSE_SYSTEM_DIALOGS); 59 context.registerReceiver(mReceiver, filter);
|
H A D | VolumeDialogController.java | 747 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 D | VolumeUI.java | 176 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 D | NetworkActivity.java | 88 IntentFilter filter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); 90 this.registerReceiver(receiver, filter);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES30.java | 727 // 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 D | Android.mk | 38 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | MimePredicate.java | 62 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 D | android_media_MediaPlayer.cpp | 767 // 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 D | SingleFilterEffect.java | 42 * @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 D | BackDropperEffect.java | 47 "@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 D | FilterFunctionEnvironment.java | 56 * 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 D | FieldPort.java | 32 public FieldPort(Filter filter, String name, Field field, boolean hasDefault) { argument 33 super(filter, name);
|
H A D | FilterContext.java | 69 public void onFrameReceived(Filter filter, Frame frame, Object userData); argument
|
H A D | FilterFactory.java | 62 * 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 D | FilterFunction.java | 38 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 D | FilterGraph.java | 65 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 D | FilterPort.java | 38 public FilterPort(Filter filter, String name) { argument 40 mFilter = filter;
|
H A D | FinalPort.java | 27 public FinalPort(Filter filter, String name, Field field, boolean hasDefault) { argument 28 super(filter, name, field, hasDefault);
|
H A D | InputPort.java | 27 public InputPort(Filter filter, String name) { argument 28 super(filter, name);
|
H A D | OneShotScheduler.java | 28 * 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 D | OutputPort.java | 28 public OutputPort(Filter filter, String name) { argument 29 super(filter, name);
|
H A D | ProgramPort.java | 29 public ProgramPort(Filter filter, argument 34 super(filter, name, field, hasDefault);
|
H A D | RandomScheduler.java | 44 for (Filter filter : getGraph().getFilters()) { 45 if (filter.canProcess()) 46 candidates.add(filter);
|
H A D | RoundRobinScheduler.java | 48 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;
|