Home
last modified time | relevance | path

Searched refs:matcher (Results 1 – 25 of 36) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptParser.java246 m = sPattern0Line1.matcher(p); in parseOutput()
252 m = sPattern1Line1.matcher(p); in parseOutput()
274 m = sPattern7Line1.matcher(p); in parseOutput()
299 m = sPattern2Line1.matcher(p); in parseOutput()
321 m = sPattern3Line1.matcher(p); in parseOutput()
337 m = sPattern4Line1.matcher(p); in parseOutput()
361 m = sPattern5Line1.matcher(p); in parseOutput()
377 m = sPattern6Line1.matcher(p); in parseOutput()
393 m = sPattern8Line1.matcher(p); in parseOutput()
408 m = sPattern9Line1.matcher(p); in parseOutput()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java57 assertTrue(Hyperlinks.CLASS_PATTERN.matcher("com.android.Foo").matches()); in testFqnRegexp()
58 assertTrue(Hyperlinks.CLASS_PATTERN.matcher("com.android.pk_g.Foo_Bar1"). in testFqnRegexp()
60 assertTrue(Hyperlinks.CLASS_PATTERN.matcher("com.android.Foo$Inner").matches()); in testFqnRegexp()
65 assertTrue(Hyperlinks.CLASS_PATTERN.matcher("Foo.bar").matches()); in testFqnRegexp()
67 assertFalse(Hyperlinks.CLASS_PATTERN.matcher("LinearLayout").matches()); in testFqnRegexp()
68 assertFalse(Hyperlinks.CLASS_PATTERN.matcher(".").matches()); in testFqnRegexp()
69 assertFalse(Hyperlinks.CLASS_PATTERN.matcher(".F").matches()); in testFqnRegexp()
70 assertFalse(Hyperlinks.CLASS_PATTERN.matcher("f.").matches()); in testFqnRegexp()
71 assertFalse(Hyperlinks.CLASS_PATTERN.matcher("Foo").matches()); in testFqnRegexp()
72 assertFalse(Hyperlinks.CLASS_PATTERN.matcher("com.android.1Foo").matches()); in testFqnRegexp()
[all …]
DAndroidXmlCharacterMatcherTest.java116 AndroidXmlCharacterMatcher matcher = new AndroidXmlCharacterMatcher(); in checkGotoMatching() local
119 IRegion match = matcher.match(document, caretPosBefore); in checkGotoMatching()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DConvertToDpFix.java68 Matcher matcher = pattern.matcher(value); in apply() local
69 if (matcher.matches()) { in apply()
70 String numberString = matcher.group(1); in apply()
DAddSuppressAttribute.java185 Matcher matcher = pattern.matcher(message); in createFixes() local
186 if (matcher.find()) { in createFixes()
187 api = Integer.parseInt(matcher.group(1)); in createFixes()
DAddSuppressAnnotation.java340 Matcher matcher = pattern.matcher(message); in createFixes() local
341 if (matcher.find()) { in createFixes()
342 api = Integer.parseInt(matcher.group(1)); in createFixes()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DDeviceBridge.java224 Matcher matcher = pattern.matcher(strings[0]); in processNewLines() local
225 if (matcher.matches()) { in processNewLines()
226 if (Integer.parseInt(matcher.group(1)) == 1) { in processNewLines()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringTest.java241 Matcher matcher = pattern.matcher(description); in create() local
242 assertTrue(matcher.matches()); in create()
245 String left = matcher.group(3); in create()
246 String top = matcher.group(4); in create()
247 String right = matcher.group(5); in create()
248 String bottom = matcher.group(6); in create()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DCompletionProposal.java139 Matcher matcher = ATTRIBUTE_PATTERN.matcher(value); in getAdditionalProposalInfo() local
140 if (matcher.matches()) { in getAdditionalProposalInfo()
141 String attrName = matcher.group(1); in getAdditionalProposalInfo()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/build/
DBaseBuilderTest.java30 Matcher m = p.matcher(s); in testParseAaptOutput()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestNode.java454 Matcher matcher = pattern.matcher(desc);
455 assertTrue(matcher.matches());
456 String fqn = matcher.group(1);
458 String boundsString = matcher.group(2);
470 String tag = matcher.group(3);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttributeInfo.java301 if (DIMENSION_PATTERN.matcher(value).matches()) { in isValid()
314 if (FLOAT_PATTERN.matcher(value).matches()) { in isValid()
329 if (INTEGER_PATTERN.matcher(value).matches()) { in isValid()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/
DVersionCheck.java82 Matcher m = sPluginVersionPattern.matcher(line); in checkVersion()
144 Matcher m = sSourcePropPattern.matcher(line); in checkVersion()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewNode.java122 filtered = pattern.matcher(shortName).find() || pattern.matcher(id).find(); in filter()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleAttribute.java92 Matcher m = REGEXP.matcher(value); in parseString()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/
DUiColorValueNode.java59 if (RGBA_REGEXP.matcher(color).matches()) { in onAddValidators()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DAMReceiver.java79 Matcher m = sAmErrorType.matcher(s); in processNewLines()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
DSystraceVersionDetector.java92 Matcher m = p.matcher(category); in parseSupportedTags()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java598 if ((m = p_code.matcher(javadoc)).matches()) {
605 } else if ((m = p_link.matcher(javadoc)).matches()) {
614 } else if ((m = p_elem.matcher(javadoc)).matches()) {
621 } else if ((m = p_break.matcher(javadoc)).matches()) {
625 } else if ((m = p_open.matcher(javadoc)).matches()) {
628 } else if ((m = p_text.matcher(javadoc)).matches()) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestInfo.java645 Matcher matcher = LAYOUT_FIELD_PATTERN.matcher(matchText); in guessActivityBySetContentView()
646 if (matcher.find()) { in guessActivityBySetContentView()
647 usages.put(matcher.group(1), fqcn); in guessActivityBySetContentView()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DReferenceChooserDialog.java341 Matcher m = sInlineIdResourcePattern.matcher(mCurrentResource); in setupInitialSelection()
350 m = sResourcePattern.matcher(mCurrentResource); in setupInitialSelection()
DResourceChooser.java783 Matcher m = mSystemResourcePattern.matcher(resourceString); in selectResourceString()
791 m = mProjectResourcePattern.matcher(resourceString); in selectResourceString()
824 if (mProjectResourcePattern.matcher(mCurrentResource).matches() || in modifyText()
825 mSystemResourcePattern.matcher(mCurrentResource).matches()) { in modifyText()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationChooser.java531 ConfigurationMatcher matcher = new ConfigurationMatcher(this); in replaceFile() local
532 matcher.adaptConfigSelection(true /*needBestMatch*/); in replaceFile()
779 ConfigurationMatcher matcher = new ConfigurationMatcher(this); in onXmlModelLoaded() local
786 matcher.adaptConfigSelection(false); in onXmlModelLoaded()
792 matcher.findAndSetCompatibleConfig(false); in onXmlModelLoaded()
855 ConfigurationMatcher matcher = new ConfigurationMatcher(this); in onAlternateLayoutCreated() local
856 matcher.adaptConfigSelection(true /*needBestMatch*/); in onAlternateLayoutCreated()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DUseCompoundDrawableRefactoring.java408 Matcher matcher1 = p.matcher(dimension1); in combine()
409 Matcher matcher2 = p.matcher(dimension2); in combine()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringInputPage.java364 } else if (!RES_XML_FILE_REGEX.matcher(resFile).matches()) { in validatePage()
463 Matcher m = mPathRegex.matcher(currPath); in run()

12