Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 50) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DSourceRevealer.java222 private boolean revealLineMatch(List<SearchMatch> matches, String fileName, int lineNumber, in revealLineMatch() argument
224 SearchMatch match = getMatchToDisplay(matches, in revealLineMatch()
266 private List<SearchMatch> filterMatchByFileName(List<SearchMatch> matches, String fileName) { in filterMatchByFileName() argument
268 return matches; in filterMatchByFileName()
274 new HashMap<IResource, SearchMatch>(matches.size()); in filterMatchByFileName()
276 for (SearchMatch m: matches) { in filterMatchByFileName()
304 private List<SearchMatch> filterMatchByResource(List<SearchMatch> matches, in filterMatchByResource() argument
306 List<SearchMatch> filteredMatches = new ArrayList<SearchMatch>(matches.size()); in filterMatchByResource()
308 for (SearchMatch m: matches) { in filterMatchByResource()
317 private SearchMatch getMatchToDisplay(List<SearchMatch> matches, String searchTerm) { in getMatchToDisplay() argument
[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()
59 matches()); 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 …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptParser.java247 if (m.matches()) { in parseOutput()
253 if (m.matches()) { in parseOutput()
275 if (m.matches()) { in parseOutput()
300 if (m.matches()) { in parseOutput()
322 if (m.matches()) { in parseOutput()
338 if (m.matches()) { in parseOutput()
362 if (m.matches()) { in parseOutput()
378 if (m.matches()) { in parseOutput()
394 if (m.matches()) { in parseOutput()
409 if (m.matches()) { in parseOutput()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DResourceValueCompleter.java67 String[] matches = computeResourceStringMatches( in getProposals() local
71 if (matches != null && matches.length > 0) { in getProposals()
72 proposals = new ArrayList<IContentProposal>(matches.length); in getProposals()
73 for (String match : matches) { in getProposals()
DValueCompleter.java114 String[] matches = ResourceValueCompleter.computeResourceStringMatches( in getProposals() local
117 for (String match : matches) { in getProposals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
DAnimationContentAssist.java120 Map<String, AttributeDescriptor> matches = in computeAttributeValues() local
137 matches.put(name, desc); in computeAttributeValues()
144 new ArrayList<AttributeDescriptor>(matches.size()); in computeAttributeValues()
145 sorted.addAll(matches.values()); in computeAttributeValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutContentAssist.java97 List<ElementDescriptor> matches = Lists.newArrayList(); in getChoicesForElement() local
100 matches.add(descriptor); in getChoicesForElement()
103 if (!matches.isEmpty()) { in getChoicesForElement()
104 return matches.toArray(new ElementDescriptor[matches.size()]); in getChoicesForElement()
DLayoutEditorMatchingStrategy.java38 public boolean matches(IEditorReference editorRef, IEditorInput input) { in matches() method in LayoutEditorMatchingStrategy
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
DCommonMatchingStrategy.java42 public boolean matches(IEditorReference editorRef, IEditorInput input) { in matches() method in CommonMatchingStrategy
53 return m.matches(editorRef, fileInput); in matches()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
DValuesContentAssist.java110 Map<String, AttributeDescriptor> matches = in computeAttributeValues() local
119 matches.put(name, desc); in computeAttributeValues()
125 new ArrayList<AttributeDescriptor>(matches.size()); in computeAttributeValues()
126 sorted.addAll(matches.values()); in computeAttributeValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/build/
DBaseBuilderTest.java31 assertEquals(true, m.matches()); in testParseAaptOutput()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiResourceAttributeNode.java260 Set<String> matches = new HashSet<String>(200); in computeResourceStringMatches() local
262 matches.add(s); in computeResourceStringMatches()
270 matches.add(s); in computeResourceStringMatches()
274 String[] sorted = matches.toArray(new String[matches.size()]); in computeResourceStringMatches()
318 if (m.matches()) { in computeResourceStringMatches()
/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.java83 if (m.matches()) { in checkVersion()
145 if (m.matches()) { in checkVersion()
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/
DStaticPortEditDialog.java278 if (p.matches("^[a-zA-Z][a-zA-Z0-9]*") == false) { //$NON-NLS-1$ in validate()
286 if (p.matches("^[a-z][a-z0-9]*") == false) { //$NON-NLS-1$ in validate()
307 if (mPortNumber.matches("[0-9]*") == false) { //$NON-NLS-1$ in validate()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidClasspathContainerPage.java143 if (visible && mCurrStatus.matches(IStatus.ERROR)) { in setVisible()
158 setPageComplete(!status.matches(IStatus.ERROR)); in updateStatus()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleAttribute.java93 if (m.matches()) { 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.java80 if (m.matches()) { in processNewLines()
/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/common/layout/relative/
DGuidelineHandler.java257 protected Match pickBestMatch(List<Match> matches) { in pickBestMatch() argument
258 int alternatives = matches.size(); in pickBestMatch()
262 Match match = matches.get(0); in pickBestMatch()
266 Collections.sort(matches, new MatchComparator()); in pickBestMatch()
267 return matches.get(0); in pickBestMatch()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DConvertToDpFix.java69 if (matcher.matches()) { in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileCreationPage.java764 List<TypeInfo> matches = new ArrayList<TypeInfo>(); in selectTypeFromFolder() local
770 matches.add(type); in selectTypeFromFolder()
775 if (matches.size() == 1) { in selectTypeFromFolder()
778 selectType(matches.get(0)); in selectTypeFromFolder()
780 } else if (matches.size() > 1) { in selectTypeFromFolder()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationMatcher.java483 private ConfigMatch selectConfigMatch(List<ConfigMatch> matches) { in selectConfigMatch() argument
502 Collections.sort(matches, comparator); in selectConfigMatch()
515 for (ConfigMatch match : matches) { in selectConfigMatch()
524 return matches.get(0); in selectConfigMatch()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DReferenceChooserDialog.java342 if (m.matches()) { in setupInitialSelection()
351 if (m.matches()) { in setupInitialSelection()

12