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

A

AccessibilityDetector - Class in com.android.tools.lint.checks
Check which looks for accessibility problems like missing content descriptions
AccessibilityDetector() - Constructor for class com.android.tools.lint.checks.AccessibilityDetector
Constructs a new AccessibilityDetector
ACCIDENTAL_OCTAL - Static variable in class com.android.tools.lint.checks.GradleDetector
Accidentally using octal numbers
ADAPTER_VIEW_ISSUE - Static variable in class com.android.tools.lint.checks.ChildCountDetector
The main issue discovered by this detector
add(AbstractInsnNode, AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Adds an exception flow to this graph
AddJavascriptInterfaceDetector - Class in com.android.tools.lint.checks
Ensures that addJavascriptInterface is not called for API levels below 17.
AddJavascriptInterfaceDetector() - Constructor for class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.FieldGetterDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.LabelForDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.ManifestDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.TranslationDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
afterCheckLibraryProject(Context) - Method in class com.android.tools.lint.checks.IconDetector
 
afterCheckLibraryProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ApiDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ButtonDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.IconDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.LayoutInflationDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ManifestDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.OnClickDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.OverrideDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.RtlDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.TranslationDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.WakelockDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
ALLOW_BACKUP - Static variable in class com.android.tools.lint.checks.ManifestDetector
Not explicitly defining allowBackup
AlwaysShowActionDetector - Class in com.android.tools.lint.checks
Check which looks for usage of showAsAction="always" in menus (or MenuItem.SHOW_AS_ACTION_ALWAYS in code), which is usually a style guide violation.
AlwaysShowActionDetector() - Constructor for class com.android.tools.lint.checks.AlwaysShowActionDetector
Constructs a new AlwaysShowActionDetector
ANDROID_CONTENT_SHARED_PREFERENCES - Static variable in class com.android.tools.lint.checks.SharedPrefsDetector
 
AnnotationDetector - Class in com.android.tools.lint.checks
Checks annotations to make sure they are valid
AnnotationDetector() - Constructor for class com.android.tools.lint.checks.AnnotationDetector
Constructs a new AnnotationDetector check
Api - Class in com.android.tools.lint.checks
Main entry point for API description.
ApiClass - Class in com.android.tools.lint.checks
Represents a class and its methods/fields.
ApiDetector - Class in com.android.tools.lint.checks
Looks for usages of APIs that are not supported in all the versions targeted by this application (according to its minimum API requirement in the manifest).
ApiDetector() - Constructor for class com.android.tools.lint.checks.ApiDetector
Constructs a new API check
ApiLookup - Class in com.android.tools.lint.checks
Database for API checking: Allows quick lookup of a given class, method or field to see which API level it was introduced in.
ApiParser - Class in com.android.tools.lint.checks
Parser for the simplified XML API format version 1.
APP_PLUGIN_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
The Gradle plugin ID for Android applications
AppCompatCallDetector - Class in com.android.tools.lint.checks
 
AppCompatCallDetector() - Constructor for class com.android.tools.lint.checks.AppCompatCallDetector
 
AppCompatResourceDetector - Class in com.android.tools.lint.checks
Check that the right namespace is used for app compat menu items Using app:showAsAction instead of android:showAsAction leads to problems, but isn't caught by the API Detector since it's not in the Android namespace.
AppCompatResourceDetector() - Constructor for class com.android.tools.lint.checks.AppCompatResourceDetector
Constructs a new AppCompatResourceDetector
applicableSuperClasses() - Method in class com.android.tools.lint.checks.FragmentDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.HandlerDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.OverrideConcreteDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.PreferenceActivityDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.ViewConstructorDetector
 
APPLICATION_ICON - Static variable in class com.android.tools.lint.checks.ManifestDetector
Not explicitly defining application icon
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.AnnotationDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.ApiDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.AppCompatResourceDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.AssertDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.ButtonDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.CallSuperDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ColorUsageDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.CommentDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.CustomViewDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.CutPasteDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.DetectMissingPrefix
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.ExtraTextDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.GradleDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.HardcodedValuesDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.IconDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.IconDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ManifestDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ManifestTypoDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.NfcTechListDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.PluralsDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ProguardDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.PropertyFileDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.PxUsageDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.RtlDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.SdCardDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.SecurityDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ServiceCastDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.SharedPrefsDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.SignatureOrSystemDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.StateListDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TitleDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ToastDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TranslationDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TypoDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TypographyDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
appliesToResourceRefs() - Method in class com.android.tools.lint.checks.ColorUsageDetector
 
appliesToResourceRefs() - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
appliesToResourceRefs() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
ARG_COUNT - Static variable in class com.android.tools.lint.checks.StringFormatDetector
Whether formatting argument types are consistent across translations
ARG_TYPES - Static variable in class com.android.tools.lint.checks.StringFormatDetector
Whether the string format supplied in a call to String.format matches the format string
ArraySizeDetector - Class in com.android.tools.lint.checks
Checks for arrays with inconsistent item counts
ArraySizeDetector() - Constructor for class com.android.tools.lint.checks.ArraySizeDetector
Constructs a new ArraySizeDetector
AssertDetector - Class in com.android.tools.lint.checks
Looks for assertion usages.
AssertDetector() - Constructor for class com.android.tools.lint.checks.AssertDetector
Constructs a new AssertDetector check

B

BACK_BUTTON - Static variable in class com.android.tools.lint.checks.ButtonDetector
The main issue discovered by this detector
BASELINE_WEIGHTS - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
Should a LinearLayout set android:baselineAligned?
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.ManifestDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.TooManyViewsDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.TranslationDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.TypoDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
beforeCheckLibraryProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.ApiDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.AppCompatCallDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.IconDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.TranslationDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.TypographyDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
BOM - Static variable in class com.android.tools.lint.checks.ByteOrderMarkDetector
Detects BOM characters in the middle of files
BuiltinIssueRegistry - Class in com.android.tools.lint.checks
Registry which provides a list of checks to be performed on an Android project
BuiltinIssueRegistry() - Constructor for class com.android.tools.lint.checks.BuiltinIssueRegistry
Constructs a new BuiltinIssueRegistry
ButtonDetector - Class in com.android.tools.lint.checks
Check which looks at the order of buttons in dialogs and makes sure that "the dismissive action of a dialog is always on the left whereas the affirmative actions are on the right."
ButtonDetector() - Constructor for class com.android.tools.lint.checks.ButtonDetector
Constructs a new ButtonDetector
ByteOrderMarkDetector - Class in com.android.tools.lint.checks
Checks that byte order marks do not appear in resource names
ByteOrderMarkDetector() - Constructor for class com.android.tools.lint.checks.ByteOrderMarkDetector
Constructs a new ByteOrderMarkDetector

C

CallSuperDetector - Class in com.android.tools.lint.checks
Makes sure that methods call super when overriding methods.
CallSuperDetector() - Constructor for class com.android.tools.lint.checks.CallSuperDetector
Constructs a new CallSuperDetector check
CASE - Static variable in class com.android.tools.lint.checks.ButtonDetector
The main issue discovered by this detector
checkBinaryResource(ResourceContext) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
checkCall(ClassContext, ClassNode, MethodNode, MethodInsnNode) - Method in class com.android.tools.lint.checks.LocaleDetector
 
checkCall(ClassContext, ClassNode, MethodNode, MethodInsnNode) - Method in class com.android.tools.lint.checks.MathDetector
 
checkCall(ClassContext, ClassNode, MethodNode, MethodInsnNode) - Method in class com.android.tools.lint.checks.SecureRandomDetector
 
checkCall(ClassContext, ClassNode, MethodNode, MethodInsnNode) - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
 
checkCall(ClassContext, ClassNode, MethodNode, MethodInsnNode) - Method in class com.android.tools.lint.checks.ViewTagDetector
 
checkCall(ClassContext, ClassNode, MethodNode, MethodInsnNode) - Method in class com.android.tools.lint.checks.WakelockDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.ApiDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
checkClass(JavaContext, ClassDeclaration, Node, JavaParser.ResolvedClass) - Method in class com.android.tools.lint.checks.FragmentDetector
 
checkClass(JavaContext, ClassDeclaration, Node, JavaParser.ResolvedClass) - Method in class com.android.tools.lint.checks.HandlerDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.OnClickDetector
 
checkClass(JavaContext, ClassDeclaration, Node, JavaParser.ResolvedClass) - Method in class com.android.tools.lint.checks.OverrideConcreteDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.OverrideDetector
 
checkClass(JavaContext, ClassDeclaration, Node, JavaParser.ResolvedClass) - Method in class com.android.tools.lint.checks.PreferenceActivityDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.RegistrationDetector
 
checkClass(JavaContext, ClassDeclaration, Node, JavaParser.ResolvedClass) - Method in class com.android.tools.lint.checks.ViewConstructorDetector
 
checkDslPropertyAssignment(Context, String, String, String, String, Object, Object) - Method in class com.android.tools.lint.checks.GradleDetector
Called with for example "android", "defaultConfig", "minSdkVersion", "7"
checkFolder(ResourceContext, String) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
checkInstruction(ClassContext, ClassNode, MethodNode, AbstractInsnNode) - Method in class com.android.tools.lint.checks.FieldGetterDetector
 
checkMethodCall(Context, String, String, Map<String, String>, List<String>, Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
checkOctal(Context, String, Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
CheckPermissionDetector - Class in com.android.tools.lint.checks
Ensures that calls to check permission use the result (otherwise they probably meant to call the enforce permission methods instead)
CheckPermissionDetector() - Constructor for class com.android.tools.lint.checks.CheckPermissionDetector
Constructs a new CheckPermissionDetector check
checkSetOnTouchListenerCall(ClassContext, MethodNode, MethodInsnNode) - Static method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
ChildCountDetector - Class in com.android.tools.lint.checks
Check which makes sure that views have the expected number of declared children (e.g.
ChildCountDetector() - Constructor for class com.android.tools.lint.checks.ChildCountDetector
Constructs a new ChildCountDetector
CipherGetInstanceDetector - Class in com.android.tools.lint.checks
Ensures that Cipher.getInstance is not called with AES as the parameter.
CipherGetInstanceDetector() - Constructor for class com.android.tools.lint.checks.CipherGetInstanceDetector
 
classToTag(String) - Static method in class com.android.tools.lint.checks.RegistrationDetector
Looks up the tag a given framework class should be registered with
CleanupDetector - Class in com.android.tools.lint.checks
Checks for missing recycle calls on resources that encourage it, and for missing commit calls on FragmentTransactions, etc.
CleanupDetector() - Constructor for class com.android.tools.lint.checks.CleanupDetector
Constructs a new CleanupDetector
ClickableViewAccessibilityDetector - Class in com.android.tools.lint.checks
Checks that views that override View#onTouchEvent also implement View#performClick and call performClick when click detection occurs.
ClickableViewAccessibilityDetector() - Constructor for class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
Constructs a new ClickableViewAccessibilityDetector
ColorUsageDetector - Class in com.android.tools.lint.checks
Looks for cases where the code attempts to set a resource id, rather than a resolved color, as the RGB int.
ColorUsageDetector() - Constructor for class com.android.tools.lint.checks.ColorUsageDetector
Constructs a new ColorUsageDetector check
com.android.tools.lint.checks - package com.android.tools.lint.checks
 
CommentDetector - Class in com.android.tools.lint.checks
Looks for issues in Java comments
CommentDetector() - Constructor for class com.android.tools.lint.checks.CommentDetector
Constructs a new CommentDetector check
COMMIT_FRAGMENT - Static variable in class com.android.tools.lint.checks.CleanupDetector
Problems with missing commit calls.
COMPAT - Static variable in class com.android.tools.lint.checks.RtlDetector
 
COMPATIBILITY - Static variable in class com.android.tools.lint.checks.GradleDetector
Using incompatible versions
CONDITIONAL - Static variable in class com.android.tools.lint.checks.LogDetector
Log call missing surrounding if
CONTENT_PROVIDER_CLIENT_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
CONTENT_PROVIDER_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
CONTENT_RESOLVER_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
ControlFlowGraph - Class in com.android.tools.lint.checks
A ControlFlowGraph is a graph containing a node for each instruction in a method, and an edge for each possible control flow; usually just "next" for the instruction following the current instruction, but in the case of a branch such as an "if", multiple edges to each successive location, or with a "goto", a single edge to the jumped-to instruction.
ControlFlowGraph() - Constructor for class com.android.tools.lint.checks.ControlFlowGraph
 
ControlFlowGraph.Node - Class in com.android.tools.lint.checks
A ControlFlowGraph.Node is a node in the control flow graph for a method, pointing to the instruction and its possible successors
ControlFlowGraph.Node(AbstractInsnNode) - Constructor for class com.android.tools.lint.checks.ControlFlowGraph.Node
Constructs a new control graph node
CRASH - Static variable in class com.android.tools.lint.checks.ResourceCycleDetector
Parent cycles
create(ControlFlowGraph, ClassNode, MethodNode) - Static method in class com.android.tools.lint.checks.ControlFlowGraph
Creates a new ControlFlowGraph and populates it with the flow control for the given method.
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.AnnotationDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.ApiDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.AssertDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.CallSuperDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.CommentDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.IconDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.ParcelDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.RtlDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.SdCardDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.SecurityDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.ViewHolderDetector
 
createJavaVisitor(JavaContext) - Method in class com.android.tools.lint.checks.WrongImportDetector
 
createLocation(Context, Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
CROSS_LAYOUT - Static variable in class com.android.tools.lint.checks.DuplicateIdDetector
The main issue discovered by this detector
CURSOR_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
CUSTOM_VIEW - Static variable in class com.android.tools.lint.checks.NamespaceDetector
Using custom namespace attributes in a library project
CustomViewDetector - Class in com.android.tools.lint.checks
Makes sure that custom views use a declare styleable that matches the name of the custom view
CustomViewDetector() - Constructor for class com.android.tools.lint.checks.CustomViewDetector
Constructs a new CustomViewDetector check
CutPasteDetector - Class in com.android.tools.lint.checks
Detector looking for cut & paste issues
CutPasteDetector() - Constructor for class com.android.tools.lint.checks.CutPasteDetector
Constructs a new CutPasteDetector check
CYCLE - Static variable in class com.android.tools.lint.checks.ResourceCycleDetector
Style parent cycles, resource alias cycles, layout include cycles, etc

D

DASHES - Static variable in class com.android.tools.lint.checks.TypographyDetector
Replace hyphens with dashes?
DATE_FORMAT - Static variable in class com.android.tools.lint.checks.DateFormatDetector
Constructing SimpleDateFormat without an explicit locale
DateFormatDetector - Class in com.android.tools.lint.checks
Checks for errors related to Date Formats
DateFormatDetector() - Constructor for class com.android.tools.lint.checks.DateFormatDetector
Constructs a new DateFormatDetector
DEPENDENCY - Static variable in class com.android.tools.lint.checks.GradleDetector
Obsolete dependencies
DEPRECATED - Static variable in class com.android.tools.lint.checks.GradleDetector
Deprecated Gradle constructs
DEPRECATED_CODE - Static variable in class com.android.tools.lint.checks.LocaleFolderDetector
Using a locale folder that is not consulted
DeprecationDetector - Class in com.android.tools.lint.checks
Check which looks for usage of deprecated tags, attributes, etc.
DeprecationDetector() - Constructor for class com.android.tools.lint.checks.DeprecationDetector
Constructs a new DeprecationDetector
DetectMissingPrefix - Class in com.android.tools.lint.checks
Detects layout attributes on builtin Android widgets that do not specify a prefix but probably should.
DetectMissingPrefix() - Constructor for class com.android.tools.lint.checks.DetectMissingPrefix
Constructs a new DetectMissingPrefix
DEVICE_ADMIN - Static variable in class com.android.tools.lint.checks.ManifestDetector
Malformed Device Admin
dfs(ControlFlowGraph.Node) - Static method in class com.android.tools.lint.checks.WakelockDetector
Search from the given node towards the target; return false if we reach an exit point such as a return or a call on the way there that is not within a try/catch clause.
DosLineEndingDetector - Class in com.android.tools.lint.checks
Checks that the line endings in DOS files are consistent
DosLineEndingDetector() - Constructor for class com.android.tools.lint.checks.DosLineEndingDetector
Constructs a new DosLineEndingDetector
DP_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
Using sp instead of dp
DUPLICATE_ACTIVITY - Static variable in class com.android.tools.lint.checks.ManifestDetector
Missing a <uses-sdk> element
DUPLICATE_USES_FEATURE - Static variable in class com.android.tools.lint.checks.ManifestDetector
Declaring a uses-feature multiple time
DuplicateIdDetector - Class in com.android.tools.lint.checks
Checks for duplicate ids within a layout and within an included layout
DuplicateIdDetector() - Constructor for class com.android.tools.lint.checks.DuplicateIdDetector
Constructs a duplicate id check
DuplicateResourceDetector - Class in com.android.tools.lint.checks
This detector identifies cases where a resource is defined multiple times in the same resource folder
DuplicateResourceDetector() - Constructor for class com.android.tools.lint.checks.DuplicateResourceDetector
Constructs a new DuplicateResourceDetector
DUPLICATES_CONFIGURATIONS - Static variable in class com.android.tools.lint.checks.IconDetector
Duplicated contents across configurations for a given name
DUPLICATES_NAMES - Static variable in class com.android.tools.lint.checks.IconDetector
Duplicated icons across different names

E

EASTER_EGG - Static variable in class com.android.tools.lint.checks.CommentDetector
Looks for hidden code
ELLIPSIS - Static variable in class com.android.tools.lint.checks.TypographyDetector
Replace ...
ENABLED - Static variable in class com.android.tools.lint.checks.RtlDetector
 
ENUM_SWITCH_PREFIX - Static variable in class com.android.tools.lint.checks.ApiDetector
 
ESCAPE - Static variable in class com.android.tools.lint.checks.PropertyFileDetector
Property file not escaped
exception(AbstractInsnNode, AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Adds an exception flow to this graph
exception(AbstractInsnNode, TryCatchBlockNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Adds an exception try block node to this graph
exceptions - Variable in class com.android.tools.lint.checks.ControlFlowGraph.Node
Any abnormal successors (e.g.
EXPORTED_PROVIDER - Static variable in class com.android.tools.lint.checks.SecurityDetector
Exported content providers
EXPORTED_RECEIVER - Static variable in class com.android.tools.lint.checks.SecurityDetector
Exported receivers
EXPORTED_SERVICE - Static variable in class com.android.tools.lint.checks.SecurityDetector
Exported services
EXTRA - Static variable in class com.android.tools.lint.checks.PluralsDetector
This translation is not needed in this locale
EXTRA - Static variable in class com.android.tools.lint.checks.TranslationDetector
Are there extra translations that are "unused" (appear only in specific languages) ?
ExtraTextDetector - Class in com.android.tools.lint.checks
Check which looks for invalid resources.
ExtraTextDetector() - Constructor for class com.android.tools.lint.checks.ExtraTextDetector
Constructs a new detector

F

FieldGetterDetector - Class in com.android.tools.lint.checks
Looks for getter calls within the same class that could be replaced by direct field references instead.
FieldGetterDetector() - Constructor for class com.android.tools.lint.checks.FieldGetterDetector
Constructs a new FieldGetterDetector check
findIntegerExamples(String, PluralsDatabase.Quantity) - Method in class com.android.tools.lint.checks.PluralsDatabase
 
FORMAT - Static variable in class com.android.tools.lint.checks.StringFormatDetector
 
formatSet(EnumSet<PluralsDatabase.Quantity>) - Static method in enum com.android.tools.lint.checks.PluralsDatabase.Quantity
 
FRACTIONS - Static variable in class com.android.tools.lint.checks.TypographyDetector
Replace fraction strings with fraction characters?
FragmentDetector - Class in com.android.tools.lint.checks
Checks that Fragment subclasses can be instantiated via {link Class.newInstance()}: the class is public, static, and has a public null constructor.
FragmentDetector() - Constructor for class com.android.tools.lint.checks.FragmentDetector
Constructs a new FragmentDetector

G

get(LintClient) - Static method in class com.android.tools.lint.checks.ApiLookup
Returns an instance of the API database
get() - Static method in class com.android.tools.lint.checks.PluralsDatabase
 
get(String) - Static method in enum com.android.tools.lint.checks.PluralsDatabase.Quantity
 
get(LintClient, String, String) - Static method in class com.android.tools.lint.checks.TypoLookup
Returns an instance of the Typo database for the given locale
getApplicableAsmNodeTypes() - Method in class com.android.tools.lint.checks.FieldGetterDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.ApiDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.AppCompatResourceDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.ByteOrderMarkDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.DeprecationDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.DetectMissingPrefix
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.HardcodedValuesDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.LabelForDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.OnClickDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.OverdrawDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.PrivateResourceDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.PxUsageDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.RtlDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.SignatureOrSystemDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.WrongIdDetector
 
getApplicableCallNames() - Method in class com.android.tools.lint.checks.LocaleDetector
 
getApplicableCallNames() - Method in class com.android.tools.lint.checks.MathDetector
 
getApplicableCallNames() - Method in class com.android.tools.lint.checks.SecureRandomDetector
 
getApplicableCallNames() - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
 
getApplicableCallNames() - Method in class com.android.tools.lint.checks.ViewTagDetector
 
getApplicableCallNames() - Method in class com.android.tools.lint.checks.WakelockDetector
 
getApplicableCallOwners() - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
 
getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.CleanupDetector
 
getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.DateFormatDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ApiDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ButtonDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ChildCountDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.DeprecationDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.GridLayoutDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.IconDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.IncludeDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.InefficientWeightDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.LabelForDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ManifestDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ManifestTypoDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.MissingClassDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.MissingIdDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.NfcTechListDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.OverdrawDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.PluralsDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.PreferenceActivityDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.PxUsageDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.RegistrationDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.RelativeOverlapDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ScrollViewChildDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.SecurityDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.StringFormatDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TextFieldDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TextViewDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TitleDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TooManyViewsDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TranslationDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TypoDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TypographyDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.UseCompoundDrawableDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.UselessViewDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.WebViewDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.WrongCaseDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.WrongIdDetector
 
getApplicableFiles() - Method in class com.android.tools.lint.checks.PrivateKeyDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AppCompatCallDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CheckPermissionDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CipherGetInstanceDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CleanupDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CustomViewDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CutPasteDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.GetSignaturesDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.LayoutInflationDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.LogDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SecurityDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ServiceCastDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SharedPrefsDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.StringFormatDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ToastDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.WrongCallDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.AnnotationDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.ApiDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.AssertDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.CallSuperDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.CommentDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.IconDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.OverdrawDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.ParcelDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.RtlDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.SdCardDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.ViewHolderDetector
 
getApplicableNodeTypes() - Method in class com.android.tools.lint.checks.WrongImportDetector
 
getCallVersion(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version required by the given method call.
getClassVersion(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version required by the given class reference, or -1 if this is not a known API class.
getEdits(String, String, Node) - Static method in class com.android.tools.lint.checks.TypographyDetector
Returns a list of edits to be applied to fix the suggestion made by the given warning.
getEdits(String, String, String) - Static method in class com.android.tools.lint.checks.TypographyDetector
Returns a list of edits to be applied to fix the suggestion made by the given warning.
getExpectedType(String, TextFormat) - Static method in class com.android.tools.lint.checks.DuplicateResourceDetector
Returns the resource type expected for a DuplicateResourceDetector.TYPE_MISMATCH error reported by this lint detector.
getExported(Element) - Static method in class com.android.tools.lint.checks.SecurityDetector
 
getFieldVersion(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version required to access the given field, or -1 if this is not a known API method.
getIssueCapacity(EnumSet<Scope>) - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
 
getIssues() - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
 
getLanguageDescription(String) - Static method in class com.android.tools.lint.checks.TranslationDetector
 
getMinSdk(Context) - Method in class com.android.tools.lint.checks.ApiDetector
 
getNewCall(String, TextFormat) - Static method in class com.android.tools.lint.checks.AppCompatCallDetector
Given an error message created by this lint check, return the corresponding new method name that it suggests replace the old method name.
getNewValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.GradleDetector
Given an error message produced by this lint detector for the given issue type, returns the new value to be put into the source code.
getNewValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.GridLayoutDetector
Given an error message produced by this lint detector, returns the new value to be put into the source code.
getNewValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.MissingClassDetector
Given an error message produced by this lint detector for the given issue type, returns the new value to be put into the source code.
getNewValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCallDetector
Given an error message produced by this lint detector for the given issue type, returns the new value to be put into the source code.
getNewValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCaseDetector
Given an error message produced by this lint detector for the given issue type, returns the new value to be put into the source code.
getNode(AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Looks up (and if necessary) creates a graph node for the given instruction
getOldCall(String, TextFormat) - Static method in class com.android.tools.lint.checks.AppCompatCallDetector
Given an error message created by this lint check, return the corresponding old method name that it suggests should be deleted.
getOldValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.GradleDetector
Given an error message produced by this lint detector for the given issue type, returns the old value to be replaced in the source code.
getOldValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.GridLayoutDetector
Given an error message produced by this lint detector, returns the old value to be replaced in the source code.
getOldValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.MissingClassDetector
Given an error message produced by this lint detector for the given issue type, returns the old value to be replaced in the source code.
getOldValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCallDetector
Given an error message produced by this lint detector for the given issue type, returns the old value to be replaced in the source code.
getOldValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCaseDetector
Given an error message produced by this lint detector for the given issue type, returns the old value to be replaced in the source code.
getPackage() - Method in class com.android.tools.lint.checks.ApiClass
 
getParentMethod(Node) - Static method in class com.android.tools.lint.checks.StringFormatDetector
Returns the parent method of the given AST node
getPropertyKeyCookie(Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
getPropertyPairCookie(Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
getRelevant(String) - Method in class com.android.tools.lint.checks.PluralsDatabase
 
getReplacedType(String, TextFormat) - Static method in class com.android.tools.lint.checks.JavaPerformanceDetector
For an error message for an JavaPerformanceDetector.USE_VALUE_OF issue reported by this detector, returns the type being replaced.
getRequiredVersion(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.ApiDetector
 
getResourceArg(Node, Node, int) - Static method in class com.android.tools.lint.checks.StringFormatDetector
Returns the resource name corresponding to the given argument in the given call
getResourceForFirstArg(Node, Node) - Static method in class com.android.tools.lint.checks.StringFormatDetector
Returns the resource name corresponding to the first argument in the given call
GetSignaturesDetector - Class in com.android.tools.lint.checks
 
GetSignaturesDetector() - Constructor for class com.android.tools.lint.checks.GetSignaturesDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.AnnotationDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ApiDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.AppCompatCallDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.AppCompatResourceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ButtonDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ByteOrderMarkDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.CallSuperDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ChildCountDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.CipherGetInstanceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ColorUsageDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.CommentDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.CustomViewDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.DateFormatDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.DeprecationDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.DetectMissingPrefix
 
getSpeed() - Method in class com.android.tools.lint.checks.DosLineEndingDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ExtraTextDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.FieldGetterDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.FragmentDetector
 
getSpeed(Issue) - Method in class com.android.tools.lint.checks.GradleDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.GridLayoutDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.HandlerDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.HardcodedValuesDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.IconDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.InefficientWeightDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.LabelForDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.LayoutInflationDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.LocaleDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ManifestDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ManifestTypoDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.MathDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.MissingClassDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.MissingIdDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.NamespaceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.NfcTechListDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.OnClickDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.OverdrawDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.OverrideDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ParcelDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.PreferenceActivityDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.PrivateKeyDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.PrivateResourceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ProguardDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.PxUsageDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.RegistrationDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.RtlDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ScrollViewChildDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.SdCardDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.SecurityDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.SignatureOrSystemDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.StateListDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TextFieldDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TextViewDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TitleDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TooManyViewsDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TypoDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TypographyDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.UseCompoundDrawableDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.UselessViewDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.Utf8Detector
 
getSpeed() - Method in class com.android.tools.lint.checks.ViewConstructorDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ViewHolderDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ViewTagDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WebViewDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WrongCallDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WrongCaseDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WrongIdDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WrongImportDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WrongLocationDetector
 
getStartOffset(Context, Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
getSuggestedEscape(String, TextFormat) - Static method in class com.android.tools.lint.checks.PropertyFileDetector
Returns the escaped string value suggested by the error message which should have been computed by this lint detector.
getSuggestions(String, TextFormat) - Static method in class com.android.tools.lint.checks.TypoDetector
Returns the suggested replacements, if any, for the given typo.
getTargetApi(Modifiers) - Static method in class com.android.tools.lint.checks.ApiDetector
Returns the API level for the given AST node if specified with an @TargetApi annotation.
getTypo(String, TextFormat) - Static method in class com.android.tools.lint.checks.TypoDetector
Returns the typo word in the error message from this detector
getTypos(CharSequence, int, int) - Method in class com.android.tools.lint.checks.TypoLookup
Look up whether this word is a typo, and if so, return the typo itself and one or more likely meanings
getTypos(byte[], int, int) - Method in class com.android.tools.lint.checks.TypoLookup
Look up whether this word is a typo, and if so, return the typo itself and one or more likely meanings
getVariable(JavaContext, Node) - Static method in class com.android.tools.lint.checks.CleanupDetector
 
getViewTags(Context, ResourceItem) - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
GIF_USAGE - Static variable in class com.android.tools.lint.checks.IconDetector
Using .gif bitmaps
GRADLE_GETTER - Static variable in class com.android.tools.lint.checks.GradleDetector
Accidentally calling a getter instead of your own methods
GRADLE_OVERRIDES - Static variable in class com.android.tools.lint.checks.ManifestDetector
Defining a value that is overridden by Gradle
GRADLE_PLUGIN_COMPATIBILITY - Static variable in class com.android.tools.lint.checks.GradleDetector
Incompatible Android Gradle plugin
GradleDetector - Class in com.android.tools.lint.checks
Checks Gradle files for potential errors
GradleDetector() - Constructor for class com.android.tools.lint.checks.GradleDetector
 
GridLayoutDetector - Class in com.android.tools.lint.checks
Check which looks for potential errors in declarations of GridLayouts, such as specifying row/column numbers outside the declared dimensions of the grid.
GridLayoutDetector() - Constructor for class com.android.tools.lint.checks.GridLayoutDetector
Constructs a new GridLayoutDetector check

H

HandlerDetector - Class in com.android.tools.lint.checks
Checks that Handler implementations are top level classes or static.
HandlerDetector() - Constructor for class com.android.tools.lint.checks.HandlerDetector
Constructs a new HandlerDetector
HardcodedDebugModeDetector - Class in com.android.tools.lint.checks
Checks for hardcoded debug mode in manifest files
HardcodedDebugModeDetector() - Constructor for class com.android.tools.lint.checks.HardcodedDebugModeDetector
Constructs a new HardcodedDebugModeDetector check
HardcodedValuesDetector - Class in com.android.tools.lint.checks
Check which looks at the children of ScrollViews and ensures that they fill/match the parent width instead of setting wrap_content.
HardcodedValuesDetector() - Constructor for class com.android.tools.lint.checks.HardcodedValuesDetector
Constructs a new HardcodedValuesDetector
hasMultipleValuesForQuantity(String, PluralsDatabase.Quantity) - Method in class com.android.tools.lint.checks.PluralsDatabase
 
HTTP - Static variable in class com.android.tools.lint.checks.PropertyFileDetector
Using HTTP instead of HTTPS for the wrapper

I

ICON_COLORS - Static variable in class com.android.tools.lint.checks.IconDetector
Wrong filename according to the format
ICON_DENSITIES - Static variable in class com.android.tools.lint.checks.IconDetector
Missing density versions of image
ICON_DIP_SIZE - Static variable in class com.android.tools.lint.checks.IconDetector
Inconsistent dip size across densities
ICON_EXPECTED_SIZE - Static variable in class com.android.tools.lint.checks.IconDetector
Wrong icon size according to published conventions
ICON_EXTENSION - Static variable in class com.android.tools.lint.checks.IconDetector
Wrong filename according to the format
ICON_LAUNCHER_SHAPE - Static variable in class com.android.tools.lint.checks.IconDetector
Wrong launcher icon shape
ICON_LOCATION - Static variable in class com.android.tools.lint.checks.IconDetector
Images in res/drawable folder
ICON_MISSING_FOLDER - Static variable in class com.android.tools.lint.checks.IconDetector
Missing density folders
ICON_MIX_9PNG - Static variable in class com.android.tools.lint.checks.IconDetector
Drawables provided as both .9.png and .png files
ICON_NODPI - Static variable in class com.android.tools.lint.checks.IconDetector
Icons appearing in both -nodpi and a -Ndpi folder
ICON_XML_AND_PNG - Static variable in class com.android.tools.lint.checks.IconDetector
Icons appearing as both drawable xml files and bitmaps
IconDetector - Class in com.android.tools.lint.checks
Checks for common icon problems, such as wrong icon sizes, placing icons in the density independent drawable folder, etc.
IconDetector() - Constructor for class com.android.tools.lint.checks.IconDetector
Constructs a new IconDetector check
IDE_SUPPORT - Static variable in class com.android.tools.lint.checks.GradleDetector
Constructs the IDE support struggles with
ILLEGAL_REFERENCE - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using a resource for attributes that do not allow it
IMPLIED_QUANTITY - Static variable in class com.android.tools.lint.checks.PluralsDetector
This plural does not use the quantity value
IN_MM_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
Using mm/in instead of dp
IncludeDetector - Class in com.android.tools.lint.checks
Checks for problems with include tags, such as providing layout parameters without specifying both layout_width and layout_height
IncludeDetector() - Constructor for class com.android.tools.lint.checks.IncludeDetector
 
INCONSISTENT - Static variable in class com.android.tools.lint.checks.ArraySizeDetector
Are there differences in how many array elements are declared?
INCONSISTENT_IDS - Static variable in class com.android.tools.lint.checks.LayoutConsistencyDetector
Inconsistent widget types
INEFFICIENT_WEIGHT - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
Can a weight be replaced with 0dp instead for better performance?
InefficientWeightDetector - Class in com.android.tools.lint.checks
Checks whether a layout_weight is declared inefficiently.
InefficientWeightDetector() - Constructor for class com.android.tools.lint.checks.InefficientWeightDetector
Constructs a new InefficientWeightDetector
INLINED - Static variable in class com.android.tools.lint.checks.ApiDetector
Accessing an inlined API on older platforms
INNERCLASS - Static variable in class com.android.tools.lint.checks.MissingClassDetector
Is the right character used for inner class separators?
INSTANTIATABLE - Static variable in class com.android.tools.lint.checks.MissingClassDetector
Are activity, service, receiver etc subclasses instantiatable?
instruction - Variable in class com.android.tools.lint.checks.ControlFlowGraph.Node
The instruction
INVALID - Static variable in class com.android.tools.lint.checks.StringFormatDetector
Whether formatting strings are invalid
INVALID - Static variable in class com.android.tools.lint.checks.WrongIdDetector
An ID declaration which is not valid
INVALID_FOLDER - Static variable in class com.android.tools.lint.checks.LocaleFolderDetector
 
InvalidPackageDetector - Class in com.android.tools.lint.checks
Looks for usages of Java packages that are not included in Android.
InvalidPackageDetector() - Constructor for class com.android.tools.lint.checks.InvalidPackageDetector
Constructs a new package check
isAnalyticsFile(Context) - Static method in class com.android.tools.lint.checks.UnusedResourceDetector
Returns true if this XML file corresponds to an Analytics configuration file; these contain some attributes read by the library which won't be flagged as used by the application
isBenignConstantUsage(Node, String, String) - Static method in class com.android.tools.lint.checks.ApiDetector
Checks whether the given instruction is a benign usage of a constant defined in a later version of Android than the application's minSdkVersion.
isBenignUnusedAttribute(String) - Static method in class com.android.tools.lint.checks.ApiDetector
Is the given attribute a "benign" unused attribute, one we probably don't need to flag to the user as not applicable on all versions? These are typically attributes which add some nice platform behavior when available, but that are not critical and developers would not typically need to be aware of to try to implement workarounds on older platforms.
isConnected(ControlFlowGraph.Node, ControlFlowGraph.Node) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Checks whether there is a path from the given source node to the given destination node
isConnected(AbstractInsnNode, AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Checks whether there is a path from the given instruction to the given instruction node
isInterestingBlock(String, String) - Static method in class com.android.tools.lint.checks.GradleDetector
 
isInterestingProperty(String, String, String) - Static method in class com.android.tools.lint.checks.GradleDetector
 
isInterestingStatement(String, String) - Static method in class com.android.tools.lint.checks.GradleDetector
 
isLocaleSpecific(String) - Static method in class com.android.tools.lint.checks.StringFormatDetector
Determines whether the given String.format(String, Object...) formatting string is "locale dependent", meaning that its output depends on the locale.
isRelevantClass(String) - Static method in class com.android.tools.lint.checks.ApiLookup
Quick determination whether a given class name is possibly interesting; this is a quick package prefix check to determine whether we need to consider the class at all.
isRelevantOwner(String) - Static method in class com.android.tools.lint.checks.ApiLookup
Returns true if the given owner (in VM format) is relevant to the database.
isRtlAttributeName(String) - Static method in class com.android.tools.lint.checks.RtlDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.AccessibilityDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.AlwaysShowActionDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
Placing SuppressLint on a local variable doesn't work for class-file based checks
ISSUE - Static variable in class com.android.tools.lint.checks.AppCompatCallDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.AppCompatResourceDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.AssertDetector
Using assertions
ISSUE - Static variable in class com.android.tools.lint.checks.CallSuperDetector
Missing call to super
ISSUE - Static variable in class com.android.tools.lint.checks.CheckPermissionDetector
Main issue checked by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.CipherGetInstanceDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.ColorUsageDetector
Attempting to set a resource id as a color
ISSUE - Static variable in class com.android.tools.lint.checks.CustomViewDetector
Mismatched style and class names
ISSUE - Static variable in class com.android.tools.lint.checks.CutPasteDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.DeprecationDetector
Usage of deprecated views or attributes
ISSUE - Static variable in class com.android.tools.lint.checks.DosLineEndingDetector
Detects mangled DOS line ending documents
ISSUE - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.ExtraTextDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.FieldGetterDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.FragmentDetector
Are fragment subclasses instantiatable?
ISSUE - Static variable in class com.android.tools.lint.checks.GetSignaturesDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.GridLayoutDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.HandlerDetector
Potentially leaking handlers
ISSUE - Static variable in class com.android.tools.lint.checks.HardcodedDebugModeDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.HardcodedValuesDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.IncludeDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.InvalidPackageDetector
Accessing an invalid package
ISSUE - Static variable in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.LabelForDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.LayoutInflationDetector
Passing in a null parent to a layout inflater
ISSUE - Static variable in class com.android.tools.lint.checks.ManifestTypoDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.MathDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.MissingIdDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.NegativeMarginDetector
Negative margins
ISSUE - Static variable in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.NfcTechListDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
Usage of deprecated views or attributes
ISSUE - Static variable in class com.android.tools.lint.checks.OnClickDetector
Missing onClick handlers
ISSUE - Static variable in class com.android.tools.lint.checks.OverdrawDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.OverrideConcreteDetector
Are previously-abstract methods all overridden?
ISSUE - Static variable in class com.android.tools.lint.checks.OverrideDetector
Accidental overrides
ISSUE - Static variable in class com.android.tools.lint.checks.ParcelDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.PreferenceActivityDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.PrivateKeyDetector
Packaged private key files
ISSUE - Static variable in class com.android.tools.lint.checks.PrivateResourceDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.RegistrationDetector
Unregistered activities and services
ISSUE - Static variable in class com.android.tools.lint.checks.RelativeOverlapDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.RequiredAttributeDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.ResourcePrefixDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.ScrollViewChildDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.SdCardDetector
Hardcoded /sdcard/ references
ISSUE - Static variable in class com.android.tools.lint.checks.SecureRandomDetector
Unregistered activities and services
ISSUE - Static variable in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
Whether the random number generator is initialized correctly
ISSUE - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
Invocations of setJavaScriptEnabled
ISSUE - Static variable in class com.android.tools.lint.checks.SharedPrefsDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.SignatureOrSystemDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.StateListDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.SystemPermissionsDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.TextFieldDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.TextViewDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.TitleDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.ToastDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.TypoDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
Unused resources (other than ids).
ISSUE - Static variable in class com.android.tools.lint.checks.UseCompoundDrawableDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.Utf8Detector
Detects non-utf8 encodings
ISSUE - Static variable in class com.android.tools.lint.checks.ViewConstructorDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.ViewHolderDetector
Using a view inflater unconditionally in an AdapterView
ISSUE - Static variable in class com.android.tools.lint.checks.ViewTagDetector
Using setTag and leaking memory
ISSUE - Static variable in class com.android.tools.lint.checks.ViewTypeDetector
Mismatched view types
ISSUE - Static variable in class com.android.tools.lint.checks.WakelockDetector
Problems using wakelocks
ISSUE - Static variable in class com.android.tools.lint.checks.WebViewDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.WrongCallDetector
Calling the wrong method
ISSUE - Static variable in class com.android.tools.lint.checks.WrongImportDetector
Is android.R being imported?
ISSUE - Static variable in class com.android.tools.lint.checks.WrongLocationDetector
Main issue investigated by this detector
ISSUE_IDS - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
Unused id's
isValidJavaPackage(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns true if the given owner (in VM format) is a valid Java package supported in any version of Android.

J

JavaPerformanceDetector - Class in com.android.tools.lint.checks
Looks for performance issues in Java files, such as memory allocations during drawing operations and using HashMap instead of SparseArray.
JavaPerformanceDetector() - Constructor for class com.android.tools.lint.checks.JavaPerformanceDetector
Constructs a new JavaPerformanceDetector check
JavaScriptInterfaceDetector - Class in com.android.tools.lint.checks
Looks for addJavascriptInterface calls on interfaces have been properly annotated with @JavaScriptInterface
JavaScriptInterfaceDetector() - Constructor for class com.android.tools.lint.checks.JavaScriptInterfaceDetector
Constructs a new JavaScriptInterfaceDetector check

L

LabelForDetector - Class in com.android.tools.lint.checks
Detector which finds unlabeled text fields
LabelForDetector() - Constructor for class com.android.tools.lint.checks.LabelForDetector
Constructs a new LabelForDetector
LayoutConsistencyDetector - Class in com.android.tools.lint.checks
Checks for consistency in layouts across different resource folders
LayoutConsistencyDetector() - Constructor for class com.android.tools.lint.checks.LayoutConsistencyDetector
Constructs a consistency check
LayoutInflationDetector - Class in com.android.tools.lint.checks
Looks for layout inflation calls passing null as the view root
LayoutInflationDetector() - Constructor for class com.android.tools.lint.checks.LayoutInflationDetector
Constructs a new LayoutInflationDetector check
length - Variable in class com.android.tools.lint.checks.TypographyDetector.ReplaceEdit
The number of characters to delete at the offset
LIB_PLUGIN_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
The Gradle plugin ID for Android libraries
LOCALE_CLS - Static variable in class com.android.tools.lint.checks.DateFormatDetector
 
LocaleDetector - Class in com.android.tools.lint.checks
Checks for errors related to locale handling
LocaleDetector() - Constructor for class com.android.tools.lint.checks.LocaleDetector
Constructs a new LocaleDetector
LocaleFolderDetector - Class in com.android.tools.lint.checks
Checks for errors related to locale handling
LocaleFolderDetector() - Constructor for class com.android.tools.lint.checks.LocaleFolderDetector
Constructs a new LocaleFolderDetector
LogDetector - Class in com.android.tools.lint.checks
Detector for finding inefficiencies and errors in logging calls.
LogDetector() - Constructor for class com.android.tools.lint.checks.LogDetector
 
LONG_TAG - Static variable in class com.android.tools.lint.checks.LogDetector
Log tag is too long

M

ManifestDetector - Class in com.android.tools.lint.checks
Checks for issues in AndroidManifest files such as declaring elements in the wrong order.
ManifestDetector() - Constructor for class com.android.tools.lint.checks.ManifestDetector
Constructs a new ManifestDetector check
ManifestTypoDetector - Class in com.android.tools.lint.checks
Checks for typos in manifest files
ManifestTypoDetector() - Constructor for class com.android.tools.lint.checks.ManifestTypoDetector
Constructs a new ManifestTypoDetector check
mApiDatabase - Variable in class com.android.tools.lint.checks.ApiDetector
 
MathDetector - Class in com.android.tools.lint.checks
Looks for usages of Math methods which can be replaced with android.util.FloatMath methods to avoid casting.
MathDetector() - Constructor for class com.android.tools.lint.checks.MathDetector
Constructs a new MathDetector check
MergeRootFrameLayoutDetector - Class in com.android.tools.lint.checks
Checks whether a root FrameLayout can be replaced with a <merge> tag.
MergeRootFrameLayoutDetector() - Constructor for class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
Constructs a new MergeRootFrameLayoutDetector
MIPMAP - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using drawable rather than mipmap launcher icons
MISSING - Static variable in class com.android.tools.lint.checks.MissingClassDetector
Manifest-referenced classes missing from the project or libraries
MISSING - Static variable in class com.android.tools.lint.checks.PluralsDetector
This locale should define a quantity string for the given quantity
MISSING - Static variable in class com.android.tools.lint.checks.TranslationDetector
Are all translations complete?
MISSING_NAMESPACE - Static variable in class com.android.tools.lint.checks.DetectMissingPrefix
Attributes missing the android: prefix
MissingClassDetector - Class in com.android.tools.lint.checks
Checks to ensure that classes referenced in the manifest actually exist and are included
MissingClassDetector() - Constructor for class com.android.tools.lint.checks.MissingClassDetector
Constructs a new MissingClassDetector
MissingIdDetector - Class in com.android.tools.lint.checks
Check which looks for missing id's in views where they are probably needed
MissingIdDetector() - Constructor for class com.android.tools.lint.checks.MissingIdDetector
Constructs a new MissingIdDetector
mManifestRegistrations - Variable in class com.android.tools.lint.checks.RegistrationDetector
 
MOCK_LOCATION - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using a mock location in a non-debug-specific manifest file
MOCK_LOCATION_PERMISSION - Static variable in class com.android.tools.lint.checks.ManifestDetector
Permission name of mock location permission
MULTIPLE_USES_SDK - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using multiple <uses-sdk> elements

N

NamespaceDetector - Class in com.android.tools.lint.checks
Checks for various issues related to XML namespaces
NamespaceDetector() - Constructor for class com.android.tools.lint.checks.NamespaceDetector
Constructs a new NamespaceDetector
NegativeMarginDetector - Class in com.android.tools.lint.checks
Checks for negative margins in the following scenarios: In direct layout attribute usages, e.g.
NegativeMarginDetector() - Constructor for class com.android.tools.lint.checks.NegativeMarginDetector
Constructs a new NegativeMarginDetector
NESTED_WEIGHTS - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
Are weights nested?
NestedScrollingWidgetDetector - Class in com.android.tools.lint.checks
Checks whether a root FrameLayout can be replaced with a <merge> tag.
NestedScrollingWidgetDetector() - Constructor for class com.android.tools.lint.checks.NestedScrollingWidgetDetector
Constructs a new NestedScrollingWidgetDetector
NfcTechListDetector - Class in com.android.tools.lint.checks
Check which makes sure NFC tech lists do not include spaces around <tech> values since that's not handled correctly by the inflater
NfcTechListDetector() - Constructor for class com.android.tools.lint.checks.NfcTechListDetector
Constructs a new NfcTechListDetector
NonInternationalizedSmsDetector - Class in com.android.tools.lint.checks
Detector looking for text messages sent to an unlocalized phone number.
NonInternationalizedSmsDetector() - Constructor for class com.android.tools.lint.checks.NonInternationalizedSmsDetector
Constructs a new NonInternationalizedSmsDetector check
NOT_SIBLING - Static variable in class com.android.tools.lint.checks.WrongIdDetector
Reference to an id that is not a sibling

O

ObsoleteLayoutParamsDetector - Class in com.android.tools.lint.checks
Looks for layout params on views that are "obsolete" - may have made sense when the view was added but there is a different layout parent now which does not use the given layout params.
ObsoleteLayoutParamsDetector() - Constructor for class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
Constructs a new ObsoleteLayoutParamsDetector
offset - Variable in class com.android.tools.lint.checks.TypographyDetector.ReplaceEdit
The offset of the edit
OLD_APP_PLUGIN_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
Previous plugin id for applications
OLD_LIB_PLUGIN_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
Previous plugin id for libraries
OnClickDetector - Class in com.android.tools.lint.checks
Checks for missing onClick handlers
OnClickDetector() - Constructor for class com.android.tools.lint.checks.OnClickDetector
Constructs a new OnClickDetector
OPEN_PROVIDER - Static variable in class com.android.tools.lint.checks.SecurityDetector
Content provides which grant all URIs access
ORDER - Static variable in class com.android.tools.lint.checks.ButtonDetector
The main issue discovered by this detector
ORDER - Static variable in class com.android.tools.lint.checks.ManifestDetector
Wrong order of elements in the manifest
ORIENTATION - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
Missing explicit orientation
OTHER - Static variable in class com.android.tools.lint.checks.TypographyDetector
The main issue discovered by this detector
OverdrawDetector - Class in com.android.tools.lint.checks
Check which looks for overdraw problems where view areas are painted and then painted over, meaning that the bottom paint operation is a waste of time.
OverdrawDetector() - Constructor for class com.android.tools.lint.checks.OverdrawDetector
Constructs a new OverdrawDetector
OVERRIDE - Static variable in class com.android.tools.lint.checks.ApiDetector
Accessing an unsupported API
OverrideConcreteDetector - Class in com.android.tools.lint.checks
Checks that subclasses of certain APIs are overriding all methods that were abstract in one or more earlier API levels that are still targeted by the minSdkVersion of this project.
OverrideConcreteDetector() - Constructor for class com.android.tools.lint.checks.OverrideConcreteDetector
Constructs a new OverrideConcreteDetector
OverrideDetector - Class in com.android.tools.lint.checks
Checks for accidental overrides
OverrideDetector() - Constructor for class com.android.tools.lint.checks.OverrideDetector
Constructs a new OverrideDetector

P

PAINT_ALLOC - Static variable in class com.android.tools.lint.checks.JavaPerformanceDetector
Allocating objects during a paint method
ParcelDetector - Class in com.android.tools.lint.checks
Looks for Parcelable classes that are missing a CREATOR field
ParcelDetector() - Constructor for class com.android.tools.lint.checks.ParcelDetector
Constructs a new ParcelDetector check
parseApi(File) - Static method in class com.android.tools.lint.checks.Api
Parses simplified API file.
PATH - Static variable in class com.android.tools.lint.checks.GradleDetector
Invalid or dangerous paths
PluralsDatabase - Class in com.android.tools.lint.checks
Database used by the PluralsDetector to get information about plural forms for a given language
PluralsDatabase() - Constructor for class com.android.tools.lint.checks.PluralsDatabase
 
PluralsDatabase.Quantity - Enum in com.android.tools.lint.checks
 
PluralsDetector - Class in com.android.tools.lint.checks
Checks for issues with quantity strings
PluralsDetector() - Constructor for class com.android.tools.lint.checks.PluralsDetector
Constructs a new PluralsDetector
PLUS - Static variable in class com.android.tools.lint.checks.GradleDetector
Using + in versions
POTENTIAL_PLURAL - Static variable in class com.android.tools.lint.checks.StringFormatDetector
This plural does not use the quantity value
PreferenceActivityDetector - Class in com.android.tools.lint.checks
Ensures that PreferenceActivity and its subclasses are never exported.
PreferenceActivityDetector() - Constructor for class com.android.tools.lint.checks.PreferenceActivityDetector
 
PrivateKeyDetector - Class in com.android.tools.lint.checks
Looks for packaged private key files.
PrivateKeyDetector() - Constructor for class com.android.tools.lint.checks.PrivateKeyDetector
Constructs a new PrivateKeyDetector check
PrivateResourceDetector - Class in com.android.tools.lint.checks
Check which looks for access of private resources.
PrivateResourceDetector() - Constructor for class com.android.tools.lint.checks.PrivateResourceDetector
Constructs a new detector
ProguardDetector - Class in com.android.tools.lint.checks
Check which looks for errors in Proguard files.
ProguardDetector() - Constructor for class com.android.tools.lint.checks.ProguardDetector
 
PropertyFileDetector - Class in com.android.tools.lint.checks
Check for errors in .property files
PropertyFileDetector() - Constructor for class com.android.tools.lint.checks.PropertyFileDetector
Constructs a new PropertyFileDetector
PX_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
Using px instead of dp
PxUsageDetector - Class in com.android.tools.lint.checks
Check for px dimensions instead of dp dimensions.
PxUsageDetector() - Constructor for class com.android.tools.lint.checks.PxUsageDetector
Constructs a new PxUsageDetector

Q

QUOTES - Static variable in class com.android.tools.lint.checks.TypographyDetector
Replace dumb quotes with smart quotes?

R

RECYCLE_RESOURCE - Static variable in class com.android.tools.lint.checks.CleanupDetector
Problems with missing recycle calls
RegistrationDetector - Class in com.android.tools.lint.checks
Checks for missing manifest registrations for activities, services etc and also makes sure that they are registered with the correct tag
RegistrationDetector() - Constructor for class com.android.tools.lint.checks.RegistrationDetector
Constructs a new RegistrationDetector
RelativeOverlapDetector - Class in com.android.tools.lint.checks
Check for potential item overlaps in a RelativeLayout when left- and right-aligned text items are used.
RelativeOverlapDetector() - Constructor for class com.android.tools.lint.checks.RelativeOverlapDetector
 
REMOTE_VERSION - Static variable in class com.android.tools.lint.checks.GradleDetector
A newer version is available on a remote server
replaceWith - Variable in class com.android.tools.lint.checks.TypographyDetector.ReplaceEdit
The characters to insert at the offset
requestsHeight(String) - Static method in class com.android.tools.lint.checks.IncludeDetector
Returns true if the error message (earlier reported by this lint detector) requests for the layout_height to be defined.
requestsWidth(String) - Static method in class com.android.tools.lint.checks.IncludeDetector
Returns true if the error message (earlier reported by this lint detector) requests for the layout_width to be defined.
RequiredAttributeDetector - Class in com.android.tools.lint.checks
Ensures that layout width and height attributes are specified
RequiredAttributeDetector() - Constructor for class com.android.tools.lint.checks.RequiredAttributeDetector
Constructs a new RequiredAttributeDetector
RES_AUTO - Static variable in class com.android.tools.lint.checks.NamespaceDetector
Unused namespace declarations
reset() - Static method in class com.android.tools.lint.checks.BuiltinIssueRegistry
Reset the registry such that it recomputes its available issues.
ResourceCycleDetector - Class in com.android.tools.lint.checks
Checks for cycles in resource definitions
ResourceCycleDetector() - Constructor for class com.android.tools.lint.checks.ResourceCycleDetector
Constructs a new ResourceCycleDetector
ResourcePrefixDetector - Class in com.android.tools.lint.checks
Ensure that resources in Gradle projects which specify a resource prefix conform to the given name TODO: What about id's?
ResourcePrefixDetector() - Constructor for class com.android.tools.lint.checks.ResourcePrefixDetector
Constructs a new ResourcePrefixDetector
RtlDetector - Class in com.android.tools.lint.checks
Check which looks for RTL issues (right-to-left support) in layouts
RtlDetector() - Constructor for class com.android.tools.lint.checks.RtlDetector
Constructs a new RtlDetector
run(Context) - Method in class com.android.tools.lint.checks.PrivateKeyDetector
 
run(Context) - Method in class com.android.tools.lint.checks.ProguardDetector
 
run(Context) - Method in class com.android.tools.lint.checks.PropertyFileDetector
 
run(Context) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 

S

scanForAndCheckSetOnTouchListenerCalls(ClassContext, ClassNode) - Static method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
SCROLLVIEW_ISSUE - Static variable in class com.android.tools.lint.checks.ChildCountDetector
The main issue discovered by this detector
ScrollViewChildDetector - Class in com.android.tools.lint.checks
Check which looks at the children of ScrollViews and ensures that they fill/match the parent width instead of setting wrap_content.
ScrollViewChildDetector() - Constructor for class com.android.tools.lint.checks.ScrollViewChildDetector
Constructs a new ScrollViewChildDetector
SdCardDetector - Class in com.android.tools.lint.checks
Looks for hardcoded references to /sdcard/.
SdCardDetector() - Constructor for class com.android.tools.lint.checks.SdCardDetector
Constructs a new SdCardDetector check
SecureRandomDetector - Class in com.android.tools.lint.checks
Checks for hardcoded seeds with random numbers.
SecureRandomDetector() - Constructor for class com.android.tools.lint.checks.SecureRandomDetector
Constructs a new SecureRandomDetector
SecureRandomGeneratorDetector - Class in com.android.tools.lint.checks
Checks for pseudo random number generator initialization issues
SecureRandomGeneratorDetector() - Constructor for class com.android.tools.lint.checks.SecureRandomGeneratorDetector
Constructs a new SecureRandomGeneratorDetector
SecurityDetector - Class in com.android.tools.lint.checks
Checks that exported services request a permission.
SecurityDetector() - Constructor for class com.android.tools.lint.checks.SecurityDetector
Constructs a new SecurityDetector check
SELECTABLE - Static variable in class com.android.tools.lint.checks.TextViewDetector
Text could be selectable
ServiceCastDetector - Class in com.android.tools.lint.checks
Detector looking for casts on th result of context.getSystemService which are suspect
ServiceCastDetector() - Constructor for class com.android.tools.lint.checks.ServiceCastDetector
Constructs a new ServiceCastDetector check
SET_VERSION - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using a resource for attributes that do not allow it
SetJavaScriptEnabledDetector - Class in com.android.tools.lint.checks
Looks for invocations of android.webkit.WebSettings.setJavaScriptEnabled.
SetJavaScriptEnabledDetector() - Constructor for class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
Constructs a new SetJavaScriptEnabledDetector check
SharedPrefsDetector - Class in com.android.tools.lint.checks
Detector looking for SharedPreferences.edit() calls without a corresponding commit() or apply() call
SharedPrefsDetector() - Constructor for class com.android.tools.lint.checks.SharedPrefsDetector
Constructs a new SharedPrefsDetector check
SignatureOrSystemDetector - Class in com.android.tools.lint.checks
Checks if signatureOrSystem level permissions are set.
SignatureOrSystemDetector() - Constructor for class com.android.tools.lint.checks.SignatureOrSystemDetector
 
SIMPLE_DATE_FORMAT_CLS - Static variable in class com.android.tools.lint.checks.DateFormatDetector
 
SMALL_SP_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
Using text sizes that are too small
SPLIT_CONFIG - Static variable in class com.android.tools.lint.checks.ProguardDetector
Finds ProGuard files that contain non-project specific configuration locally and suggests replacing it with an include path
SQLITE_DATABASE_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
startElement(String, String, String, Attributes) - Method in class com.android.tools.lint.checks.ApiParser
 
StateListDetector - Class in com.android.tools.lint.checks
Checks for unreachable states in an Android state list definition
StateListDetector() - Constructor for class com.android.tools.lint.checks.StateListDetector
Constructs a new StateListDetector
STATUS_BAR_NOTIFICATION_FQN - Static variable in class com.android.tools.lint.checks.OverrideConcreteDetector
 
STOP_SHIP - Static variable in class com.android.tools.lint.checks.CommentDetector
Looks for special comment markers intended to stop shipping the code
STRING_INTEGER - Static variable in class com.android.tools.lint.checks.GradleDetector
Using a string where an integer is expected
STRING_LOCALE - Static variable in class com.android.tools.lint.checks.LocaleDetector
Calling risky convenience methods
StringFormatDetector - Class in com.android.tools.lint.checks
Check which looks for problems with formatting strings such as inconsistencies between translations or between string declaration and string usage in Java.
StringFormatDetector() - Constructor for class com.android.tools.lint.checks.StringFormatDetector
Constructs a new StringFormatDetector check
STYLE - Static variable in class com.android.tools.lint.checks.ButtonDetector
The main issue discovered by this detector
successors - Variable in class com.android.tools.lint.checks.ControlFlowGraph.Node
Any normal successors (e.g.
SURFACE_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
SURFACE_TEXTURE_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
SYMMETRY - Static variable in class com.android.tools.lint.checks.RtlDetector
 
SystemPermissionsDetector - Class in com.android.tools.lint.checks
Checks if an application wants to use permissions that can only be used by system applications.
SystemPermissionsDetector() - Constructor for class com.android.tools.lint.checks.SystemPermissionsDetector
Constructs a new SystemPermissionsDetector check

T

TARGET_NEWER - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using a targetSdkVersion that isn't recent
TextFieldDetector - Class in com.android.tools.lint.checks
Checks for usability problems in text fields: omitting inputType, or omitting a hint.
TextFieldDetector() - Constructor for class com.android.tools.lint.checks.TextFieldDetector
Constructs a new TextFieldDetector
TextViewDetector - Class in com.android.tools.lint.checks
Checks for cases where a TextView should probably be an EditText instead
TextViewDetector() - Constructor for class com.android.tools.lint.checks.TextViewDetector
Constructs a new TextViewDetector
TitleDetector - Class in com.android.tools.lint.checks
Check which makes sure menu items specify a title
TitleDetector() - Constructor for class com.android.tools.lint.checks.TitleDetector
Constructs a new TitleDetector
ToastDetector - Class in com.android.tools.lint.checks
Detector looking for Toast.makeText() without a corresponding show() call
ToastDetector() - Constructor for class com.android.tools.lint.checks.ToastDetector
Constructs a new ToastDetector check
toDot(Set<ControlFlowGraph.Node>) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Generates dot output of the graph.
TOO_DEEP - Static variable in class com.android.tools.lint.checks.TooManyViewsDetector
Issue of having too deep hierarchies in layouts
TOO_MANY - Static variable in class com.android.tools.lint.checks.TooManyViewsDetector
Issue of having too many views in a single layout
TooManyViewsDetector - Class in com.android.tools.lint.checks
Checks whether a root FrameLayout can be replaced with a <merge> tag.
TooManyViewsDetector() - Constructor for class com.android.tools.lint.checks.TooManyViewsDetector
Constructs a new TooManyViewsDetector
toString() - Method in class com.android.tools.lint.checks.ApiClass
 
toString(boolean) - Method in class com.android.tools.lint.checks.ControlFlowGraph.Node
Represents this instruction as a string, for debugging purposes
toString(ControlFlowGraph.Node) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Creates a human readable version of the graph
toString() - Method in class com.android.tools.lint.checks.ControlFlowGraph
 
TranslationDetector - Class in com.android.tools.lint.checks
Checks for incomplete translations - e.g.
TranslationDetector() - Constructor for class com.android.tools.lint.checks.TranslationDetector
Constructs a new TranslationDetector
TYPE_MISMATCH - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
Wrong resource value type
TYPO - Static variable in class com.android.tools.lint.checks.NamespaceDetector
Typos in the namespace
TypoDetector - Class in com.android.tools.lint.checks
Check which looks for likely typos in Strings.
TypoDetector() - Constructor for class com.android.tools.lint.checks.TypoDetector
Constructs a new detector
TypographyDetector - Class in com.android.tools.lint.checks
Checks for various typographical issues in string definitions.
TypographyDetector() - Constructor for class com.android.tools.lint.checks.TypographyDetector
Constructs a new TypographyDetector
TypographyDetector.ReplaceEdit - Class in com.android.tools.lint.checks
An object describing a single edit to be made.
TypographyDetector.ReplaceEdit(int, int, String) - Constructor for class com.android.tools.lint.checks.TypographyDetector.ReplaceEdit
Creates a new replace edit
TypoLookup - Class in com.android.tools.lint.checks
Database of common typos / misspellings.

U

UNIQUE_PERMISSION - Static variable in class com.android.tools.lint.checks.ManifestDetector
Conflicting permission names
UNKNOWN_ID - Static variable in class com.android.tools.lint.checks.WrongIdDetector
Reference to an unknown id
UNKNOWN_ID_LAYOUT - Static variable in class com.android.tools.lint.checks.WrongIdDetector
Reference to an id that is not in the current layout
UNSUPPORTED - Static variable in class com.android.tools.lint.checks.ApiDetector
Accessing an unsupported API
UNUSED - Static variable in class com.android.tools.lint.checks.ApiDetector
Accessing an inlined API on older platforms
UNUSED - Static variable in class com.android.tools.lint.checks.NamespaceDetector
Unused namespace declarations
UnusedResourceDetector - Class in com.android.tools.lint.checks
Finds unused resources.
UnusedResourceDetector() - Constructor for class com.android.tools.lint.checks.UnusedResourceDetector
Constructs a new UnusedResourceDetector
USE_ALPHA_2 - Static variable in class com.android.tools.lint.checks.LocaleFolderDetector
 
USE_SPARSE_ARRAY - Static variable in class com.android.tools.lint.checks.JavaPerformanceDetector
Using HashMaps where SparseArray would be better
USE_START - Static variable in class com.android.tools.lint.checks.RtlDetector
 
USE_VALUE_OF - Static variable in class com.android.tools.lint.checks.JavaPerformanceDetector
Using new Integer() instead of the more efficient Integer.valueOf
UseCompoundDrawableDetector - Class in com.android.tools.lint.checks
Checks whether the current node can be replaced by a TextView using compound drawables.
UseCompoundDrawableDetector() - Constructor for class com.android.tools.lint.checks.UseCompoundDrawableDetector
Constructs a new UseCompoundDrawableDetector
USELESS_LEAF - Static variable in class com.android.tools.lint.checks.UselessViewDetector
Issue of including a leaf that isn't shown
USELESS_PARENT - Static variable in class com.android.tools.lint.checks.UselessViewDetector
Issue of including a parent that has no value on its own
UselessViewDetector - Class in com.android.tools.lint.checks
Checks whether the current node can be removed without affecting the layout.
UselessViewDetector() - Constructor for class com.android.tools.lint.checks.UselessViewDetector
Constructs a new UselessViewDetector
USES_SDK - Static variable in class com.android.tools.lint.checks.ManifestDetector
Missing a <uses-sdk> element
Utf8Detector - Class in com.android.tools.lint.checks
Checks that the encoding used in resource files is always UTF-8
Utf8Detector() - Constructor for class com.android.tools.lint.checks.Utf8Detector
Constructs a new Utf8Detector

V

valueOf(String) - Static method in enum com.android.tools.lint.checks.PluralsDatabase.Quantity
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.tools.lint.checks.PluralsDatabase.Quantity
Returns an array containing the constants of this enum type, in the order they are declared.
ViewConstructorDetector - Class in com.android.tools.lint.checks
Looks for custom views that do not define the view constructors needed by UI builders
ViewConstructorDetector() - Constructor for class com.android.tools.lint.checks.ViewConstructorDetector
Constructs a new ViewConstructorDetector check
ViewHolderDetector - Class in com.android.tools.lint.checks
Looks for ListView scrolling performance: should use view holder pattern
ViewHolderDetector() - Constructor for class com.android.tools.lint.checks.ViewHolderDetector
Constructs a new ViewHolderDetector check
ViewTagDetector - Class in com.android.tools.lint.checks
Checks for missing view tag detectors
ViewTagDetector() - Constructor for class com.android.tools.lint.checks.ViewTagDetector
Constructs a new ViewTagDetector
ViewTypeDetector - Class in com.android.tools.lint.checks
Detector for finding inconsistent usage of views and casts
ViewTypeDetector() - Constructor for class com.android.tools.lint.checks.ViewTypeDetector
 
visit - Variable in class com.android.tools.lint.checks.ControlFlowGraph.Node
A tag for use during depth-first-search iteration of the graph etc
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.ApiDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.AppCompatResourceDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.ByteOrderMarkDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.DeprecationDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.DetectMissingPrefix
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.HardcodedValuesDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.LabelForDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.OnClickDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.PrivateResourceDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.PxUsageDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.RtlDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.SignatureOrSystemDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
visitBuildScript(Context, Map<String, Object>) - Method in class com.android.tools.lint.checks.GradleDetector
 
visitConstructor(JavaContext, AstVisitor, ConstructorInvocation, JavaParser.ResolvedMethod) - Method in class com.android.tools.lint.checks.CleanupDetector
 
visitConstructor(JavaContext, AstVisitor, ConstructorInvocation, JavaParser.ResolvedMethod) - Method in class com.android.tools.lint.checks.DateFormatDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.DosLineEndingDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.ExtraTextDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.LayoutInflationDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.NamespaceDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.StateListDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.Utf8Detector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.WrongLocationDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ApiDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ButtonDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ChildCountDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.DeprecationDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.GridLayoutDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.IconDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.IncludeDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.InefficientWeightDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.LabelForDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ManifestDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ManifestTypoDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.MissingIdDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.NfcTechListDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.PluralsDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.PreferenceActivityDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.PxUsageDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.RegistrationDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.RelativeOverlapDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ScrollViewChildDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.SecurityDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TextFieldDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TextViewDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TitleDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TooManyViewsDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TranslationDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TypoDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TypographyDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.UseCompoundDrawableDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.UselessViewDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.WebViewDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.WrongCaseDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
visitElementAfter(XmlContext, Element) - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
 
visitElementAfter(XmlContext, Element) - Method in class com.android.tools.lint.checks.TooManyViewsDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.AppCompatCallDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.CheckPermissionDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.CipherGetInstanceDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.CleanupDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.CustomViewDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.CutPasteDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.GetSignaturesDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.LayoutInflationDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.LogDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.SecurityDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.ServiceCastDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.SharedPrefsDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.ToastDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
visitMethod(JavaContext, AstVisitor, MethodInvocation) - Method in class com.android.tools.lint.checks.WrongCallDetector
 
visitResourceReference(JavaContext, AstVisitor, Node, String, String, boolean) - Method in class com.android.tools.lint.checks.ColorUsageDetector
 
visitResourceReference(JavaContext, AstVisitor, Node, String, String, boolean) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
visitResourceReference(JavaContext, AstVisitor, Node, String, String, boolean) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 

W

WakelockDetector - Class in com.android.tools.lint.checks
Checks for problems with wakelocks (such as failing to release them) which can lead to unnecessary battery usage.
WakelockDetector() - Constructor for class com.android.tools.lint.checks.WakelockDetector
Constructs a new WakelockDetector
WebViewDetector - Class in com.android.tools.lint.checks
 
WebViewDetector() - Constructor for class com.android.tools.lint.checks.WebViewDetector
Constructs a new WebViewDetector
WITHIN_LAYOUT - Static variable in class com.android.tools.lint.checks.DuplicateIdDetector
The main issue discovered by this detector
WORLD_READABLE - Static variable in class com.android.tools.lint.checks.SecurityDetector
Using the world-readable flag
WORLD_WRITEABLE - Static variable in class com.android.tools.lint.checks.SecurityDetector
Using the world-writable flag
WRONG_0DP - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
Using 0dp on the wrong dimension
WRONG_CASE - Static variable in class com.android.tools.lint.checks.WrongCaseDetector
Using the wrong case for layout tags
WRONG_KEEP - Static variable in class com.android.tools.lint.checks.ProguardDetector
The main issue discovered by this detector
WRONG_PARENT - Static variable in class com.android.tools.lint.checks.ManifestDetector
Missing a <uses-sdk> element
WRONG_REGION - Static variable in class com.android.tools.lint.checks.LocaleFolderDetector
Using a region that might not be a match for the given language
WRONG_TAG - Static variable in class com.android.tools.lint.checks.LogDetector
Mismatched tags between isLogging and log calls within it
WrongCallDetector - Class in com.android.tools.lint.checks
Checks for cases where the wrong call is being made
WrongCallDetector() - Constructor for class com.android.tools.lint.checks.WrongCallDetector
Constructs a new WrongCallDetector
WrongCaseDetector - Class in com.android.tools.lint.checks
Check which looks for missing wrong case usage for certain layout tags.
WrongCaseDetector() - Constructor for class com.android.tools.lint.checks.WrongCaseDetector
Constructs a new WrongCaseDetector
WrongIdDetector - Class in com.android.tools.lint.checks
Checks for duplicate ids within a layout and within an included layout
WrongIdDetector() - Constructor for class com.android.tools.lint.checks.WrongIdDetector
Constructs a duplicate id check
WrongImportDetector - Class in com.android.tools.lint.checks
Checks for "import android.R", which seems to be a common source of confusion (see for example http://stackoverflow.com/questions/885009/r-cannot-be-resolved-android-error and many other forums).
WrongImportDetector() - Constructor for class com.android.tools.lint.checks.WrongImportDetector
Constructs a new WrongImportDetector check
WrongLocationDetector - Class in com.android.tools.lint.checks
Looks for problems with XML files being placed in the wrong folder
WrongLocationDetector() - Constructor for class com.android.tools.lint.checks.WrongLocationDetector
Constructs a new WrongLocationDetector check

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