/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | ValueCompleter.java | 68 List<IContentProposal> proposals = new ArrayList<IContentProposal>(); in getProposals() local 81 proposals.add(new ContentProposal(contents)); in getProposals() 101 proposals.add(new ContentProposal(number + UNIT_SP)); in getProposals() 103 proposals.add(new ContentProposal(number + UNIT_DP)); in getProposals() 105 proposals.add(new ContentProposal(number)); in getProposals() 118 proposals.add(new ContentProposal(match)); in getProposals() 138 proposals.add(new ContentProposal(contents)); in getProposals() 160 proposals.add(new ContentProposal(match)); in getProposals() 169 proposals.add(new ContentProposal(value)); in getProposals() 175 proposals.add(new ContentProposal(value)); in getProposals() [all …]
|
D | ResourceValueCompleter.java | 70 List<IContentProposal> proposals = null; in getProposals() local 72 proposals = new ArrayList<IContentProposal>(matches.length); in getProposals() 74 proposals.add(new ContentProposal(match)); in getProposals() 76 return proposals.toArray(new IContentProposal[proposals.size()]); in getProposals()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | RefactoringAssistant.java | 153 List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>(); in computeQuickAssistProposals() local 184 proposals.add(new RefactoringProposal(xmlEditor, in computeQuickAssistProposals() 190 proposals.add(new RefactoringProposal(xmlEditor, refactoring)); in computeQuickAssistProposals() 197 proposals.add(new RefactoringProposal( in computeQuickAssistProposals() 207 proposals.add(new RefactoringProposal( in computeQuickAssistProposals() 214 proposals.add(new RefactoringProposal( in computeQuickAssistProposals() 221 proposals.add(new RefactoringProposal( in computeQuickAssistProposals() 228 proposals.add(new RefactoringProposal( in computeQuickAssistProposals() 239 proposals.add(new RefactoringProposal( in computeQuickAssistProposals() 250 proposals.add(new RefactoringProposal( in computeQuickAssistProposals() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | XmlQuickAssistManager.java | 87 ICompletionProposal[] proposals = in computeQuickAssistProposals() local 89 if (proposals != null && proposals.length > 0) { in computeQuickAssistProposals() 93 for (ICompletionProposal proposal : proposals) { in computeQuickAssistProposals()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | RefactoringAssistantTest.java | 98 ICompletionProposal[] proposals = refactoringAssistant in checkFixes() local 101 if (proposals != null) { in checkFixes() 102 for (ICompletionProposal proposal : proposals) { in checkFixes() 110 if (proposals != null) { in checkFixes() 111 for (ICompletionProposal proposal : proposals) { in checkFixes()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
D | ValuesContentAssist.java | 73 protected boolean computeAttributeValues(List<ICompletionProposal> proposals, int offset, in computeAttributeValues() argument 76 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node, in computeAttributeValues() 88 proposals.add(new CompletionProposal(ANDROID_NS_NAME_PREFIX, in computeAttributeValues() 129 addMatchingProposals(proposals, sorted.toArray(), offset, node, wordPrefix, in computeAttributeValues() 141 protected void computeTextValues(List<ICompletionProposal> proposals, int offset, in computeTextValues() argument 144 super.computeTextValues(proposals, offset, parentNode, currentNode, uiParent, in computeTextValues() 197 addMatchingProposals(proposals, values, offset, currentNode, in computeTextValues() 234 addMatchingProposals(proposals, choices, offset, currentNode, in computeTextValues()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/ |
D | AaptQuickFixTest.java | 164 ICompletionProposal[] proposals = aaptQuickFix in checkResourceFix() local 166 assertNotNull(proposals); in checkResourceFix() 167 assertTrue(proposals.length == 1); in checkResourceFix() 168 ICompletionProposal proposal = proposals[0]; in checkResourceFix() 264 ICompletionProposal[] proposals = aaptQuickFix in checkNamespaceFix() local 266 assertNotNull(proposals); in checkNamespaceFix() 267 assertTrue(proposals.length == 1); in checkNamespaceFix() 268 ICompletionProposal proposal = proposals[0]; in checkNamespaceFix()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | LintFixGenerator.java | 176 List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>(); in computeQuickAssistProposals() local 186 proposals.add(fix); in computeQuickAssistProposals() 191 proposals.add(new MoreInfoProposal(id, message)); in computeQuickAssistProposals() 193 proposals.addAll(AddSuppressAttribute.createFixes(editor, marker, id)); in computeQuickAssistProposals() 194 proposals.add(new SuppressProposal(file, id, false)); in computeQuickAssistProposals() 195 proposals.add(new SuppressProposal(file.getProject(), id, true /* all */)); in computeQuickAssistProposals() 196 proposals.add(new SuppressProposal(file, id, true /* all */)); in computeQuickAssistProposals() 198 proposals.add(new ClearMarkersProposal(file, true /* all */)); in computeQuickAssistProposals() 201 if (proposals.size() > 0) { in computeQuickAssistProposals() 202 return proposals.toArray(new ICompletionProposal[proposals.size()]); in computeQuickAssistProposals()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidContentAssist.java | 155 List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>(80); in computeCompletionProposals() local 171 computeTextValues(proposals, offset, parentNode, currentNode, parentUiNode, in computeCompletionProposals() 181 computeAttributeProposals(proposals, viewer, offset, wordPrefix, currentUiNode, in computeCompletionProposals() 184 computeNonAttributeProposals(viewer, offset, wordPrefix, proposals, parentNode, in computeCompletionProposals() 189 return proposals.toArray(new ICompletionProposal[proposals.size()]); in computeCompletionProposals() 193 List<ICompletionProposal> proposals, Node parentNode, Node currentNode, String parent, in computeNonAttributeProposals() argument 219 addMatchingProposals(proposals, choices, offset, in computeNonAttributeProposals() 226 private void computeAttributeProposals(List<ICompletionProposal> proposals, ITextViewer viewer, in computeAttributeProposals() argument 233 if (computeAttributeValues(proposals, offset, parent, info.name, currentNode, in computeAttributeProposals() 255 addMatchingProposals(proposals, choices, offset, parentNode != null ? parentNode : null, in computeAttributeProposals() [all …]
|
D | AndroidSourceViewerConfig.java | 190 List<ICompletionProposal> proposals = in computeCompletionProposals() local 207 proposals.add(proposal); in computeCompletionProposals() 211 if (proposals.size() == result.length) { in computeCompletionProposals() 214 return proposals.toArray(new ICompletionProposal[proposals.size()]); in computeCompletionProposals()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/ |
D | AnimationContentAssist.java | 73 protected boolean computeAttributeValues(List<ICompletionProposal> proposals, int offset, in computeAttributeValues() argument 92 addMatchingProposals(proposals, interpolators.toArray(), offset, node, wordPrefix, in computeAttributeValues() 98 return super.computeAttributeValues(proposals, offset, parentTagName, attributeName, in computeAttributeValues() 156 addMatchingProposals(proposals, pairs.toArray(), offset, node, wordPrefix, in computeAttributeValues() 164 return super.computeAttributeValues(proposals, offset, parentTagName, attributeName, in computeAttributeValues()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestContentAssist.java | 51 protected boolean computeAttributeValues(List<ICompletionProposal> proposals, int offset, in computeAttributeValues() argument 85 addMatchingProposals(proposals, choices.toArray(), offset, node, wordPrefix, in computeAttributeValues() 90 return super.computeAttributeValues(proposals, offset, parentTagName, attributeName, in computeAttributeValues()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidContentAssistTest.java | 913 ICompletionProposal[] proposals = assist.computeCompletionProposals(viewer, offset); in complete() local 914 if (proposals == null) { in complete() 915 proposals = new ICompletionProposal[0]; in complete() 920 return proposals; in complete() 925 ICompletionProposal[] proposals = complete(file, caretLocation, assist); in checkApplyCompletion() local 927 for (ICompletionProposal proposal : proposals) { in checkApplyCompletion() 970 ICompletionProposal[] proposals = complete(file, caretLocation, assist); in checkCompletion() local 973 for (ICompletionProposal proposal : proposals) { in checkCompletion()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | ValueCompleterTest.java | 49 IContentProposal[] proposals = completer.getProposals(text, offset); in checkCompletion() local 51 for (IContentProposal proposal : proposals) { in checkCompletion()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | LayoutContentAssist.java | 155 protected boolean computeAttributeValues(List<ICompletionProposal> proposals, int offset, in computeAttributeValues() argument 158 super.computeAttributeValues(proposals, offset, parentTagName, attributeName, node, in computeAttributeValues() 223 addMatchingProposals(proposals, sorted.toArray(), offset, node, wordPrefix, in computeAttributeValues()
|