Searched refs:pattern (Results 1 - 25 of 27) sorted by relevance

12

/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
H A DAbstractBufferFindTarget.java49 // Create a regex pattern based on the search term.
50 Pattern pattern;
52 pattern = mLastSearchPattern;
54 pattern = Pattern.compile(text, Pattern.CASE_INSENSITIVE);
55 mLastSearchPattern = pattern;
64 if (msgText != null && pattern.matcher(msgText).find()) {
H A DSysinfoPanel.java419 Pattern pattern = Pattern
428 Matcher m = pattern.matcher(line);
445 Pattern pattern = Pattern
458 Matcher m = pattern.matcher(line);
/sdk/traceview/src/com/android/traceview/
H A DTraceUnits.java41 String pattern;
44 pattern = "###,###";
46 pattern = "###,###.###";
47 mFormatter.applyPattern(pattern);
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
H A DClassContext.java252 * @param patternStart optional pattern to search for in the source for
254 * @param patternEnd optional pattern to search for in the source for range
256 * @param hints additional hints about the pattern search (provided
456 String pattern;
458 pattern = classNode.superName;
460 pattern = classNode.name;
462 int index = pattern.lastIndexOf('$');
464 pattern = pattern.substring(index + 1);
466 index = pattern
[all...]
H A DLocation.java276 * @param patternStart an optional pattern to search for from the line
278 * pattern start
279 * @param patternEnd an optional pattern to search for behind the start
280 * pattern; if found, adjust the end offset to match the end of
281 * the pattern
282 * @param hints optional additional information regarding the pattern search
378 private static int findPreviousMatch(@NonNull String contents, int offset, String pattern, argument
381 int index = contents.lastIndexOf(pattern, offset);
385 if (isMatch(contents, index, pattern, hints)) {
388 offset = index - pattern
394 findNextMatch(@onNull String contents, int offset, String pattern, @Nullable SearchHints hints) argument
423 isMatch(@onNull String contents, int offset, String pattern, @Nullable SearchHints hints) argument
[all...]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
H A DViewNode.java118 public void filter(Pattern pattern) { argument
119 if (pattern == null || pattern.pattern().length() == 0) {
122 filtered = pattern.matcher(shortName).find() || pattern.matcher(id).find();
/sdk/chimpchat/src/com/android/chimpchat/adb/
H A DAdbBackend.java86 Pattern pattern = Pattern.compile(deviceIdRegex);
89 if (pattern.matcher(serialNumber).matches()) {
H A DAdbChimpDevice.java508 Pattern pattern = Pattern.compile("^INSTRUMENTATION_(\\w+): ", Pattern.MULTILINE);
509 Matcher matcher = pattern.matcher(result);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
H A DConvertToDpFix.java62 Pattern pattern = Pattern.compile("(\\d+)px"); //$NON-NLS-1$
68 Matcher matcher = pattern.matcher(value);
H A DAddSuppressAnnotation.java337 Pattern pattern = Pattern.compile("\\s(\\d+)\\s"); //$NON-NLS-1$
338 Matcher matcher = pattern.matcher(message);
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
H A DSecurityDetector.java314 Attr pattern = element.getAttributeNodeNS(ANDROID_URI, ATTR_PATH_PATTERN);
323 if (pattern != null && (pattern.getValue().equals("/") //$NON-NLS-1$
324 /* || pattern.getValue().equals(".*")*/)) {
325 context.report(OPEN_PROVIDER, pattern, context.getLocation(pattern), msg, null);
H A DOnClickDetector.java145 Pattern pattern = Pattern.compile("\\\\u(\\d\\d\\d\\d)"); //$NON-NLS-1$
146 Matcher matcher = pattern.matcher(value);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
H A DManifestInfo.java534 SearchPattern pattern = SearchPattern.createPattern(field, REFERENCES);
536 search(requestor, javaProject, pattern);
676 SearchPattern pattern = SearchPattern.createPattern(method,
678 search(requestor, javaProject, pattern);
693 * Performs a search using the given pattern, scope and handler. The search will abort
697 SearchPattern pattern) throws CoreException {
723 engine.search(pattern, participants, scope, requestor, monitor);
696 search(SearchRequestor requestor, IJavaProject javaProject, SearchPattern pattern) argument
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
H A DDeviceBridge.java223 Pattern pattern = Pattern.compile(".*?\\([0-9]{8} ([0-9]{8}).*");
224 Matcher matcher = pattern.matcher(strings[0]);
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/
H A DTypoLookupTest.java363 for (Pattern pattern : patterns) {
364 if (pattern.matcher(typo).matches()) {
467 for (Pattern pattern : patterns) {
468 if (pattern.matcher(typo).matches()) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DCustomViewFinder.java257 SearchPattern pattern = SearchPattern.createPattern("*",
261 engine.search(pattern, participants, scope, requestor,
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
H A DRefactoringTest.java234 Pattern pattern = Pattern.compile("(\\s*)(\\S+) \\[(\\d+),(\\d+),(\\d+),(\\d+)\\].*");
237 Matcher matcher = pattern.matcher(description);
/sdk/common/src/com/android/utils/
H A DPositionXmlParser.java339 Pattern pattern = Pattern.compile(
341 Matcher matcher = pattern.matcher(contents);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
H A DSourceRevealer.java392 private List<SearchMatch> searchForPattern(String pattern, int searchFor, argument
396 pattern,
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
H A DAaptParser.java42 // TODO: rename the pattern to something that makes sense + javadoc comments.
166 Pattern.compile(" \\(skipping .+ '(.+)' due to ANDROID_AAPT_IGNORE pattern '.+'\\)"); //$NON-NLS-1$
746 * @param pattern The pattern to match
750 int nextIndex, Pattern pattern) {
758 Matcher m = pattern.matcher(lines[nextIndex]);
749 getNextLineMatcher(String[] lines, int nextIndex, Pattern pattern) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/core/
H A DAndroidPackageRenameParticipant.java237 SearchPattern pattern = SearchPattern.createPattern("*",
263 searchEngine.search(pattern, new SearchParticipant[] {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
H A DTestNode.java454 Pattern pattern = Pattern.compile("^\\s*(.+)\\s+\\[(.+)\\]\\s*(<.+>)?\\s*(\\S+)?\\s*$");
455 Matcher matcher = pattern.matcher(desc);
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
H A DDeviceBridge.java281 Pattern pattern = Pattern.compile(".*?\\([0-9]{8} ([0-9]{8}).*"); //$NON-NLS-1$
282 Matcher matcher = pattern.matcher(strings[0]);
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
H A DWorkspace.java1003 final Pattern pattern = Pattern.compile(filterText, Pattern.CASE_INSENSITIVE);
1004 filterNodes(pattern, root);
1011 private void filterNodes(Pattern pattern, ViewNode root) { argument
1012 root.filter(pattern);
1015 filterNodes(pattern, node);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
H A DHyperlinks.java643 SearchPattern pattern = SearchPattern.createPattern("*." + method,
646 engine.search(pattern, participants, scope, requestor, new NullProgressMonitor());
654 engine.search(pattern, participants, scope, requestor, new NullProgressMonitor());

Completed in 420 milliseconds

12