/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/ |
Configuration.java | 22 import com.android.tools.lint.detector.api.Issue; 37 * Checks whether this issue should be ignored because the user has already 40 * like {@link #isEnabled(Issue)}. 42 * @param context the context used by the detector when the issue was found 43 * @param issue the issue that was found 44 * @param location the location of the issue 46 * @param data additional information about an issue (see 47 * {@link LintClient#report(Context, Issue, Location, String, Object)} for 49 * @return true if this issue should be suppresse [all...] |
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...] |
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/ |
Issue.java | 28 * An issue is a potential bug in an Android application. An issue is discovered 40 public final class Issue implements Comparable<Issue> { 53 private Issue( 74 * Creates a new issue 76 * @param id the fixed id of the issue 77 * @param description the quick summary of the issue (one line) 78 * @param explanation a full explanation of the issue, with suggestions for 83 * @param severity the default severity of the issue [all...] |
JavaContext.java | 77 public void report(Issue issue, Location location, String message, Object data) { 78 if (mDriver.isSuppressed(issue, compilationUnit)) { 81 super.report(issue, location, message, data); 85 * Reports an issue applicable to a given AST node. The AST node is used as the 88 * @param issue the issue to report 92 * @param location the location of the issue, or null if not known 97 @NonNull Issue issue, [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
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...] |
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/ |
UnusedResourceDetectorTest.java | 20 import com.android.tools.lint.detector.api.Issue; 32 protected boolean isEnabled(Issue issue) { 33 if (issue == UnusedResourceDetector.ISSUE_IDS) {
|
ButtonDetectorTest.java | 20 import com.android.tools.lint.detector.api.Issue; 24 private static Issue sTestIssue; 27 protected boolean isEnabled(Issue issue) { 28 return super.isEnabled(issue) && sTestIssue == null || issue == sTestIssue;
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
PrivateResourceDetector.java | 20 import com.android.tools.lint.detector.api.Issue; 35 /** The main issue discovered by this detector */ 36 public static final Issue ISSUE = Issue.create( 68 context.report(ISSUE, attribute, context.getLocation(attribute),
|
PxUsageDetector.java | 20 import com.android.tools.lint.detector.api.Issue; 36 /** The main issue discovered by this detector */ 37 public static final Issue ISSUE = Issue.create( 79 context.report(ISSUE, attribute, context.getLocation(attribute),
|
SetJavaScriptEnabledDetector.java | 21 import com.android.tools.lint.detector.api.Issue; 38 public static final Issue ISSUE = Issue.create("SetJavaScriptEnabled", //$NON-NLS-1$ 66 context.report(ISSUE, node, context.getLocation(node),
|
ProguardDetector.java | 25 import com.android.tools.lint.detector.api.Issue; 39 /** The main issue discovered by this detector */ 40 public static final Issue WRONGKEEP = Issue.create( 59 public static final Issue SPLITCONFIG = Issue.create(
|
TooManyViewsDetector.java | 21 import com.android.tools.lint.detector.api.Issue; 36 /** Issue of having too many views in a single layout */ 37 public static final Issue TOO_MANY = Issue.create( 51 /** Issue of having too deep hierarchies in layouts */ 52 public static final Issue TOO_DEEP = Issue.create(
|
AccessibilityDetector.java | 25 import com.android.tools.lint.detector.api.Issue; 46 /** The main issue discovered by this detector */ 47 public static final Issue ISSUE = Issue.create( 80 context.report(ISSUE, element, context.getLocation(element), 86 context.report(ISSUE, attributeNode, context.getLocation(attributeNode),
|
ColorUsageDetector.java | 24 import com.android.tools.lint.detector.api.Issue; 43 public static final Issue ISSUE = Issue.create( 94 ISSUE, context.getLocation(select), String.format(
|
HardcodedDebugModeDetector.java | 26 import com.android.tools.lint.detector.api.Issue; 44 /** The main issue discovered by this detector */ 45 public static final Issue ISSUE = Issue.create( 89 context.report(ISSUE, attribute, context.getLocation(attribute),
|
SdCardDetector.java | 22 import com.android.tools.lint.detector.api.Issue; 43 public static final Issue ISSUE = Issue.create( 102 mContext.report(ISSUE, node, location, message, s);
|
TextFieldDetector.java | 26 import com.android.tools.lint.detector.api.Issue; 42 /** The main issue discovered by this detector */ 43 public static final Issue ISSUE = Issue.create( 85 context.report(ISSUE, element, context.getLocation(element),
|
WrongImportDetector.java | 21 import com.android.tools.lint.detector.api.Issue; 49 public static final Issue ISSUE = Issue.create("SuspiciousImport", //$NON-NLS-1$ 100 mContext.report(ISSUE, node, location,
|
ManifestOrderDetector.java | 35 import com.android.tools.lint.detector.api.Issue; 58 public static final Issue ORDER = Issue.create( 74 public static final Issue USES_SDK = Issue.create( 91 public static final Issue MULTIPLE_USES_SDK = Issue.create( 108 public static final Issue WRONG_PARENT = Issue.create(
|
ChildCountDetector.java | 26 import com.android.tools.lint.detector.api.Issue; 47 /** The main issue discovered by this detector */ 48 public static final Issue SCROLLVIEW_ISSUE = Issue.create( 59 /** The main issue discovered by this detector */ 60 public static final Issue ADAPTERVIEW_ISSUE = Issue.create(
|
InefficientWeightDetector.java | 29 import com.android.tools.lint.detector.api.Issue; 53 public static final Issue INEFFICIENT_WEIGHT = Issue.create( 67 public static final Issue NESTED_WEIGHTS = Issue.create( 80 public static final Issue BASELINE_WEIGHTS = Issue.create(
|
NamespaceDetector.java | 26 import com.android.tools.lint.detector.api.Issue; 49 public static final Issue TYPO = Issue.create( 63 public static final Issue UNUSED = Issue.create( 77 public static final Issue CUSTOMVIEW = Issue.create(
|
BuiltinIssueRegistry.java | 25 import com.android.tools.lint.detector.api.Issue; 48 * Manifest constant for declaring an issue provider. Example: 53 private static final List<Issue> sIssues; 57 List<Issue> issues = new ArrayList<Issue>(initialCapacity); 59 issues.add(AccessibilityDetector.ISSUE); 60 issues.add(MathDetector.ISSUE); 61 issues.add(FieldGetterDetector.ISSUE); 62 issues.add(SdCardDetector.ISSUE); 68 issues.add(StateListDetector.ISSUE); [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...] |
/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...] |