Home
last modified time | relevance | path

Searched refs:resolutions (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintFixGenerator.java127 List<IMarkerResolution> resolutions = new ArrayList<IMarkerResolution>(); in getResolutions() local
130 AddSuppressAnnotation.createFixes(marker, id, resolutions); in getResolutions()
133 resolutions.add(new MoreInfoProposal(id, marker.getAttribute(IMarker.MESSAGE, null))); in getResolutions()
134 resolutions.add(new SuppressProposal(resource, id, false)); in getResolutions()
135 resolutions.add(new SuppressProposal(resource.getProject(), id, true /* all */)); in getResolutions()
136 resolutions.add(new SuppressProposal(resource, id, true /* all */)); in getResolutions()
137 resolutions.add(new ClearMarkersProposal(resource, true /* all */)); in getResolutions()
139 if (resolutions.size() > 0) { in getResolutions()
140 return resolutions.toArray(new IMarkerResolution[resolutions.size()]); in getResolutions()
287 List<IMarkerResolution> resolutions = new ArrayList<IMarkerResolution>(); in addSuppressAnnotation() local
[all …]
DAddSuppressAnnotation.java311 List<IMarkerResolution> resolutions) { in createFixes() argument
407 resolutions.add(new AddSuppressAnnotation(id, marker, declaration, desc, null)); in createFixes()
418 resolutions.add(new AddSuppressAnnotation(id, marker, declaration, desc, in createFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java131 IMarkerResolution[] resolutions = aaptQuickFix.getResolutions(marker); in checkResourceFix() local
132 assertNotNull(resolutions); in checkResourceFix()
133 assertEquals(1, resolutions.length); in checkResourceFix()
134 IMarkerResolution resolution = resolutions[0]; in checkResourceFix()
239 IMarkerResolution[] resolutions = aaptQuickFix.getResolutions(marker); in checkNamespaceFix() local
240 assertNotNull(resolutions); in checkNamespaceFix()
241 assertEquals(1, resolutions.length); in checkNamespaceFix()
242 IMarkerResolution resolution = resolutions[0]; in checkNamespaceFix()