|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Context | |
|---|---|
| com.android.tools.lint.client.api | |
| com.android.tools.lint.detector.api | |
| Uses of Context in com.android.tools.lint.client.api |
|---|
| Methods in com.android.tools.lint.client.api with parameters of type Context | |
|---|---|
void |
IDomParser.dispose(Context context)
Dispose any data structures held for the given context. |
Position |
IDomParser.getEndPosition(Context context,
Node node)
Returns the ending position of the given DOM node. |
Location |
IDomParser.getLocation(Context context,
Node node)
Returns a Location for the given DOM node |
Position |
IDomParser.getStartPosition(Context context,
Node node)
Returns the starting position of the given DOM node (which may not be just an element but can for example also be an Attr node). |
void |
DefaultConfiguration.ignore(Context context,
Issue issue,
Location location,
String message,
Object data)
|
abstract void |
Configuration.ignore(Context context,
Issue issue,
Location location,
String message,
Object data)
Marks the given warning as "ignored". |
boolean |
DefaultConfiguration.isIgnored(Context context,
Issue issue,
Location location,
String message,
Object data)
|
boolean |
Configuration.isIgnored(Context context,
Issue issue,
Location location,
String message,
Object data)
Checks whether this issue should be ignored because the user has already suppressed the error? Note that this refers to individual issues being suppressed/ignored, not a whole detector being disabled via something like Configuration.isEnabled(Issue). |
Document |
IDomParser.parse(Context context)
Parse the file pointed to by the given context and return as a Document |
abstract void |
LintClient.report(Context context,
Issue issue,
Location location,
String message,
Object data)
Report the given issue. |
void |
LintListener.update(LintListener.EventType type,
Context context)
Notifies listeners that the event of the given type has occurred. |
| Uses of Context in com.android.tools.lint.detector.api |
|---|
| Methods in com.android.tools.lint.detector.api with parameters of type Context | |
|---|---|
void |
Detector.afterCheckFile(Context context)
Analysis has just been finished for a specific file, perform any cleanup or report issues found |
void |
Detector.afterCheckProject(Context context)
Analysis has just been finished for the whole project, perform any cleanup or report issues found |
boolean |
ResourceXmlDetector.appliesTo(Context context,
File file)
|
abstract boolean |
Detector.appliesTo(Context context,
File file)
Returns true if this detector applies to the given file |
boolean |
Detector.XmlDetectorAdapter.appliesTo(Context context,
File file)
|
void |
Detector.beforeCheckFile(Context context)
Analysis is about to be performed on a specific file, perform any setup steps. |
void |
Detector.beforeCheckProject(Context context)
Analysis is about to begin, perform any setup steps. |
void |
Detector.ClassScanner.checkJavaClasses(Context context)
|
void |
Detector.JavaScanner.checkJavaSources(Context context,
List<File> sourceFolders)
|
Location |
Context.getLocation(Context context)
|
void |
ResourceXmlDetector.run(Context context)
|
abstract void |
Detector.run(Context context)
Runs the detector |
void |
Detector.XmlDetectorAdapter.run(Context context)
|
void |
Detector.XmlScanner.visitAttribute(Context context,
Attr attribute)
Visit the given attribute. |
void |
Detector.XmlDetectorAdapter.visitAttribute(Context context,
Attr attribute)
|
void |
Detector.XmlScanner.visitDocument(Context context,
Document document)
Visit the given document. |
void |
Detector.XmlDetectorAdapter.visitDocument(Context context,
Document document)
|
void |
Detector.XmlScanner.visitElement(Context context,
Element element)
Visit the given element. |
void |
Detector.XmlDetectorAdapter.visitElement(Context context,
Element element)
|
void |
Detector.XmlScanner.visitElementAfter(Context context,
Element element)
Visit the given element after its children have been analyzed. |
void |
Detector.XmlDetectorAdapter.visitElementAfter(Context context,
Element element)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||