/frameworks/base/libs/hwui/ |
H A D | ResourceCache.cpp | 376 SkiaColorFilter* filter = (SkiaColorFilter*) resource; local 377 delete filter;
|
H A D | Texture.h | 46 inline void setFilter(GLenum filter, bool bindTexture = false, bool force = false, argument 48 setFilterMinMag(filter, filter, bindTexture, force, renderTarget);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SyncRunner.java | 162 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 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;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | OutputPort.java | 28 * be consumed by the target filter before a new frame can be pushed on the output port. If the 105 * @param wait true, if filter should wait for the port to become available before processing. 113 * Returns whether the filter waits until this port is available before processing. 114 * @return true, if the filter waits until this port is available before processing. 132 * Return the filter object that this port belongs to. 134 * @return the output port's filter. 145 OutputPort(Filter filter, String name, Signature.PortInfo info) { argument 146 mFilter = filter;
|
H A D | Signature.java | 26 * A Signature holds the specification for a filter's input and output ports. 28 * A Signature instance must be returned by the filter's {@link Filter#getSignature()} method. It 29 * specifies the number and names of the filter's input and output ports, whether or not they 31 * time. This makes Signatures useful for understanding how a filter can be integrated into a 171 void checkInputPortsConform(Filter filter) { argument 173 filterInputs.addAll(filter.getConnectedInputPortMap().keySet()); 178 InputPort inputPort = filter.getConnectedInputPort(portName); 180 throw new RuntimeException("Filter " + filter + " does not have required " 187 throw new RuntimeException("Filter " + filter + " has invalid input ports: " 192 void checkOutputPortsConform(Filter filter) { argument [all...] |
H A D | FilterGraph.java | 40 * 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 D | InputPort.java | 22 * 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
H A D | MffFilterTestCase.java | 35 * A {@link TestCase} for testing single MFF filter runs. Implementers should extend this class and 36 * implement the {@link #createFilter(MffContext)} method to create the filter under test. Inside 37 * each test method, the implementer should supply one or more frames for all the filter inputs 105 FrameSourceFilter filter = (FrameSourceFilter) mGraph.getFilter("in_" + portName); 106 filter.injectFrame(frame); 110 * Returns the frame pushed out by the filter under test. Should only be called after 137 MffContext mffContext, FilterGraph.Builder graphBuilder, Filter filter) { 138 Signature signature = filter.getSignature(); 142 graphBuilder.connect(inputFilter, "output", filter, inputPortEntry.getKey()); 147 MffContext mffContext, FilterGraph.Builder graphBuilder, Filter filter) { 136 connectInputPorts( MffContext mffContext, FilterGraph.Builder graphBuilder, Filter filter) argument 146 connectOutputPorts( MffContext mffContext, FilterGraph.Builder graphBuilder, Filter filter) argument [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | LocalBroadcastManager.java | 48 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/testing/androidtestlib/src/com/android/test/runner/ |
H A D | ClassPathScanner.java | 38 * 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 D | UiAutomatorBridge.java | 103 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException { 105 filter, timeoutMillis); 102 executeCommandAndWaitForAccessibilityEvent(Runnable command, AccessibilityEventFilter filter, long timeoutMillis) argument
|
/frameworks/uiautomator/core/com/android/uiautomator/core/ |
H A D | UiAutomatorBridge.java | 103 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException { 105 filter, timeoutMillis); 102 executeCommandAndWaitForAccessibilityEvent(Runnable command, AccessibilityEventFilter filter, long timeoutMillis) argument
|
/frameworks/volley/src/com/android/volley/ |
H A D | RequestQueue.java | 175 * 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/av/services/camera/libcameraservice/gui/ |
H A D | RingBufferConsumer.cpp | 59 const RingBufferComparator& filter, 84 int ret = filter.compare(accPtr, &cur); 58 pinSelectedBuffer( const RingBufferComparator& filter, bool waitForFence) argument
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
H A D | Bmgr.java | 333 HashSet<String> filter = null; 335 if (filter == null) filter = new HashSet<String>(); 336 filter.add(arg); 339 doRestoreAll(token, filter); 374 private void doRestoreAll(long token, HashSet<String> filter) { argument 393 if (filter == null) { 396 String[] names = new String[filter.size()]; 397 filter.toArray(names); 482 System.err.println("'restore' operation supplying only a token, but applies a filter t [all...] |
/frameworks/base/core/java/android/app/ |
H A D | UiAutomation.java | 146 * @return True if the event is accepted, false to filter it out. 433 * filter that keeps track of seen events of the expected sequence and 439 * @param filter Filter that recognizes the expected event. 445 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException { 455 // can bite. We will correctly filter out events from other interactions, 476 if (filter.accept(event)) { 444 executeAndWaitForEvent(Runnable command, AccessibilityEventFilter filter, long timeoutMillis) argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ResolveInfo.java | 65 public IntentFilter filter; field in class:ResolveInfo 98 * This filter has specified the Intent.CATEGORY_DEFAULT, meaning it 223 if (filter != null) { 225 filter.dump(pw, prefix + " "); 259 filter = orig.filter; 309 if (filter != null) { 311 filter.writeToParcel(dest, parcelableFlags); 355 filter = IntentFilter.CREATOR.createFromParcel(source);
|
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 270 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/text/util/ |
H A D | Linkify.java | 321 * @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/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 85 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { argument
|
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 41 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...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES11RenderEngine.cpp | 154 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 D | GLES20RenderEngine.cpp | 125 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);
|