Home
last modified time | relevance | path

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

/development/tools/checkcolor/src/test/java/com/google/checkcolor/lint/
DHardcodedColorDetectorTest.java42 return Collections.singletonList(HardcodedColorDetector.ISSUE); in getIssues()
56 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
72 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
110 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
131 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
171 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
185 mEnabled = Collections.singleton(HardcodedColorDetector.ISSUE);
/development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
DHardcodedColorDetector.java68 public static final Issue ISSUE = Issue.create( field in HardcodedColorDetector
125 if (context.isEnabled(ISSUE)) { in visitAttribute()
126 context.report(ISSUE, attribute, context.getLocation(attribute), in visitAttribute()
162 context.report(ISSUE, childElement, context.getLocation(child), in visitElement()
174 if (isHardcodedColor(value) && context.isEnabled(ISSUE)) { in visitElement()
175 context.report(ISSUE, element, context.getLocation(element), in visitElement()
188 if (context.isEnabled(ISSUE)) { in afterCheckProject()
192 context.report(ISSUE, handle.resolve(), ERROR_MESSAGE); in afterCheckProject()
DHardcodedColorIssueRegistry.java32 return Collections.singletonList(HardcodedColorDetector.ISSUE); in getIssues()