A B C D E F G H I J L M N P R S T U V X

A

A11Y - Static variable in class com.android.tools.lint.detector.api.Category
Issues related to accessibility
ABSOLUTE_LAYOUT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
addFile(File) - Method in class com.android.tools.lint.detector.api.Project
Adds the given file to the list of files which should be checked in this project.
addLintListener(LintListener) - Method in class com.android.tools.lint.client.api.Lint
Adds a listener to be notified of lint progress
afterCheckFile(Context) - Method in class com.android.tools.lint.detector.api.Detector
Analysis has just been finished for a specific file, perform any cleanup or report issues found
afterCheckProject(Context) - Method in class com.android.tools.lint.detector.api.Detector
Analysis has just been finished for the whole project, perform any cleanup or report issues found
ALL - Static variable in interface com.android.tools.lint.detector.api.Detector.XmlScanner
Special marker collection returned by Detector.XmlScanner.getApplicableElements() or Detector.XmlScanner.getApplicableAttributes() to indicate that the check should be invoked on all elements or all attributes
ALL - Static variable in enum com.android.tools.lint.detector.api.Scope
All scopes: running lint on a project will check these scopes
ALL_RESOURCES_SCOPE - Static variable in enum com.android.tools.lint.detector.api.Scope
Scope-set used for detectors which scan all resources
analyze(List<File>, EnumSet<Scope>) - Method in class com.android.tools.lint.client.api.Lint
Analyze the given file (which can point to an Android project).
ANDROID_MANIFEST_XML - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ANDROID_RESOURCE_PREFIX - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ANDROID_STYLE_RESOURCE_PREFIX - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ANDROID_URI - Static variable in class com.android.tools.lint.detector.api.LintConstants
Namespace used in XML files for Android attributes
appliesTo(Context, File) - Method in class com.android.tools.lint.detector.api.Detector
Returns true if this detector applies to the given file
appliesTo(Context, File) - Method in class com.android.tools.lint.detector.api.Detector.XmlDetectorAdapter
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.detector.api.LayoutDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.detector.api.ResourceXmlDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.detector.api.ResourceXmlDetector
Returns whether this detector applies to the given folder type.
ATTR_BACKGROUND - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_BASELINE_ALIGNED - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_CLASS - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_COLUMN_COUNT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_CONTENT_DESCRIPTION - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_EXPORTED - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_FOREGROUND - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_HINT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_ICON - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_ID - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_INPUT_METHOD - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_INPUT_TYPE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LABEL - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ABOVE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_BASELINE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_BOTTOM - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_LEFT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_PARENT_BOTTOM - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_PARENT_LEFT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_PARENT_RIGHT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_PARENT_TOP - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_RIGHT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_TOP - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ALIGN_WITH_PARENT_MISSING - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_BELOW - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_CENTER_HORIZONTAL - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_CENTER_IN_PARENT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_CENTER_VERTICAL - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_COLUMN - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_COLUMN_SPAN - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_GRAVITY - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_HEIGHT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_MARGIN - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_MARGIN_BOTTOM - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_MARGIN_LEFT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_MARGIN_RIGHT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_MARGIN_TOP - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ROW - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_ROW_SPAN - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_SPAN - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_TO_LEFT_OF - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_TO_RIGHT_OF - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_WEIGHT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_WIDTH - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_X - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_LAYOUT_Y - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_MIN_SDK_VERSION - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_NAME - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_ORIENTATION - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PACKAGE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PADDING - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PADDING_BOTTOM - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PADDING_LEFT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PADDING_RIGHT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PADDING_TOP - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PARENT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PATH - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PATH_PATTERN - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PATH_PREFIX - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PERMISSION - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_PROMPT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_ROW_COUNT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_STYLE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_TARGET_SDK_VERSION - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_TEXT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_THEME - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_TILE_MODE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
ATTR_TRANSLATABLE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 

B

beforeCheckFile(Context) - Method in class com.android.tools.lint.detector.api.Detector
Analysis is about to be performed on a specific file, perform any setup steps.
beforeCheckProject(Context) - Method in class com.android.tools.lint.detector.api.Detector
Analysis is about to begin, perform any setup steps.

C

cancel() - Method in class com.android.tools.lint.client.api.Lint
Cancels the current lint run as soon as possible
canceled - Variable in class com.android.tools.lint.detector.api.Context
Slow-running detectors should check this flag via AtomicBoolean.get() and abort if canceled
Category - Class in com.android.tools.lint.detector.api
A category is a container for related issues.
checkJavaClasses(Context) - Method in interface com.android.tools.lint.detector.api.Detector.ClassScanner
 
checkJavaSources(Context, List<File>) - Method in interface com.android.tools.lint.detector.api.Detector.JavaScanner
 
client - Variable in class com.android.tools.lint.detector.api.Context
 
com.android.tools.lint.client.api - package com.android.tools.lint.client.api
 
com.android.tools.lint.detector.api - package com.android.tools.lint.detector.api
 
compareTo(Category) - Method in class com.android.tools.lint.detector.api.Category
 
compareTo(Issue) - Method in class com.android.tools.lint.detector.api.Issue
Sorts the detectors alphabetically by id.
Configuration - Class in com.android.tools.lint.client.api
Lint configuration for an Android project such as which specific rules to include, which specific rules to exclude, and which specific errors to ignore.
Configuration() - Constructor for class com.android.tools.lint.client.api.Configuration
 
configuration - Variable in class com.android.tools.lint.detector.api.Context
 
Context - Class in com.android.tools.lint.detector.api
Context passed to the detectors during an analysis run.
Context(LintClient, Project, File, EnumSet<Scope>) - Constructor for class com.android.tools.lint.detector.api.Context
 
copyFile(File, File) - Static method in class com.android.tools.lint.detector.api.LintUtils
Copies a file
CORRECTNESS - Static variable in class com.android.tools.lint.detector.api.Category
Issues related to correctness
create(LintClient, Project, Configuration) - Static method in class com.android.tools.lint.client.api.DefaultConfiguration
Creates a new DefaultConfiguration
create(LintClient, File) - Static method in class com.android.tools.lint.client.api.DefaultConfiguration
Creates a new DefaultConfiguration for the given lint config file, not affiliated with a project.
create(String, int) - Static method in class com.android.tools.lint.detector.api.Category
Creates a new top level Category with the given sorting priority.
create(Category, String, String, int) - Static method in class com.android.tools.lint.detector.api.Category
Creates a new top level Category with the given sorting priority.
create(String, String, String, Category, int, Severity, Class<? extends Detector>, EnumSet<Scope>) - Static method in class com.android.tools.lint.detector.api.Issue
Creates a new issue

D

DefaultConfiguration - Class in com.android.tools.lint.client.api
Default implementation of a Configuration which reads and writes configuration data into lint.xml in the project directory.
DefaultConfiguration(LintClient, Project, Configuration, File) - Constructor for class com.android.tools.lint.client.api.DefaultConfiguration
 
DefaultConfiguration(LintClient, Project, Configuration) - Constructor for class com.android.tools.lint.client.api.DefaultConfiguration
 
Detector - Class in com.android.tools.lint.detector.api
A detector is able to find a particular problem.
Detector() - Constructor for class com.android.tools.lint.detector.api.Detector
 
Detector.ClassScanner - Interface in com.android.tools.lint.detector.api
Specialized interface for detectors that scan Java class files
Detector.JavaScanner - Interface in com.android.tools.lint.detector.api
Specialized interface for detectors that scan Java source files
Detector.XmlDetectorAdapter - Class in com.android.tools.lint.detector.api
Concrete implementation of a detector that is a Detector.XmlScanner
Detector.XmlDetectorAdapter() - Constructor for class com.android.tools.lint.detector.api.Detector.XmlDetectorAdapter
 
Detector.XmlScanner - Interface in com.android.tools.lint.detector.api
Specialized interface for detectors that scan XML files
difference(Set<String>, Set<String>) - Static method in class com.android.tools.lint.detector.api.LintUtils
Computes the set difference a - b
dispose(Context) - Method in interface com.android.tools.lint.client.api.IDomParser
Dispose any data structures held for the given context.
document - Variable in class com.android.tools.lint.detector.api.Context
 
DOT_9PNG - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DOT_CLASS - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DOT_GIF - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DOT_JAVA - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DOT_JPG - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DOT_PNG - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DOT_XML - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DRAWABLE_FOLDER - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DRAWABLE_HDPI - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DRAWABLE_LDPI - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DRAWABLE_MDPI - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DRAWABLE_RESOURCE_PREFIX - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
DRAWABLE_XHDPI - Static variable in class com.android.tools.lint.detector.api.LintConstants
 

E

EDIT_TEXT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
element - Variable in class com.android.tools.lint.detector.api.Context
 
endsWith(String, String) - Static method in class com.android.tools.lint.detector.api.LintUtils
Case insensitive ends with
equals(Object) - Method in class com.android.tools.lint.detector.api.Project
 

F

file - Variable in class com.android.tools.lint.detector.api.Context
 
finishBulkEditing() - Method in class com.android.tools.lint.client.api.Configuration
Marks the end of a "bulk" editing operation, where values should be committed to persistent storage.
finishBulkEditing() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
formatList(List<String>, int) - Static method in class com.android.tools.lint.detector.api.LintUtils
Format a list of strings, and cut of the list at maxItems if the number of items are greater.
FRAME_LAYOUT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 

G

GALLERY - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
getApplicableAttributes() - Method in class com.android.tools.lint.detector.api.Detector.XmlDetectorAdapter
 
getApplicableAttributes() - Method in interface com.android.tools.lint.detector.api.Detector.XmlScanner
Returns the list of attributes that this detector wants to analyze.
getApplicableElements() - Method in class com.android.tools.lint.detector.api.Detector.XmlDetectorAdapter
 
getApplicableElements() - Method in interface com.android.tools.lint.detector.api.Detector.XmlScanner
Returns the list of elements that this detector wants to analyze.
getCategories() - Method in class com.android.tools.lint.client.api.IssueRegistry
Returns the available categories
getCategory() - Method in class com.android.tools.lint.detector.api.Issue
The category, or null if no category has been assigned
getChildCount(Node) - Static method in class com.android.tools.lint.detector.api.LintUtils
Returns the number of children of the given node
getChildren(Node) - Static method in class com.android.tools.lint.detector.api.LintUtils
Returns the children elements of the given node
getColumn() - Method in class com.android.tools.lint.detector.api.Position
Returns the column number (where the first character on the line is 0), or -1 if unknown
getConfiguration(Project) - Method in class com.android.tools.lint.client.api.LintClient
Returns a configuration for use by the given project.
getConfiguration() - Method in class com.android.tools.lint.detector.api.Project
Gets the configuration associated with this project
getContents() - Method in class com.android.tools.lint.detector.api.Context
 
getDefaultSeverity(Issue) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getDefaultSeverity() - Method in class com.android.tools.lint.detector.api.Issue
Returns the default severity of the issues found by this detector (some tools may allow the user to specify custom severities for detectors).
getDescription() - Method in class com.android.tools.lint.detector.api.Issue
Briefly (one line) describes the kinds of checks performed by this rule
getDescription() - Method in enum com.android.tools.lint.detector.api.Severity
Returns a description of this severity suitable for display to the user
getDetectorClass() - Method in class com.android.tools.lint.detector.api.Issue
Returns the class of the detector to use to find this issue
getDir() - Method in class com.android.tools.lint.detector.api.Project
Returns the project root directory
getDisplayName() - Method in enum com.android.tools.lint.detector.api.Speed
Returns the user-visible description of the speed of the given detector
getDisplayPath(File) - Method in class com.android.tools.lint.detector.api.Project
Returns the relative path of a given file relative to the user specified directory (which is often the project directory but sometimes a higher up directory when a directory tree is being scanned
getEnd() - Method in class com.android.tools.lint.detector.api.Location
The end position of the range
getEndPosition(Context, Node) - Method in interface com.android.tools.lint.client.api.IDomParser
Returns the ending position of the given DOM node.
getExplanation() - Method in class com.android.tools.lint.detector.api.Category
Returns an explanation for this category, or null
getExplanation() - Method in class com.android.tools.lint.detector.api.Issue
Describes the error found by this rule, e.g.
getFile() - Method in class com.android.tools.lint.detector.api.Location
Returns the file containing the warning.
getFullName() - Method in class com.android.tools.lint.detector.api.Category
Returns a full name for this category.
getId() - Method in class com.android.tools.lint.detector.api.Issue
Returns the unique id of this issue.
getIssue(String) - Method in class com.android.tools.lint.client.api.IssueRegistry
Returns the issue for the given id, or null if it's not a valid id
getIssues() - Method in class com.android.tools.lint.client.api.IssueRegistry
Returns the list of issues that can be found by all known detectors.
getJavaClassFolders(Project) - Method in class com.android.tools.lint.client.api.LintClient
Returns the list of output folders for class files
getJavaClassFolders() - Method in class com.android.tools.lint.detector.api.Project
Returns the list of output folders for class files
getJavaSourceFolders(Project) - Method in class com.android.tools.lint.client.api.LintClient
Returns the list of source folders for Java source files
getJavaSourceFolders() - Method in class com.android.tools.lint.detector.api.Project
Returns the list of source folders for Java source files
getLine() - Method in class com.android.tools.lint.detector.api.Position
Returns the line number (0-based where the first line is line 0)
getLocation(Context, Node) - Method in interface com.android.tools.lint.client.api.IDomParser
Returns a Location for the given DOM node
getLocation(Node) - Method in class com.android.tools.lint.detector.api.Context
 
getLocation(Context) - Method in class com.android.tools.lint.detector.api.Context
 
getMinSdk() - Method in class com.android.tools.lint.detector.api.Project
Returns the minimum API level requested by the manifest, or -1 if not specified
getMoreInfo() - Method in class com.android.tools.lint.detector.api.Issue
Returns a link (a URL string) to more information, or null
getName() - Method in class com.android.tools.lint.detector.api.Category
Returns the name of this category
getOffset() - Method in class com.android.tools.lint.detector.api.Position
The character offset
getPackage() - Method in class com.android.tools.lint.detector.api.Project
Returns the application package specified by the manifest
getParent() - Method in class com.android.tools.lint.detector.api.Category
Returns the parent category, or null if this is a top level category
getParser() - Method in class com.android.tools.lint.client.api.LintClient
Returns a IDomParser to use to parse XML
getPriority() - Method in class com.android.tools.lint.detector.api.Issue
Returns a priority, in the range 1-10, with 10 being the most severe and 1 the least
getProperty(String) - Method in class com.android.tools.lint.detector.api.Context
 
getReferenceDir() - Method in class com.android.tools.lint.detector.api.Project
Returns the original user supplied directory where the lint search started.
getRelativePath(File) - Method in class com.android.tools.lint.detector.api.Project
Returns the relative path of a given file within the current project.
getScope() - Method in class com.android.tools.lint.detector.api.Issue
Returns the scope required to analyze the code to detect this issue.
getSecondary() - Method in class com.android.tools.lint.detector.api.Location
Returns a secondary location associated with this location (if applicable), or null.
getSeverity(Issue) - Method in class com.android.tools.lint.client.api.Configuration
Returns the severity for a given issue.
getSeverity(Issue) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
getSpeed() - Method in class com.android.tools.lint.detector.api.Detector
Returns the expected speed of this detector
getStart() - Method in class com.android.tools.lint.detector.api.Location
The start position of the range
getStartPosition(Context, Node) - Method in interface com.android.tools.lint.client.api.IDomParser
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).
getSubset() - Method in class com.android.tools.lint.detector.api.Project
The list of files to be checked in this project.
getTargetSdk() - Method in class com.android.tools.lint.detector.api.Project
Returns the target API level specified by the manifest, or -1 if not specified
GRID_LAYOUT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
GRID_VIEW - Static variable in class com.android.tools.lint.detector.api.LintConstants
 

H

hashCode() - Method in class com.android.tools.lint.detector.api.Project
 
hasPadding(Element) - Method in class com.android.tools.lint.detector.api.LayoutDetector
 
HORIZONTAL_SCROLL_VIEW - Static variable in class com.android.tools.lint.detector.api.LintConstants
 

I

I18N - Static variable in class com.android.tools.lint.detector.api.Category
Issues related to internationalization
ICONS - Static variable in class com.android.tools.lint.detector.api.Category
Issues related to icons
IDomParser - Interface in com.android.tools.lint.client.api
A wrapper for XML parser.
ignore(Context, Issue, Location, String, Object) - Method in class com.android.tools.lint.client.api.Configuration
Marks the given warning as "ignored".
ignore(Context, Issue, Location, String, Object) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
ignore(Issue, File) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
Marks the given issue and file combination as being ignored.
IMAGE_BUTTON - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
IMAGE_VIEW - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
INCLUDE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
intersection(Set<String>, Set<String>) - Static method in class com.android.tools.lint.detector.api.LintUtils
Computes the set intersection a intersect b
isCategoryName(String) - Method in class com.android.tools.lint.client.api.IssueRegistry
Returns true if the given category is a valid category
isEnabled(Issue) - Method in class com.android.tools.lint.client.api.Configuration
Returns false if the given issue has been disabled.
isEnabledByDefault() - Method in class com.android.tools.lint.detector.api.Issue
Returns whether this issue should be enabled by default, unless the user has explicitly disabled it.
isFileBasedResourceType(ResourceType) - Static method in class com.android.tools.lint.detector.api.LintUtils
Determine if the given type corresponds to a resource that has a unique file
isHeightFillParent(Element) - Static method in class com.android.tools.lint.detector.api.LayoutDetector
 
isIgnored(Context, Issue, Location, String, Object) - Method in class com.android.tools.lint.client.api.Configuration
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).
isIgnored(Context, Issue, Location, String, Object) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
isIssueId(String) - Method in class com.android.tools.lint.client.api.IssueRegistry
Returns true if the given id represents a valid issue id
Issue - Class in com.android.tools.lint.detector.api
An issue is a potential bug in an Android application.
IssueRegistry - Class in com.android.tools.lint.client.api
Registry which provides a list of checks to be performed on an Android project
IssueRegistry() - Constructor for class com.android.tools.lint.client.api.IssueRegistry
 
isWidthFillParent(Element) - Static method in class com.android.tools.lint.detector.api.LayoutDetector
 
isXmlFile(File) - Static method in class com.android.tools.lint.detector.api.LintUtils
Returns true if the given file represents an XML file

J

JAVA_FILE_SCOPE - Static variable in enum com.android.tools.lint.detector.api.Scope
Scope-set used for detectors which are affected by a single Java source file

L

LAYOUT_RESOURCE_PREFIX - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
LayoutDetector - Class in com.android.tools.lint.detector.api
Abstract class specifically intended for layout detectors which provides some common utility methods shared by layout detectors.
LayoutDetector() - Constructor for class com.android.tools.lint.detector.api.LayoutDetector
 
LINEAR_LAYOUT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
Lint - Class in com.android.tools.lint.client.api
Analyzes Android projects and files
Lint(IssueRegistry, LintClient) - Constructor for class com.android.tools.lint.client.api.Lint
Creates a new Lint
LintClient - Class in com.android.tools.lint.client.api
Information about the tool embedding the lint analyzer.
LintClient() - Constructor for class com.android.tools.lint.client.api.LintClient
 
LintConstants - Class in com.android.tools.lint.detector.api
Constants used by the various detectors, defined in one place
LintConstants() - Constructor for class com.android.tools.lint.detector.api.LintConstants
 
LintListener - Interface in com.android.tools.lint.client.api
Interface implemented by listeners to be notified of lint events
LintListener.EventType - Enum in com.android.tools.lint.client.api
The various types of events provided to lint listeners
LintUtils - Class in com.android.tools.lint.detector.api
Useful utility methods related to lint.
LintUtils() - Constructor for class com.android.tools.lint.detector.api.LintUtils
 
LIST_VIEW - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
location - Variable in class com.android.tools.lint.detector.api.Context
 
Location - Class in com.android.tools.lint.detector.api
Location information for a warning

NOTE: This is not a public or final API; if you rely on this be prepared to adjust your code for the next tools release.

Location(File, Position, Position) - Constructor for class com.android.tools.lint.detector.api.Location
Constructs a new location range for the given file, from start to end.
log(Throwable, String, Object...) - Method in class com.android.tools.lint.client.api.LintClient
Send an exception to the log

M

MERGE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
mProject - Variable in class com.android.tools.lint.client.api.DefaultConfiguration
 

N

NULL_RESOURCE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 

P

parse(Context) - Method in interface com.android.tools.lint.client.api.IDomParser
Parse the file pointed to by the given context and return as a Document
parser - Variable in class com.android.tools.lint.detector.api.Context
 
PARSER_ERROR - Static variable in class com.android.tools.lint.client.api.IssueRegistry
Issue reported by lint (not a specific detector) when it cannot even parse an XML file prior to analysis
PERFORMANCE - Static variable in class com.android.tools.lint.detector.api.Category
Issues related to performance
Position - Class in com.android.tools.lint.detector.api
Information about a position in a file/document.
Position() - Constructor for class com.android.tools.lint.detector.api.Position
 
project - Variable in class com.android.tools.lint.detector.api.Context
 
Project - Class in com.android.tools.lint.detector.api
A project contains information about an Android project being scanned for Lint errors.
Project(LintClient, File, File) - Constructor for class com.android.tools.lint.detector.api.Project
Creates a new Project.

R

RADIO_GROUP - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
readBytes(File) - Static method in class com.android.tools.lint.detector.api.LintUtils
Reads the file contents of the given file and returns it as a byte array.
readFile(File) - Method in class com.android.tools.lint.client.api.LintClient
Reads the given text file and returns the content as a string
readManifest(Document) - Method in class com.android.tools.lint.detector.api.Project
Initialized the manifest state from the given manifest model
RELATIVE_LAYOUT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
removeLintListener(LintListener) - Method in class com.android.tools.lint.client.api.Lint
Removes a listener such that it is no longer notified of progress
replaceDetector(Class<? extends Detector>) - Method in class com.android.tools.lint.client.api.LintClient
Returns an optimal detector, if applicable.
report(Context, Issue, Location, String, Object) - Method in class com.android.tools.lint.client.api.LintClient
Report the given issue.
REQUEST_FOCUS - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
RES_FOLDER - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
RESOURCE_CLR_STYLEABLE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
RESOURCE_CLZ_ARRAY - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
RESOURCE_CLZ_ATTR - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
RESOURCE_CLZ_ID - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
RESOURCE_FILE_SCOPE - Static variable in enum com.android.tools.lint.detector.api.Scope
Scope-set used for detectors which are affected by a single resource file
ResourceXmlDetector - Class in com.android.tools.lint.detector.api
Specialized detector intended for XML resources.
ResourceXmlDetector() - Constructor for class com.android.tools.lint.detector.api.ResourceXmlDetector
 
run(Context) - Method in class com.android.tools.lint.detector.api.Detector
Runs the detector
run(Context) - Method in class com.android.tools.lint.detector.api.Detector.XmlDetectorAdapter
 
run(Context) - Method in class com.android.tools.lint.detector.api.ResourceXmlDetector
 

S

scope - Variable in class com.android.tools.lint.detector.api.Context
 
Scope - Enum in com.android.tools.lint.detector.api
The scope of a detector is the set of files a detector must consider when performing its analysis.
SCROLL_VIEW - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
SECURITY - Static variable in class com.android.tools.lint.detector.api.Category
Issues related to security
setConfiguration(Configuration) - Method in class com.android.tools.lint.detector.api.Project
Sets the configuration associated with this project
setEnabledByDefault(boolean) - Method in class com.android.tools.lint.detector.api.Issue
Sets whether this issue is enabled by default.
setMoreInfo(String) - Method in class com.android.tools.lint.detector.api.Issue
Sets a more info URL string
setProperty(String, Object) - Method in class com.android.tools.lint.detector.api.Context
 
setSecondary(Location) - Method in class com.android.tools.lint.detector.api.Location
Sets a secondary location for this location.
setSeverity(Issue, Severity) - Method in class com.android.tools.lint.client.api.Configuration
Sets the severity to be used for this issue.
setSeverity(Issue, Severity) - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
Severity - Enum in com.android.tools.lint.detector.api
Severity of an issue found by lint

NOTE: This is not a public or final API; if you rely on this be prepared to adjust your code for the next tools release.

Speed - Enum in com.android.tools.lint.detector.api
Enum which describes the different computation speeds of various detectors
startBulkEditing() - Method in class com.android.tools.lint.client.api.Configuration
Marks the beginning of a "bulk" editing operation with repeated calls to Configuration.setSeverity(com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Severity) or Configuration.ignore(com.android.tools.lint.detector.api.Context, com.android.tools.lint.detector.api.Issue, com.android.tools.lint.detector.api.Location, java.lang.String, java.lang.Object).
startBulkEditing() - Method in class com.android.tools.lint.client.api.DefaultConfiguration
 
STRING_RESOURCE_PREFIX - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
STYLE_RESOURCE_PREFIX - Static variable in class com.android.tools.lint.detector.api.LintConstants
 

T

TABLE_LAYOUT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TABLE_ROW - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_ACTIVITY - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_APPLICATION - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_ARRAY - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_BITMAP - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_GRANT_PERMISSION - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_INTEGER_ARRAY - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_INTENT_FILTER - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_ITEM - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_RESOURCES - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_SERVICE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_STRING - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_STRING_ARRAY - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_STYLE - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_USES_PERMISSION - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TAG_USES_SDK - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TEXT_VIEW - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
toString() - Method in class com.android.tools.lint.detector.api.Issue
 
toString() - Method in class com.android.tools.lint.detector.api.Project
 
TRANSPARENT_COLOR - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
TYPOGRAPHY - Static variable in class com.android.tools.lint.detector.api.Category
Issues related to typography

U

union(Set<String>, Set<String>) - Static method in class com.android.tools.lint.detector.api.LintUtils
Computes the set union a union b
update(LintListener.EventType, Context) - Method in interface com.android.tools.lint.client.api.LintListener
Notifies listeners that the event of the given type has occurred.
USABILITY - Static variable in class com.android.tools.lint.detector.api.Category
Issues related to usability

V

VALUE_CLAMP - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
VALUE_DISABLED - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
VALUE_FILL_PARENT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
VALUE_MATCH_PARENT - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
VALUE_VERTICAL - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
valueOf(String) - Static method in enum com.android.tools.lint.client.api.LintListener.EventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.tools.lint.detector.api.Scope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.tools.lint.detector.api.Severity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.tools.lint.detector.api.Speed
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.tools.lint.client.api.LintListener.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.tools.lint.detector.api.Scope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.tools.lint.detector.api.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.tools.lint.detector.api.Speed
Returns an array containing the constants of this enum type, in the order they are declared.
VIEW_TAG - Static variable in class com.android.tools.lint.detector.api.LintConstants
 
visitAttribute(Context, Attr) - Method in class com.android.tools.lint.detector.api.Detector.XmlDetectorAdapter
 
visitAttribute(Context, Attr) - Method in interface com.android.tools.lint.detector.api.Detector.XmlScanner
Visit the given attribute.
visitDocument(Context, Document) - Method in class com.android.tools.lint.detector.api.Detector.XmlDetectorAdapter
 
visitDocument(Context, Document) - Method in interface com.android.tools.lint.detector.api.Detector.XmlScanner
Visit the given document.
visitElement(Context, Element) - Method in class com.android.tools.lint.detector.api.Detector.XmlDetectorAdapter
 
visitElement(Context, Element) - Method in interface com.android.tools.lint.detector.api.Detector.XmlScanner
Visit the given element.
visitElementAfter(Context, Element) - Method in class com.android.tools.lint.detector.api.Detector.XmlDetectorAdapter
 
visitElementAfter(Context, Element) - Method in interface com.android.tools.lint.detector.api.Detector.XmlScanner
Visit the given element after its children have been analyzed.

X

XMLNS_PREFIX - Static variable in class com.android.tools.lint.detector.api.LintConstants
 

A B C D E F G H I J L M N P R S T U V X

Copyright © 2008-2012. All Rights Reserved.