Searched refs:filter (Results 1 - 25 of 60) sorted by relevance

123

/sdk/ddms/libs/ddmuilib/tests/src/com/android/ddmuilib/logcat/
H A DLogCatFilterTest.java26 LogCatFilter filter = new LogCatFilter("",
29 /* filter message below filter's log level */
32 assertEquals(false, filter.matches(msg));
34 /* do not filter message above filter's log level */
37 assertEquals(true, filter.matches(msg));
41 LogCatFilter filter = new LogCatFilter("",
44 /* show message with pid matching filter */
47 assertEquals(true, filter
[all...]
/sdk/common/src/com/android/io/
H A DIAbstractFolder.java27 * filter filenames.
70 * that satisfy the specified filter.
72 * @param filter A filename filter instance. Must not be null.
76 String[] list(FilenameFilter filter); argument
H A DFolderWrapper.java146 public String[] list(FilenameFilter filter) { argument
152 if (filter.accept(this, file.getName())) {
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
H A DAllocationInfo.java190 * Returns true if the given filter matches case insensitively (according to
193 public boolean filter(String filter, boolean fullTrace, Locale locale) { argument
194 if (mAllocatedClass.toLowerCase(locale).contains(filter)) {
203 if (mStackTrace[i].getClassName().toLowerCase(locale).contains(filter)) {
207 if (mStackTrace[i].getMethodName().toLowerCase(locale).contains(filter)) {
/sdk/emulator/opengl/tests/emulator_test_renderer/
H A DAndroid.mk11 LOCAL_SDL_LDLIBS := $(filter-out %.a %.lib,$(shell $(LOCAL_SDL_CONFIG) --static-libs))
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
H A DLogPanel.java77 /** manual mode for filter. all filters are manually created. */
79 /** automatic mode for filter (pid mode).
82 /** automatic mode for filter (tag mode).
85 /** Manual filtering mode + new filter for debug app, if needed */
158 /** Default filter */
161 /** Current filter being displayed */
245 * Once found, the name is used to update a filter and a tab object
259 PsOutputReceiver(int pid, LogFilter filter, TabItem tabItem) { argument
261 mFilter = filter;
458 // for each filter, creat
920 createTab(LogFilter filter, int index, boolean fillTable) argument
1412 initFilter(LogFilter filter) argument
[all...]
H A DLogFilter.java34 /** logcat output filter class */
91 * Creates a filter with a particular mode.
152 /** Sets the name of the filter. */
165 * Set the Table ui widget associated with this filter.
175 * Returns true if the filter is ready for ui.
197 * Resets the filtering mode to be 0 (i.e. no filter).
224 /** Returns the pid filter if valid, otherwise -1 */
274 * Sets the selected state of the filter.
292 * @param logMessage the MessageData object to filter
314 boolean filter
[all...]
/sdk/monkeyrunner/jython/test/
H A Dall_tests.py30 return filter(TESTCASE_RE.search, os.listdir(path))
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
H A DUiModelTreeContentProvider.java82 * match the filter descriptor in the current root node.
87 * inputElement is not currently used. The root node and the filter are given
98 for (ElementDescriptor filter : mDescriptorFilters) {
99 if (ui_node.getDescriptor() == filter) {
/sdk/rule_api/src/com/android/ide/common/api/
H A DIClientRulesEngine.java99 * @param filter An optional filter to validate the input. Specify null (or
106 @Nullable IValidator filter);
183 * "layout", but should also attempt to filter out layout resources that cannot be
248 * @param filter a filter to change attributes in the process of measuring, for
254 Map<INode, Rect> measureChildren(@NonNull INode parent, @Nullable AttributeFilter filter); argument
264 * Returns the attribute value for the given node and attribute name. This filter
105 displayInput(@onNull String message, @Nullable String value, @Nullable IValidator filter) argument
/sdk/emulator/opengl/tests/translator_tests/GLES_CM/
H A DAndroid.mk9 LOCAL_SDL_LDLIBS := $(filter-out %.a %.lib,$(shell $(LOCAL_SDL_CONFIG) --static-libs))
/sdk/emulator/opengl/tests/translator_tests/GLES_V2/
H A DAndroid.mk9 LOCAL_SDL_LDLIBS := $(filter-out %.a %.lib,$(shell $(LOCAL_SDL_CONFIG) --static-libs))
/sdk/anttasks/src/com/android/ant/
H A DMultiFilesTask.java71 // files but we can filter them based on the first pre-req file.
150 * Returns a list of files found in given folders, all matching a given filter.
153 * @param filter the filter for the files. Typically a glob.
156 private Map<String, String> getFilesByNameEntryFilter(List<String> folders, String filter) { argument
160 Iterator<?> iterator = getFilesByNameEntryFilter(folder, filter);
171 * Returns a list of files found in a given folder, matching a given filter.
173 * @param filter the filter for the files. Typically a glob.
176 private Iterator<?> getFilesByNameEntryFilter(String folder, String filter) { argument
[all...]
H A DAaptExecTask.java311 public void setresourcefilter(String filter) { argument
312 if (filter != null && filter.length() > 0) {
313 mResourceFilter = filter;
495 "Creating resource package with filter: (%1$s)...",
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
H A DBaseLayoutRuleTest.java166 // First try with no filter
171 AttributeFilter filter = null;
175 layout.addAttributes(newNode, oldElement, idMap, filter);
184 // First try with no filter
188 AttributeFilter filter = new AttributeFilter() {
203 layout.addAttributes(newNode, oldElement, idMap, filter);
/sdk/uiautomatorviewer/src/com/android/uiautomator/
H A DOpenDialog.java169 String[] filter = {"*.png"};
170 fd.setFilterExtensions(filter);
199 String[] filter = {"*.uix"};
200 fd.setFilterExtensions(filter);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
H A DLintPreferencePage.java176 mSearch.setMessage("type filter text (use ~ to filter by severity, e.g. ~ignore)");
564 private boolean filterMatches(@NonNull String filter, @NonNull Issue issue) { argument
565 return (filter.startsWith("~") //$NON-NLS-1$
567 .toLowerCase(Locale.US).startsWith(filter.substring(1)))
568 || issue.getCategory().getName().toLowerCase(Locale.US).startsWith(filter)
569 || issue.getCategory().getFullName().toLowerCase(Locale.US).startsWith(filter)
570 || issue.getId().toLowerCase(Locale.US).contains(filter)
571 || issue.getDescription().toLowerCase(Locale.US).contains(filter);
609 String filter
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DImageUtils.java155 CropFilter filter = new CropFilter() {
164 return crop(image, filter, initialCrop, imageType);
204 CropFilter filter = new CropFilter() {
210 return crop(image, filter, initialCrop, imageType);
229 private static BufferedImage crop(BufferedImage image, CropFilter filter, Rect initialCrop, argument
266 if (!filter.crop(image, x, y1)) {
280 if (!filter.crop(image, x1, y)) {
289 if (!filter.crop(image, x2 - 1, y)) {
298 if (!filter.crop(image, x, y2 - 1)) {
/sdk/emulator/opengl/
H A Dcommon.mk104 $(if $(filter $(_emugl_$(_emugl_HOST)modules),$(_emugl_MODULE)),\
136 $(if $(filter-out $(_emugl_$(_emugl_HOST)modules),$1),\
145 $(if $(filter-out $(_emugl.$(_mod).imports),$1),\
153 $(if $(filter EXECUTABLE SHARED_LIBRARY,$(_emugl.$(_emugl_MODULE).type)),\
154 $(if $(filter STATIC_LIBRARY,$(_emugl.$1.type)),\
157 $(if $(filter SHARED_LIBRARY,$(_emugl.$1.type)),\
174 $(if $(filter C_INCLUDES ADDITIONAL_DEPENDENCIES,$(_type)),\
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/
H A DIFolderWrapper.java166 public String[] list(FilenameFilter filter) { argument
172 if (filter.accept(this, res.getName())) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
H A DBaseProjectHelper.java69 * Project filter to be used with {@link BaseProjectHelper#getAndroidProjects(IProjectFilter)}.
406 * @param filter an optional filter to control which android project are returned. Can be null.
409 public static @NonNull IJavaProject[] getAndroidProjects(@Nullable IProjectFilter filter) { argument
413 return getAndroidProjects(javaModel, filter);
421 * @param filter an optional filter to control which android project are returned. Can be null.
426 @Nullable IProjectFilter filter) {
446 if (filter == null || filter
425 getAndroidProjects(@onNull IJavaModel javaModel, @Nullable IProjectFilter filter) argument
[all...]
H A DProjectChooserHelper.java56 * Interface to filter out some project displayed by {@link ProjectChooserHelper}.
111 * @param filter a filter to only accept certain projects. Can be null.
113 public ProjectChooserHelper(Shell parentShell, IProjectChooserFilter filter) { argument
115 mFilter = filter;
174 // recompute only if we don't have the projects already or the filter is dynamic
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/
H A DSignedJarBuilder.java204 * @param filter the filter or <code>null</code>
206 * @throws ZipAbortException if the {@link IZipEntryFilter} filter indicated that the write
209 public void writeZip(InputStream input, IZipEntryFilter filter) argument
224 // if we have a filter, we check the entry against it
225 if (filter != null && filter.checkEntry(name) == false) {
/sdk/eclipse/scripts/
H A D_mk_icons.sh45 icon F blue intent-filter
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
H A DAttrsXmlParser.java577 * @param filter The child node to look for, either "enum" or "flag".
583 private String[] parseEnumFlagValues(Node attrNode, String filter, String attrName) { argument
586 if (child.getNodeType() == Node.ELEMENT_NODE && child.getNodeName().equals(filter)) {
591 attrName, filter);
603 attrName, filter, name);
620 attrName, filter, name, value);

Completed in 1033 milliseconds

123