/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintFixGenerator.java | 29 import com.android.tools.lint.detector.api.Issue; 214 * @param thisFileOnly if true, only suppress this issue in this file 219 Issue issue = registry.getIssue(id); local 220 if (issue != null) { 232 ((DefaultConfiguration) configuration).ignore(issue, file); 234 configuration.setSeverity(issue, Severity.IGNORE); 482 Issue issue = EclipseLintClient.getRegistry().getIssue(mId); local 483 assert issue != null : mId [all...] |
GlobalLintConfiguration.java | 23 import com.android.tools.lint.detector.api.Issue; 39 private Map<Issue, Severity> mSeverities; 55 public Severity getSeverity(Issue issue) { 58 mSeverities = new HashMap<Issue, Severity>(); 65 Issue d = registry.getIssue(s[0]); 77 Severity severity = mSeverities.get(issue); 82 if (!issue.isEnabledByDefault()) { 86 return issue.getDefaultSeverity(); 95 public void ignore(Context context, Issue issue, Location location, String message [all...] |
EclipseLintClient.java | 37 import com.android.tools.lint.detector.api.Issue; 206 public void report(Context context, Issue issue, Severity s, Location location, 243 marker.setAttribute(MARKER_CHECKID_PROPERTY, issue.getId()); 297 * @param id the id for the issue whose markers should be deleted 447 * Describe the issue for the given marker 450 * @return a full description of the corresponding issue, never null 455 Issue issue = registry.getIssue(markerId); local 456 if (issue == null) [all...] |
LintColumn.java | 22 import com.android.tools.lint.detector.api.Issue; 228 Issue issue1 = mList.getIssue(id1); 229 Issue issue2 = mList.getIssue(id2); 231 // Unknown issue? Can happen if you have used a third party detector 291 Issue issue = mList.getIssue(marker); local 292 if (issue != null) { 293 return issue.getCategory().getFullName(); 515 Issue issue = mList.getIssue(marker) local [all...] |
AddSuppressAnnotation.java | 30 import com.android.tools.lint.detector.api.Issue; 273 * @param id the issue id 311 Issue issue = EclipseLintClient.getRegistry().getIssue(id); local 312 boolean isClassDetector = issue != null && issue.getScope().contains(Scope.CLASS_FILE);
|
EclipseLintRunner.java | 28 import com.android.tools.lint.detector.api.Issue; 274 Issue issue = registry.getIssue(id); local 275 if (issue == null || issue.getScope().equals(scope)) {
|
LintFix.java | 32 import com.android.tools.lint.detector.api.Issue; 101 Issue issue = EclipseLintClient.getRegistry().getIssue(mId); local 102 if (issue != null) { 103 return issue.getExplanation().replace("\n", "<br>"); //$NON-NLS-1$ //$NON-NLS-2$ 143 sFixes.put(AccessibilityDetector.ISSUE.getId(), SetAttributeFix.class); 145 sFixes.put(HardcodedValuesDetector.ISSUE.getId(), ExtractStringFix.class); 148 sFixes.put(PxUsageDetector.ISSUE.getId(), ConvertToDpFix.class); 149 sFixes.put(TextFieldDetector.ISSUE.getId(), SetAttributeFix.class); 152 sFixes.put(ScrollViewChildDetector.ISSUE.getId(), SetScrollViewSizeFix.class) [all...] |
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/ |
IssueRegistry.java | 23 import com.android.tools.lint.detector.api.Issue; 45 private static Map<String, Issue> sIdToIssue; 48 * Issue reported by lint (not a specific detector) when it cannot even 52 public static final Issue PARSER_ERROR = Issue.create( 64 * Issue reported by lint for various other issues which prevents lint from 68 public static final Issue LINT_ERROR = Issue.create( 71 "This issue type represents a problem running lint itself. Examples include " + 91 public abstract List<Issue> getIssues() 233 sIdToIssue.put(issue.getId(), issue); local [all...] |
DefaultConfiguration.java | 22 import com.android.tools.lint.detector.api.Issue; 69 private static final String TAG_ISSUE = "issue"; //$NON-NLS-1$ 143 @NonNull Issue issue, 149 String id = issue.getId(); 162 return mParent.isIgnored(context, issue, location, message, data); 169 protected Severity getDefaultSeverity(@NonNull Issue issue) { 170 if (!issue.isEnabledByDefault()) { 174 return issue.getDefaultSeverity() [all...] |
LintDriver.java | 41 import com.android.tools.lint.detector.api.Issue; 350 // Create map from detector class to issue such that we can 353 List<Issue> issues = mRegistry.getIssues(); 354 Multimap<Class<? extends Detector>, Issue> issueMap = 356 for (Issue issue : issues) { 357 issueMap.put(issue.getDetectorClass(), issue); local 373 Collection<Issue> detectorIssues = issueMap.get(detectorClass); 376 for (Issue issue : detectorIssues) [all...] |
/sdk/lint/cli/src/com/android/tools/lint/ |
Warning.java | 20 import com.android.tools.lint.detector.api.Issue; 34 public final Issue issue; field in class:Warning 47 public Warning(Issue issue, String message, Severity severity, Project project, Object data) { 48 this.issue = issue; 60 int categoryDelta = issue.getCategory().compareTo(other.issue.getCategory()); 65 int priorityDelta = other.issue.getPriority() - issue.getPriority() [all...] |
HtmlReporter.java | 26 import com.android.tools.lint.detector.api.Issue; 66 * Maximum number of warnings allowed for a single issue type before we 94 Map<Issue, String> missing = computeMissingIssues(issues); 133 Issue previousIssue = null; 138 if (warning.issue != previousIssue) { 139 previousIssue = warning.issue; 152 Issue issue = first.issue; local 154 if (issue.getCategory() != previousCategory) 518 Issue issue = warnings.get(0).issue; local [all...] |
TextReporter.java | 80 if (warning.issue != null) { 82 output.append(warning.issue.getId());
|
Main.java | 36 import com.android.tools.lint.detector.api.Issue; 176 for (Issue issue : registry.getIssues()) { 178 // will match issue category "Usability:Icons" etc. 179 if (issue.getCategory().getName().startsWith(category) || 180 issue.getCategory().getFullName().startsWith(category)) { 181 listIssue(System.out, issue); 202 for (Issue issue : registry.getIssues()) { 204 // will match issue category "Usability:Icons" etc [all...] |
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
UnusedResourceDetector.java | 45 import com.android.tools.lint.detector.api.Issue; 91 public static final Issue ISSUE = Issue.create("UnusedResources", //$NON-NLS-1$ 100 public static final Issue ISSUE_IDS = Issue.create("UnusedIds", //$NON-NLS-1$ 172 if (xmlContext.getDriver().isSuppressed(ISSUE, root)) { 209 // Remove id's if the user has disabled reporting issue ids 297 Issue issue = getIssue(resource) local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
LintPreferencePage.java | 27 import com.android.tools.lint.detector.api.Issue; 95 private Map<Issue, Severity> mSeverities = new HashMap<Issue, Severity>(); 96 private Map<Issue, Severity> mInitialSeverities = Collections.<Issue, Severity>emptyMap(); 238 List<Issue> issues = mRegistry.getIssues(); 239 for (Issue issue : issues) { 240 Severity severity = mConfiguration.getSeverity(issue); 241 mSeverities.put(issue, severity) 345 Issue issue = entry.getKey(); local 446 Issue issue = (Issue) data; local 481 Issue issue = (Issue) mTree.getSelection()[0].getData(); local 674 Issue issue = (Issue) element; local 706 Issue issue = (Issue) element; local 726 Issue issue = (Issue) element; local [all...] |