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

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
ACTION_STRING - Static variable in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
add(AbstractInsnNode, AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Adds an exception flow to this graph
addMissingPermissions(PermissionHolder, Set<String>) - Method in class com.android.tools.lint.checks.PermissionRequirement
 
addRevocablePermissions(Set<String>, PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
 
afterCheckEachProject(Context) - Method in class com.android.tools.lint.checks.IconDetector
 
afterCheckEachProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
afterCheckEachProject(Context) - Method in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.AndroidTvDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.ChromeOsDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.CommentDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.CutPasteDetector
 
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.WearStandaloneAppDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.ButtonDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.CordovaVersionDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.FirebaseMessagingDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.InstantAppDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.LayoutInflationDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.OnClickDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.OverrideDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.RtlDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
afterCheckRootProject(Context) - Method in class com.android.tools.lint.checks.WakelockDetector
 
afterCheckRootProject(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
AllowAllHostnameVerifierDetector - Class in com.android.tools.lint.checks
 
AllowAllHostnameVerifierDetector() - Constructor for class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
 
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_APP_ACTIVITY - Static variable in class com.android.tools.lint.checks.WakelockDetector
 
ANDROID_CONTENT_SHARED_PREFERENCES - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
AndroidAutoDetector - Class in com.android.tools.lint.checks
Detector for Android Auto issues.
AndroidAutoDetector() - Constructor for class com.android.tools.lint.checks.AndroidAutoDetector
Constructs a new AndroidAutoDetector check
AndroidPatternMatcher - Class in com.android.tools.lint.checks
A simple pattern matcher, which is safe to use on untrusted data: it does not provide full reg-exp support, only simple globbing that can not be used maliciously.
AndroidPatternMatcher(String, int) - Constructor for class com.android.tools.lint.checks.AndroidPatternMatcher
 
AndroidTvDetector - Class in com.android.tools.lint.checks
Detects various issues for Android TV.
AndroidTvDetector() - Constructor for class com.android.tools.lint.checks.AndroidTvDetector
Constructs a new AndroidTvDetector check
annotation - Variable in class com.android.tools.lint.checks.PermissionRequirement
 
ANNOTATION_USAGE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
Incorrectly using a support annotation
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
ANY_THREAD_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ApiClass - Class in com.android.tools.lint.checks
Represents a class and its methods/fields.
ApiClassOwner - Class in com.android.tools.lint.checks
Represents a package or a class containing inner classes.
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.
ApiMember - Class in com.android.tools.lint.checks
Represents a method or a field.
ApiMember(String, int, int, int) - Constructor for class com.android.tools.lint.checks.ApiMember
 
APP_INDEXING_SERVICE - Static variable in class com.android.tools.lint.checks.ManifestDetector
 
AppCompatCallDetector - Class in com.android.tools.lint.checks
 
AppCompatCallDetector() - Constructor for class com.android.tools.lint.checks.AppCompatCallDetector
 
AppCompatCustomViewDetector - Class in com.android.tools.lint.checks
Looks for subclasses of custom widgets in projects using app compat
AppCompatCustomViewDetector() - Constructor for class com.android.tools.lint.checks.AppCompatCustomViewDetector
AppCompatResourceDetector - Class in com.android.tools.lint.checks
Check that the right namespace is used for app compat menu items
AppCompatResourceDetector() - Constructor for class com.android.tools.lint.checks.AppCompatResourceDetector
Constructs a new AppCompatResourceDetector
appendOperator(StringBuilder, IElementType) - Static method in class com.android.tools.lint.checks.PermissionRequirement
 
AppIndexingApiDetector - Class in com.android.tools.lint.checks
Check if the usage of App Indexing is correct.
AppIndexingApiDetector() - Constructor for class com.android.tools.lint.checks.AppIndexingApiDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.AndroidAutoDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.AppCompatCustomViewDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.AppIndexingApiDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.BadHostnameVerifierDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.FirebaseMessagingDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.FragmentDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.GetContentDescriptionOverrideDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.HandlerDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.ItemDecoratorDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.LeakDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.OnClickDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.OverdrawDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.OverrideConcreteDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.ParcelDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.RecyclerViewDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.RegistrationDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.TrustAllX509TrustManagerDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
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(ResourceFolderType) - Method in class com.android.tools.lint.checks.AndroidAutoDetector
 
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(ResourceFolderType) - Method in class com.android.tools.lint.checks.ButtonDetector
 
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.EllipsizeMaxLinesDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.FontDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.FullBackupContentDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.IconDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
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.NetworkSecurityConfigDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.NfcTechListDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
appliesTo(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
Returns false if this permission does not apply given the specified minimum and target sdk versions
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.PluralsDetector
 
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.StateListDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TitleDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TypoDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TypographyDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.VectorDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.VectorDrawableCompatDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
appliesToResourceRefs() - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
appliesToResourceRefs() - Method in class com.android.tools.lint.checks.PrivateResourceDetector
 
appliesToResourceRefs() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
AppLinksAutoVerifyDetector - Class in com.android.tools.lint.checks
Check if the App Link which needs auto verification is correctly set.
AppLinksAutoVerifyDetector() - Constructor for class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
 
AppLinksValidDetector - Class in com.android.tools.lint.checks
Checks for invalid app links URLs
AppLinksValidDetector() - Constructor for class com.android.tools.lint.checks.AppLinksValidDetector
Constructs a new AppLinksValidDetector check
AppLinksValidDetector.UriInfo - Class in com.android.tools.lint.checks
URL information from an intent filter
APPLY_SHARED_PREF - Static variable in class com.android.tools.lint.checks.CleanupDetector
Using commit instead of apply on a shared preference
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
ATTR_ALL_OF - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_ANY_OF - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_CONDITIONAL - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_DIGEST - Static variable in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
 
ATTR_ELLIPSIZE - Static variable in class com.android.tools.lint.checks.EllipsizeMaxLinesDetector
 
ATTR_FROM - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_FROM_INCLUSIVE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_LAYOUT_HEIGHT_PERCENT - Static variable in class com.android.tools.lint.checks.RequiredAttributeDetector
 
ATTR_LAYOUT_WIDTH_PERCENT - Static variable in class com.android.tools.lint.checks.RequiredAttributeDetector
 
ATTR_LINES - Static variable in class com.android.tools.lint.checks.EllipsizeMaxLinesDetector
 
ATTR_MAX - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_MAX_LINES - Static variable in class com.android.tools.lint.checks.EllipsizeMaxLinesDetector
 
ATTR_MIN - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_MULTIPLE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_PROTECTION_LEVEL - Static variable in class com.android.tools.lint.checks.PermissionRequirement
 
ATTR_SUGGEST - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_TO - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
ATTR_TO_INCLUSIVE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
AUTH_LEAK - Static variable in class com.android.tools.lint.checks.StringAuthLeakDetector
Looks for hidden code
AutofillDetector - Class in com.android.tools.lint.checks
 
AutofillDetector() - Constructor for class com.android.tools.lint.checks.AutofillDetector
 

B

BACK_BUTTON - Static variable in class com.android.tools.lint.checks.ButtonDetector
The main issue discovered by this detector
BadHostnameVerifierDetector - Class in com.android.tools.lint.checks
 
BadHostnameVerifierDetector() - Constructor for class com.android.tools.lint.checks.BadHostnameVerifierDetector
 
BASELINE_WEIGHTS - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
Should a LinearLayout set android:baselineAligned?
beforeCheckEachProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.AndroidTvDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.ChromeOsDetector
 
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.PrivateResourceDetector
 
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.TypoDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.WearStandaloneAppDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.AndroidAutoDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.ApiDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.AppCompatCallDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.FirebaseMessagingDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.FontDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.IconDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.TypographyDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
 
beforeCheckRootProject(Context) - Method in class com.android.tools.lint.checks.VectorDrawableCompatDetector
 
BINDER_THREAD_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
BROADCAST_SMS - Static variable in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
BROKEN_PROPERTY - Static variable in class com.android.tools.lint.checks.ObjectAnimatorDetector
Incorrect ObjectAnimator binding
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

C

cacheable() - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
 
CASE - Static variable in class com.android.tools.lint.checks.ButtonDetector
The main issue discovered by this detector
CHECK_RESULT_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
checkBinaryResource(ResourceContext) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
checkBinaryResource(ResourceContext) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
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.UnpackedNativeCodeDetector
 
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.CordovaVersionDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.OverrideDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.TrustAllX509TrustManagerDetector
 
checkFolder(ResourceContext, String) - Method in class com.android.tools.lint.checks.ApiDetector
 
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
 
checkObsoleteSdkVersion(JavaContext, UElement) - Method in class com.android.tools.lint.checks.ApiDetector
 
ChromeOsDetector - Class in com.android.tools.lint.checks
Detects various issues for Chrome OS devices.
ChromeOsDetector() - Constructor for class com.android.tools.lint.checks.ChromeOsDetector
Constructs a new ChromeOsDetector check
CLASS_CANVAS - Static variable in class com.android.tools.lint.checks.JavaPerformanceDetector
 
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
codeNameToApi(String) - Static method in class com.android.tools.lint.checks.VersionChecks
 
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.
compareTo(ApiClass) - Method in class com.android.tools.lint.checks.ApiClass
 
compareTo(ApiClassOwner) - Method in class com.android.tools.lint.checks.ApiClassOwner
 
COMPAT - Static variable in class com.android.tools.lint.checks.RtlDetector
 
ConstraintLayoutDetector - Class in com.android.tools.lint.checks
Check which looks for potential errors in declarations of ConstraintLayout, such as under specifying constraints
ConstraintLayoutDetector() - Constructor for class com.android.tools.lint.checks.ConstraintLayoutDetector
Constructs a new ConstraintLayoutDetector check
contains(RangeConstraint) - Method in class com.android.tools.lint.checks.RangeConstraint
Checks whether the given range is compatible with this one.
containsClass(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns true if the given owner class is known in the API database.
CONTENT_PROVIDER_CLIENT_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
CordovaVersionDetector - Class in com.android.tools.lint.checks
Checks to detect vulnerable versions of Apache Cordova.
CordovaVersionDetector() - Constructor for class com.android.tools.lint.checks.CordovaVersionDetector
Constructs a new CordovaVersionDetector check
CordovaVersionDetector.JsVersionLineProcessor - Class in com.android.tools.lint.checks
A LineProcessor that matches a specific cordova pattern and if successful terminates early.
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.
create(UAnnotation) - Static method in class com.android.tools.lint.checks.PermissionRequirement
 
create(UAnnotation) - Static method in class com.android.tools.lint.checks.RangeConstraint
 
create(PsiModifierListOwner) - Static method in class com.android.tools.lint.checks.RangeConstraint
 
CREATE_SOCKET - Static variable in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.AnnotationDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.ApiDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.CommentDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.ExifInterfaceDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.IconDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.LeakDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.RtlDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.SecurityDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.StringAuthLeakDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.ViewHolderDetector
 
createUastHandler(JavaContext) - Method in class com.android.tools.lint.checks.WrongImportDetector
 
createUriInfos(Element, XmlContext) - Static method in class com.android.tools.lint.checks.AppLinksValidDetector
Given an activity (or activity alias) element, looks up the intent filters that contain URIs and creates a list of AppLinksValidDetector.UriInfo objects for these
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

D

DASHES - Static variable in class com.android.tools.lint.checks.TypographyDetector
Replace hyphens with dashes?
DATA_BINDER - Static variable in class com.android.tools.lint.checks.RecyclerViewDetector
 
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
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
describeMissingPermissions(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
Describes the missing permissions (e.g.
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.
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 ...
EllipsizeMaxLinesDetector - Class in com.android.tools.lint.checks
Checks for the scenario which triggers https://issuetracker.google.com/issues/36950033
EllipsizeMaxLinesDetector() - Constructor for class com.android.tools.lint.checks.EllipsizeMaxLinesDetector
Constructs a new EllipsizeMaxLinesDetector
ENABLED - Static variable in class com.android.tools.lint.checks.RtlDetector
 
equals(Object) - Method in class com.android.tools.lint.checks.ApiMember
 
equivalentFragmentAtOffset(String, int, String) - Static method in class com.android.tools.lint.checks.ApiLookup
Checks if the substring of the given class or package name at the given offset is equal to the given fragment or differs only by separators.
equivalentName(String, String) - Static method in class com.android.tools.lint.checks.ApiLookup
Checks if the two given class or package names are equal or differ only by separators.
ERRORPRONE_CAN_IGNORE_RETURN_VALUE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
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.
EXCLUDE_TESTS_PROPERTY - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
 
EXIF_INTERFACE - Static variable in class com.android.tools.lint.checks.ExifInterfaceDetector
 
ExifInterfaceDetector - Class in com.android.tools.lint.checks
Checks for errors related to the Exif Interface
ExifInterfaceDetector() - Constructor for class com.android.tools.lint.checks.ExifInterfaceDetector
Constructs a new ExifInterfaceDetector
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

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
FINDBUGS_ANNOTATIONS_CHECK_RETURN_VALUE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
findIntegerExamples(String, PluralsDatabase.Quantity) - Method in class com.android.tools.lint.checks.PluralsDatabase
 
findRequiredPermissions(JavaContext, PermissionFinder.Operation, UElement) - Static method in class com.android.tools.lint.checks.PermissionFinder
Searches for a permission requirement for the given parameter in the given call
FirebaseAnalyticsDetector - Class in com.android.tools.lint.checks
 
FirebaseAnalyticsDetector() - Constructor for class com.android.tools.lint.checks.FirebaseAnalyticsDetector
Constructs a new FirebaseAnalyticsDetector
FirebaseMessagingDetector - Class in com.android.tools.lint.checks
 
FirebaseMessagingDetector() - Constructor for class com.android.tools.lint.checks.FirebaseMessagingDetector
Constructs a new FirebaseMessagingDetector
FIXED_POSITION - Static variable in class com.android.tools.lint.checks.RecyclerViewDetector
 
FLAG_STYLE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
Flags should typically be specified as bit shifts
FLOAT_RANGE_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
FONT_VALIDATION_ERROR - Static variable in class com.android.tools.lint.checks.FontDetector
 
FONT_VALIDATION_WARNING - Static variable in class com.android.tools.lint.checks.FontDetector
 
FontDetector - Class in com.android.tools.lint.checks
 
FontDetector() - Constructor for class com.android.tools.lint.checks.FontDetector
 
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
FullBackupContentDetector - Class in com.android.tools.lint.checks
Check which makes sure that a full-backup-content descriptor file is valid and logical
FullBackupContentDetector() - Constructor for class com.android.tools.lint.checks.FullBackupContentDetector
Constructs a new FullBackupContentDetector
FUTURE_API_VERSION_WHERE_DOWNLOADABLE_FONTS_WORK_IN_FRAMEWORK - Static variable in class com.android.tools.lint.checks.FontDetector
 

G

get(LintClient) - Static method in class com.android.tools.lint.checks.ApiLookup
Returns an instance of the API database
get(LintClient, IAndroidTarget) - 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_INSECURE - Static variable in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
 
GET_LOCALES - Static variable in class com.android.tools.lint.checks.LocaleFolderDetector
Crashes if using 3-letter resources in an app *and* calling AssetManager#getLocales() directly or indirectly
getAllowedAutomotiveAppTypes() - Static method in class com.android.tools.lint.checks.AndroidAutoDetector
 
getApi() - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
 
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.DeprecationDetector
 
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.EllipsizeMaxLinesDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.InvalidImeActionIdDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.KeyboardNavigationDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.LabelForDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.ManifestPermissionAttributeDetector
 
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.VectorDrawableCompatDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.VectorPathDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.WrongIdDetector
 
getApplicableCallNames() - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
 
getApplicableCallNames() - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
 
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.AllowAllHostnameVerifierDetector
 
getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.CleanupDetector
 
getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.DateFormatDetector
 
getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.JobSchedulerDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.AndroidAutoDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.AndroidTvDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ApiDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.AppIndexingApiDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.AppLinksValidDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.AutofillDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ButtonDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ChromeOsDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ConstraintLayoutDetector
 
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.FontDetector
 
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.InstantAppDetector
 
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.PrivateResourceDetector
Check resource definitions: overriding a private resource from an upstream library?
getApplicableElements() - Method in class com.android.tools.lint.checks.PxUsageDetector
 
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.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.TypoDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TypographyDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
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.VectorDrawableCompatDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.WearStandaloneAppDetector
 
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.MergeMarkerDetector
 
getApplicableFiles() - Method in class com.android.tools.lint.checks.PrivateKeyDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AppCompatCallDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CleanupDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
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.FirebaseAnalyticsDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.FirebaseMessagingDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.GetSignaturesDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.HardwareIdDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.InstantAppDetector
 
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.LocaleFolderDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.MathDetector
 
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.ObjectAnimatorDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.PowerManagerDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ReadParcelableDetector
 
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.SetTextDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SQLiteDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
 
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.UnpackedNativeCodeDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ViewTagDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.WakelockDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.WrongCallDetector
 
getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.HardwareIdDetector
 
getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.InstantAppDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.AnnotationDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.ApiDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.CommentDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.ExifInterfaceDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.IconDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.LeakDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.OverdrawDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.RtlDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.SecurityDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.StringAuthLeakDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.ViewHolderDetector
 
getApplicableUastTypes() - Method in class com.android.tools.lint.checks.WrongImportDetector
 
getAttributeSpellingSuggestions(String, String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
For a given misspelled attribute, return the allowed suggestions/corrections.
getCatchParametersLocation(JavaContext, UCatchClause) - Static method in class com.android.tools.lint.checks.ApiDetector
 
getChildren() - Method in class com.android.tools.lint.checks.PermissionRequirement
Returns nested requirements, combined via PermissionRequirement.getOperator()
getClassDeprecatedIn(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version the given class was deprecated in, or -1 if the class is not deprecated.
getClasses() - Method in class com.android.tools.lint.checks.ApiClassOwner
If this container is a package, returns the classes in this package, or, if this container is a class, the inner classes.
getClassRemovedIn(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version the given class was removed in, or -1 if the class was not removed.
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.
getContainerName() - Method in class com.android.tools.lint.checks.ApiClass
 
GetContentDescriptionOverrideDetector - Class in com.android.tools.lint.checks
Check that looks for override of getContentDescription() in any class that descends from View.
GetContentDescriptionOverrideDetector() - Constructor for class com.android.tools.lint.checks.GetContentDescriptionOverrideDetector
Constructs a new GetContentDescriptionOverrideDetector check.
getDeprecatedIn() - Method in class com.android.tools.lint.checks.ApiMember
Returns the API level when the member was deprecated, or 0 if the member was not deprecated.
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.
getExported(Element) - Static method in class com.android.tools.lint.checks.SecurityDetector
 
getFieldDeprecatedIn(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version the given field was deprecated in, or -1 if the field is not deprecated.
getFieldRemovedIn(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version the given field was removed in, or -1 if the field was not removed.
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.
getFirstApplicableApi() - Method in class com.android.tools.lint.checks.PermissionRequirement
Returns the level of the first applicable API level, or 1 if the requirement does not have a specific API range.
getIssueCapacity(EnumSet<Scope>) - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
 
getIssues() - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
 
getLastApplicableApi() - Method in class com.android.tools.lint.checks.PermissionRequirement
Returns the level of the last applicable API level for this permission requirement, if the requirement no longer applies.
getMethodDeprecatedIn(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version the given call was deprecated in, or -1 if the method is not deprecated.
getMethodRemovedIn(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version the given call was removed in, or -1 if the method was not removed.
getMethodVersion(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version required by the given method call.
getMinSdk(Context) - Method in class com.android.tools.lint.checks.ApiDetector
 
getMinSdkVersion() - Method in interface com.android.tools.lint.checks.PermissionHolder
 
getMinSdkVersion() - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
 
getMissingPermissions(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
Returns the missing permissions (e.g.
getName() - Method in class com.android.tools.lint.checks.ApiClassOwner
Returns the fully qualified name of the container.
getNode(AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Looks up (and if necessary) creates a graph node for the given instruction
getOperator() - Method in class com.android.tools.lint.checks.PermissionRequirement
For permission requirements that combine children, the operator to combine them with; null for leaf nodes
getPath() - Method in class com.android.tools.lint.checks.AndroidPatternMatcher
 
getRelevant(String) - Method in class com.android.tools.lint.checks.PluralsDatabase
 
getRemovedFields(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns all removed fields of the given class and all its super classes and interfaces.
getRemovedIn() - Method in class com.android.tools.lint.checks.ApiMember
Returns the API level when the member was removed, or 0 if the member was not removed.
getRemovedMethods(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns all removed methods of the given class and all its super classes and interfaces.
getResult() - Method in class com.android.tools.lint.checks.CordovaVersionDetector.JsVersionLineProcessor
 
getRevocablePermissions(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
Returns the permissions in the requirement that are revocable
getSignature() - Method in class com.android.tools.lint.checks.ApiMember
If the object represents a method, returns its signature without the return type.
GetSignaturesDetector - Class in com.android.tools.lint.checks
 
GetSignaturesDetector() - Constructor for class com.android.tools.lint.checks.GetSignaturesDetector
 
getSimpleName() - Method in class com.android.tools.lint.checks.ApiClass
 
getSince() - Method in class com.android.tools.lint.checks.ApiMember
Returns the API level when the member was introduced.
getSize(File) - Static method in class com.android.tools.lint.checks.IconDetector
 
getSupportedPinDigestAlgorithms() - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
Used by the IDE for quick fixes.
getTagSpellingSuggestions(String, String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
For a given misspelled attribute, return the allowed suggestions/corrections.
getTarget() - Method in class com.android.tools.lint.checks.ApiLookup
Returns the associated Android target, if known
getTargetApi(UElement) - Static method in class com.android.tools.lint.checks.ApiDetector
 
getTargetSdkVersion() - Method in interface com.android.tools.lint.checks.PermissionHolder
 
getTargetSdkVersion() - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
 
getType() - Method in class com.android.tools.lint.checks.AndroidPatternMatcher
 
getValidCastVersion(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version required to perform the given cast, or -1 if this is valid for all versions of the class (or, if these are not known classes or if the cast is not valid at all.)
getVariableElement(UCallExpression) - Static method in class com.android.tools.lint.checks.CleanupDetector
Returns the variable the expression is assigned to, if any
getVariableElement(UCallExpression, boolean, boolean) - Static method in class com.android.tools.lint.checks.CleanupDetector
 
GIF_USAGE - Static variable in class com.android.tools.lint.checks.IconDetector
Using .gif bitmaps
GMS_HIDE_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
GRADLE_OVERRIDES - Static variable in class com.android.tools.lint.checks.ManifestDetector
Defining a value that is overridden by Gradle
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
GUAVA_VISIBLE_FOR_TESTING - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 

H

HALF_FLOAT_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
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
HARDWARE_FEATURE_TOUCHSCREEN - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
 
HardwareIdDetector - Class in com.android.tools.lint.checks
Detect calls to get device Identifiers.
HardwareIdDetector() - Constructor for class com.android.tools.lint.checks.HardwareIdDetector
Constructs a new HardwareIdDetector
hashCode() - Method in class com.android.tools.lint.checks.ApiMember
 
hasMultipleValuesForQuantity(String, PluralsDatabase.Quantity) - Method in class com.android.tools.lint.checks.PluralsDatabase
 
hasPadding(Element) - Static method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
hasPermission(String) - Method in interface com.android.tools.lint.checks.PermissionHolder
Returns true if the permission holder has been granted the given permission
hasPermission(String) - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
 

I

ICON_COLORS - Static variable in class com.android.tools.lint.checks.IconDetector
Wrong color of notification icon.
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
ILLEGAL_REFERENCE - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using a resource for attributes that do not allow it
IMPL - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
 
IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.InstantAppDetector
 
IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.JobSchedulerDetector
 
IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
 
IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.RecyclerViewDetector
 
IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
 
IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.WearStandaloneAppDetector
 
IMPLEMENTATION_XML - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
 
IMPLIED_QUANTITY - Static variable in class com.android.tools.lint.checks.PluralsDetector
This plural does not use the quantity value
IMPLIED_TOUCHSCREEN_HARDWARE - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
 
IN_MM_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
Using mm/in instead of dp
INCLUDE_TESTS_PROPERTY - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
 
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
INITIAL_CAPACITY - Static variable in class com.android.tools.lint.checks.BuiltinIssueRegistry
 
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?
INSIDE_METHOD - Static variable in class com.android.tools.lint.checks.AnnotationDetector
Placing SuppressLint on a local variable doesn't work for class-file based checks
InstantAppDetector - Class in com.android.tools.lint.checks
Checks related to instant apps.
InstantAppDetector() - Constructor for class com.android.tools.lint.checks.InstantAppDetector
Constructs a new InstantAppDetector
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
INT_RANGE_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
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
 
INVALID_NAME - Static variable in class com.android.tools.lint.checks.FirebaseAnalyticsDetector
 
INVALID_USES_TAG_ISSUE - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
Invalid attribute for uses tag.
INVALID_WAKE_LOCK_TAG - Static variable in class com.android.tools.lint.checks.PowerManagerDetector
 
INVALID_WEAR_FEATURE_ATTRIBUTE - Static variable in class com.android.tools.lint.checks.WearStandaloneAppDetector
Invalid meta-data or missing wear standalone app flag
InvalidImeActionIdDetector - Class in com.android.tools.lint.checks
Check android:imeActionId for valid values, as defined by EditorInfo
InvalidImeActionIdDetector() - Constructor for class com.android.tools.lint.checks.InvalidImeActionIdDetector
Constructs a new InvalidImeActionIdDetector check
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
isAttributeSpellingError(String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
For a given error message created by this lint detector, returns whether the error was due to a typo in an attribute name.
isBenignConstantUsage(UElement, 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.
isClass() - Method in class com.android.tools.lint.checks.ApiClassOwner
Returns true if this container is a class, or false if it is a package.
isConditional() - Method in class com.android.tools.lint.checks.PermissionRequirement
Returns whether this requirement is conditional, meaning that there are some circumstances in which the requirement is not necessary.
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
isDrawableFile(String) - Static method in class com.android.tools.lint.checks.IconDetector
Like SdkUtils.isBitmapFile(File) but (a) operates on Strings instead of files and (b) also considers XML drawables as images
isHeightFillParent(Element) - Static method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
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.
isMultiCatchReflectiveOperationException(UCatchClause) - Static method in class com.android.tools.lint.checks.ApiDetector
 
isPrecededByVersionCheckExit(UElement, int) - Static method in class com.android.tools.lint.checks.VersionChecks
 
isRelevantOwner(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns true if the given owner (in VM format) is relevant to the database.
isRevocable(String) - Method in interface com.android.tools.lint.checks.PermissionHolder
Returns true if the given permission is known to be revocable for targetSdkVersion ≥ M
isRevocable(String) - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
 
isRevocable(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
Returns whether this permission is revocable
isRevocableSystemPermission(String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
Returns true if the given permission name is a revocable permission for targetSdkVersion ≥ 23
isRtlAttributeName(String) - Static method in class com.android.tools.lint.checks.RtlDetector
 
isSatisfied(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
Whether the permission requirement is satisfied given the set of granted permissions
isSingle() - Method in class com.android.tools.lint.checks.PermissionRequirement
Returns whether this requirement is for a single permission (rather than a boolean expression such as one permission or another.)
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.AllowAllHostnameVerifierDetector
 
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.AppCompatCallDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.AppCompatCustomViewDetector
Copy/pasted item decorator code
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.AutofillDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.BadHostnameVerifierDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.ConstraintLayoutDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.CordovaVersionDetector
Vulnerable Cordova Version
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.DuplicateResourceDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.EllipsizeMaxLinesDetector
Combining maxLines and ellipsize
ISSUE - Static variable in class com.android.tools.lint.checks.ExifInterfaceDetector
Using android.media.ExifInterface
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.FullBackupContentDetector
Validation of <full-backup-content> XML elements
ISSUE - Static variable in class com.android.tools.lint.checks.GetContentDescriptionOverrideDetector
 
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.HardwareIdDetector
Hardware Id Usages
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.InstantAppDetector
Instant App related issues
ISSUE - Static variable in class com.android.tools.lint.checks.InvalidImeActionIdDetector
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.ItemDecoratorDetector
Copy/pasted item decorator code
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.JobSchedulerDetector
Issues that negatively affect battery life
ISSUE - Static variable in class com.android.tools.lint.checks.KeyboardNavigationDetector
 
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.LeakDetector
Leaking data via static fields
ISSUE - Static variable in class com.android.tools.lint.checks.ManifestPermissionAttributeDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.ManifestResourceDetector
Using resources in the manifest that vary by configuration
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.MergeMarkerDetector
Packaged private key files
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.NetworkSecurityConfigDetector
Validate the entire network-security-config descriptor.
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.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.ReadParcelableDetector
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.SecureRandomGeneratorDetector
Whether the random number generator is initialized correctly
ISSUE - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
Invalid cast to a type from the service constant
ISSUE - Static variable in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
Invocations of setJavaScriptEnabled
ISSUE - Static variable in class com.android.tools.lint.checks.SignatureOrSystemDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.SQLiteDetector
Using STRING instead of TEXT for columns
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.TrustAllX509TrustManagerDetector
 
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.UnpackedNativeCodeDetector
 
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.VectorDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.VectorDrawableCompatDetector
The main issue discovered by this detector
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.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_APP_INDEXING - Static variable in class com.android.tools.lint.checks.AppIndexingApiDetector
 
ISSUE_APP_INDEXING_API - Static variable in class com.android.tools.lint.checks.AppIndexingApiDetector
 
ISSUE_ERROR - Static variable in class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
 
ISSUE_IDS - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
Unused id's
ISSUE_WARNING - Static variable in class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
 
isTagSpellingError(String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
 
isValidJavaPackage(String, int) - Method in class com.android.tools.lint.checks.ApiLookup
Returns true if the given package is a valid Java package supported in any version of Android.
isVectorGenerationSupported(Project) - Static method in class com.android.tools.lint.checks.VectorDetector
Returns true if the given Gradle project model supports raster image generation for vector drawables.
isVectorGenerationSupportedForFillType(Project) - Static method in class com.android.tools.lint.checks.VectorDetector
Returns true if the given Gradle project model supports raster image generation for vector drawables with the android:fillType attribute.
isVectorGenerationSupportedForGradient(Project) - Static method in class com.android.tools.lint.checks.VectorDetector
Returns true if the given Gradle project model supports raster image generation for vector drawables with gradients.
isVersionCheckConditional(int, UBinaryExpression) - Static method in class com.android.tools.lint.checks.VersionChecks
 
isWidthFillParent(Element) - Static method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
isWithinSdkConditional(ClassContext, ClassNode, MethodNode, AbstractInsnNode, int) - Static method in class com.android.tools.lint.checks.VersionChecks
 
isWithinVersionCheckConditional(JavaEvaluator, UElement, int) - Static method in class com.android.tools.lint.checks.VersionChecks
 
isWithinVersionCheckConditional(JavaEvaluator, UElement, int, VersionChecks.ApiLevelLookup) - Static method in class com.android.tools.lint.checks.VersionChecks
 
ItemDecoratorDetector - Class in com.android.tools.lint.checks
Looks for copy/paste versions of the divider item decorator.
ItemDecoratorDetector() - Constructor for class com.android.tools.lint.checks.ItemDecoratorDetector
Constructs a new ItemDecoratorDetector

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
JAVAX_ANNOTATION_CHECK_RETURN_VALUE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
JobSchedulerDetector - Class in com.android.tools.lint.checks
Checks looking for issues related to the JobScheduler API
JobSchedulerDetector() - Constructor for class com.android.tools.lint.checks.JobSchedulerDetector
Constructs a new JobSchedulerDetector
join(PermissionHolder, PermissionRequirement) - Static method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
Creates a PermissionHolder which combines the permissions held by the given holder, with the permissions implied by the given PermissionRequirement
join(PermissionHolder, Set<String>) - Static method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
Creates a PermissionHolder which combines the permissions held by the given holder, along with a set of additional permission names
JsVersionLineProcessor() - Constructor for class com.android.tools.lint.checks.CordovaVersionDetector.JsVersionLineProcessor
 

K

KEEP_ANNOTATION - Static variable in class com.android.tools.lint.checks.ObjectAnimatorDetector
 
KeyboardNavigationDetector - Class in com.android.tools.lint.checks
Check which looks at widgets that are declared as clickable and ensures that they are also declared as focusable so that they can be reached via keyboard navigation.
KeyboardNavigationDetector() - Constructor for class com.android.tools.lint.checks.KeyboardNavigationDetector
 

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
LATEST_KNOWN_VERSION - Static variable in class com.android.tools.lint.checks.ConstraintLayoutDetector
Latest known version of the ConstraintLayout library (as a GradleVersion
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
LeakDetector - Class in com.android.tools.lint.checks
Looks for leaks via static fields
LeakDetector() - Constructor for class com.android.tools.lint.checks.LeakDetector
Constructs a new LeakDetector check
length - Variable in class com.android.tools.lint.checks.TypographyDetector.ReplaceEdit
The number of characters to delete at the offset
LOAD - Static variable in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
LOCALE_CLS - Static variable in class com.android.tools.lint.checks.DateFormatDetector
 
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

M

MAIN_THREAD_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
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
ManifestPermissionAttributeDetector - Class in com.android.tools.lint.checks
Checks if the 'permission' attribute was set on a valid tag.
ManifestPermissionAttributeDetector() - Constructor for class com.android.tools.lint.checks.ManifestPermissionAttributeDetector
 
ManifestResourceDetector - Class in com.android.tools.lint.checks
Detects references to resources in the manifest that vary by configuration
ManifestResourceDetector() - Constructor for class com.android.tools.lint.checks.ManifestResourceDetector
Constructs a new ManifestResourceDetector
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
 
match(String) - Method in class com.android.tools.lint.checks.AndroidPatternMatcher
 
match(URL) - Method in class com.android.tools.lint.checks.AppLinksValidDetector.UriInfo
Matches a URL against this info, and returns null if successful or the failure reason if not a match
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
MergeMarkerDetector - Class in com.android.tools.lint.checks
Looks for merge markers left behind in the source files.
MergeMarkerDetector() - Constructor for class com.android.tools.lint.checks.MergeMarkerDetector
Constructs a new MergeMarkerDetector 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
MESSAGE - Static variable in class com.android.tools.lint.checks.KeyboardNavigationDetector
 
MIN_APPSUPPORT_VERSION - Static variable in class com.android.tools.lint.checks.FontDetector
 
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_BACKUP_PIN - Static variable in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
No backup pin specified
MISSING_BANNER - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
Missing banner attibute
MISSING_FULL_BACKUP_CONTENT_RESOURCE - Static variable in class com.android.tools.lint.checks.ManifestDetector
 
MISSING_INTENT_FILTER_FOR_MEDIA_SEARCH - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
Missing intent-filter for Media Search.
MISSING_KEEP - Static variable in class com.android.tools.lint.checks.ObjectAnimatorDetector
Missing @Keep
MISSING_LEANBACK_LAUNCHER - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
Missing leanback launcher intent filter
MISSING_LEANBACK_SUPPORT - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
Missing leanback support
MISSING_MEDIA_BROWSER_SERVICE_ACTION_ISSUE - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
Missing MediaBrowserService action
MISSING_ON_PLAY_FROM_SEARCH - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
Missing implementation of MediaSession.Callback#onPlayFromSearch
MISSING_TOKEN_REFRESH - Static variable in class com.android.tools.lint.checks.FirebaseMessagingDetector
 
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
MOTION_EVENT_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
MULTIPLE_USES_SDK - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using multiple <uses-sdk> elements

N

name - Variable in class com.android.tools.lint.checks.PermissionFinder.Result
 
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 scroll view contains a nested scrolling widget
NestedScrollingWidgetDetector() - Constructor for class com.android.tools.lint.checks.NestedScrollingWidgetDetector
NetworkSecurityConfigDetector - Class in com.android.tools.lint.checks
Check which makes sure that a network-security-config descriptor file is valid and logical
NetworkSecurityConfigDetector() - Constructor for class com.android.tools.lint.checks.NetworkSecurityConfigDetector
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
Node(AbstractInsnNode) - Constructor for class com.android.tools.lint.checks.ControlFlowGraph.Node
Constructs a new control graph node
NONE - Static variable in class com.android.tools.lint.checks.PermissionRequirement
 
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
NOTIFICATION_ICON_COMPATIBILITY - Static variable in class com.android.tools.lint.checks.IconDetector
Raster image is required for notification icon at API < 21.

O

ObjectAnimatorDetector - Class in com.android.tools.lint.checks
Looks for issues around ObjectAnimator usages
ObjectAnimatorDetector() - Constructor for class com.android.tools.lint.checks.ObjectAnimatorDetector
Constructs a new ObjectAnimatorDetector
OBSOLETE_SDK - Static variable in class com.android.tools.lint.checks.ApiDetector
Obsolete SDK_INT version check
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
offset - Variable in class com.android.tools.lint.checks.TypographyDetector.ReplaceEdit
The offset of the edit
OLD_EXIF_INTERFACE - Static variable in class com.android.tools.lint.checks.ExifInterfaceDetector
 
ON_TOUCH_EVENT - Static variable in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
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
operation - Variable in class com.android.tools.lint.checks.PermissionFinder.Result
 
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
Method conflicts with new inherited method
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
PATH_LENGTH - Static variable in class com.android.tools.lint.checks.VectorPathDetector
Paths that are too long
PATH_VALID - Static variable in class com.android.tools.lint.checks.VectorPathDetector
Path validation
PATTERN_ADVANCED_GLOB - Static variable in class com.android.tools.lint.checks.AndroidPatternMatcher
Pattern type: the given pattern is interpreted with a regular expression-like syntax for matching against the string it is tested against.
PATTERN_LITERAL - Static variable in class com.android.tools.lint.checks.AndroidPatternMatcher
Pattern type: the given pattern must exactly match the string it is tested against.
PATTERN_PREFIX - Static variable in class com.android.tools.lint.checks.AndroidPatternMatcher
Pattern type: the given pattern must match the beginning of the string it is tested against.
PATTERN_SIMPLE_GLOB - Static variable in class com.android.tools.lint.checks.AndroidPatternMatcher
Pattern type: the given pattern is interpreted with a simple glob syntax for matching against the string it is tested against.
PERCENT_RELATIVE_LAYOUT - Static variable in class com.android.tools.lint.checks.RequiredAttributeDetector
 
PERMISSION_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
PERMISSION_ANNOTATION_READ - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
PERMISSION_ANNOTATION_WRITE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
PERMISSION_IMPLIES_UNSUPPORTED_HARDWARE - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
Permission implies required hardware unsupported by TV
PERMISSION_IMPLIES_UNSUPPORTED_HARDWARE - Static variable in class com.android.tools.lint.checks.ChromeOsDetector
Permission implies required hardware unsupported by Chrome OS
PermissionFinder - Class in com.android.tools.lint.checks
Utility for locating permissions required by an intent or content resolver
PermissionFinder.Operation - Enum in com.android.tools.lint.checks
Operation that has a permission requirement -- such as a method call, a content resolver read or write operation, an intent, etc.
PermissionFinder.Result - Class in com.android.tools.lint.checks
A permission requirement given a name and operation
PermissionHolder - Interface in com.android.tools.lint.checks
A PermissionHolder knows which permissions are held/granted and can look up individual permissions and respond to queries about whether they are held or not.
PermissionHolder.SetPermissionLookup - Class in com.android.tools.lint.checks
A convenience implementation of PermissionHolder backed by a set
PermissionRequirement - Class in com.android.tools.lint.checks
A permission requirement is a boolean expression of permission names that a caller must satisfy for a given Android API.
PIN_SET_EXPIRY - Static variable in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
Validate the pin-set expiration attribute and warn if the expiry is in the near future.
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
POTENTIAL_PLURAL - Static variable in class com.android.tools.lint.checks.StringFormatDetector
This plural does not use the quantity value
PowerManagerDetector - Class in com.android.tools.lint.checks
 
PowerManagerDetector() - Constructor for class com.android.tools.lint.checks.PowerManagerDetector
Constructs a new PowerManagerDetector
prefix() - Method in enum com.android.tools.lint.checks.PermissionFinder.Operation
Prefix to use when describing a name with a permission requirement
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
processLine(String) - Method in class com.android.tools.lint.checks.CordovaVersionDetector.JsVersionLineProcessor
 
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
 
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

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

R

RangeConstraint - Class in com.android.tools.lint.checks
 
RangeConstraint() - Constructor for class com.android.tools.lint.checks.RangeConstraint
 
ReadParcelableDetector - Class in com.android.tools.lint.checks
Looks for Parcelable classes that are missing a CREATOR field
ReadParcelableDetector() - Constructor for class com.android.tools.lint.checks.ReadParcelableDetector
Constructs a new ReadParcelableDetector check
RECYCLE_RESOURCE - Static variable in class com.android.tools.lint.checks.CleanupDetector
Problems with missing recycle calls
RecyclerViewDetector - Class in com.android.tools.lint.checks
Checks related to RecyclerView usage.
RecyclerViewDetector() - Constructor for class com.android.tools.lint.checks.RecyclerViewDetector
 
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
 
ReplaceEdit(int, int, String) - Constructor for class com.android.tools.lint.checks.TypographyDetector.ReplaceEdit
Creates a new replace edit
replaceWith - Variable in class com.android.tools.lint.checks.TypographyDetector.ReplaceEdit
The characters to insert at the offset
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
requirement - Variable in class com.android.tools.lint.checks.PermissionFinder.Result
 
REQUIRES_API_ANNOTATION - Static variable in class com.android.tools.lint.checks.ApiDetector
 
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.
ResourcePrefixDetector - Class in com.android.tools.lint.checks
Ensure that resources in Gradle projects which specify a resource prefix conform to the given name
ResourcePrefixDetector() - Constructor for class com.android.tools.lint.checks.ResourcePrefixDetector
Constructs a new ResourcePrefixDetector
RESTRICT_TO_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
Result(PermissionFinder.Operation, PermissionRequirement, String) - Constructor for class com.android.tools.lint.checks.PermissionFinder.Result
 
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.MergeMarkerDetector
 
run(Context) - Method in class com.android.tools.lint.checks.PrivateKeyDetector
 
run(Context) - Method in class com.android.tools.lint.checks.ProguardDetector
 

S

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
SDK_DATABASE_MIN_VERSION - Static variable in class com.android.tools.lint.checks.ApiLookup
Database moved from platform-tools to SDK in API level 26
SDK_INT - Static variable in class com.android.tools.lint.checks.VersionChecks
 
SDK_SUPPRESS_ANNOTATION - Static variable in class com.android.tools.lint.checks.ApiDetector
 
search(UElement) - Method in class com.android.tools.lint.checks.PermissionFinder
 
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
SECURITY_EXCEPTION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
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 the result of context.getSystemService which are suspect.
ServiceCastDetector() - Constructor for class com.android.tools.lint.checks.ServiceCastDetector
Constructs a new ServiceCastDetector check
SET_READABLE - Static variable in class com.android.tools.lint.checks.SecurityDetector
Using java.io.File.setReadable(true, false) to set file world-readable
SET_TEXT_I18N - Static variable in class com.android.tools.lint.checks.SetTextDetector
Constructing SimpleDateFormat without an explicit locale
SET_VERSION - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using a resource for attributes that do not allow it
SET_WRITABLE - Static variable in class com.android.tools.lint.checks.SecurityDetector
Using java.io.File.setWritable(true, false) to set file world-writable
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
SetPermissionLookup(Set<String>, Set<String>, AndroidVersion, AndroidVersion) - Constructor for class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
 
SetPermissionLookup(Set<String>, Set<String>) - Constructor for class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
 
SetPermissionLookup(Set<String>) - Constructor for class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
 
SetTextDetector - Class in com.android.tools.lint.checks
Checks for errors related to TextView#setText and internationalization
SetTextDetector() - Constructor for class com.android.tools.lint.checks.SetTextDetector
Constructs a new SetTextDetector
SHARED_PREF - Static variable in class com.android.tools.lint.checks.CleanupDetector
Failing to commit a shared preference
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
 
sIncludeInactiveReferences - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
Whether the resource detector will look for inactive resources (e.g.
SIZE_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
SMALL_SP_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
Using text sizes that are too small
SOFTWARE_FEATURE_LEANBACK - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
 
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
 
SQLiteDetector - Class in com.android.tools.lint.checks
Detector which looks for problems related to SQLite usage
SQLiteDetector() - Constructor for class com.android.tools.lint.checks.SQLiteDetector
 
SslCertificateSocketFactoryDetector - Class in com.android.tools.lint.checks
 
SslCertificateSocketFactoryDetector() - Constructor for class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
 
startsWithEquivalentPrefix(String, String) - Static method in class com.android.tools.lint.checks.ApiLookup
Checks if the beginning part of the given class or package name is equal to the given prefix, or differs only by separators.
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_ESCAPING - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
Invalid XML escaping
StringAuthLeakDetector - Class in com.android.tools.lint.checks
Detector that looks for leaked credentials in strings.
StringAuthLeakDetector() - Constructor for class com.android.tools.lint.checks.StringAuthLeakDetector
 
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
 
SWITCH_TYPE_DEF - Static variable in class com.android.tools.lint.checks.AnnotationDetector
All IntDef constants should be included in switch
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
TEST_URL - Static variable in class com.android.tools.lint.checks.AppLinksValidDetector
The main issue discovered by this detector
testElement(URL, List<AppLinksValidDetector.UriInfo>) - Static method in class com.android.tools.lint.checks.AppLinksValidDetector
Given a test URL and a list of URI infos (previously returned from AppLinksValidDetector.createUriInfos(Element, XmlContext)) this method checks whether the URL matches, and if so returns null, otherwise returning the reason for the mismatch.
TextFieldDetector - Class in com.android.tools.lint.checks
Checks for usability problems in text fields: for example, omitting inputType.
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
THREAD_SUFFIX - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
TIMEOUT - Static variable in class com.android.tools.lint.checks.WakelockDetector
Using non-timeout version of wakelock acquire
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
toClassName(String) - Static method in class com.android.tools.lint.checks.UnusedResourceDetector
 
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 view hierarchy has too many views or has a suspiciously deep hierarchy
TooManyViewsDetector() - Constructor for class com.android.tools.lint.checks.TooManyViewsDetector
Constructs a new TooManyViewsDetector
toString() - Method in class com.android.tools.lint.checks.AndroidPatternMatcher
 
toString() - Method in class com.android.tools.lint.checks.ApiClass
 
toString() - Method in class com.android.tools.lint.checks.ApiClassOwner
 
toString() - Method in class com.android.tools.lint.checks.ApiMember
 
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
 
TrustAllX509TrustManagerDetector - Class in com.android.tools.lint.checks
 
TrustAllX509TrustManagerDetector() - Constructor for class com.android.tools.lint.checks.TrustAllX509TrustManagerDetector
 
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.

U

UI_THREAD_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
UNIQUE - Static variable in class com.android.tools.lint.checks.AnnotationDetector
IntDef annotations should be unique
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
UnpackedNativeCodeDetector - Class in com.android.tools.lint.checks
Checks for extractNativeLibs flag in AndroidManifest.xml when Native code is present.
UnpackedNativeCodeDetector() - Constructor for class com.android.tools.lint.checks.UnpackedNativeCodeDetector
No-args constructor used by the lint framework to instantiate the detector.
UNSAFE_NATIVE_CODE_LOCATION - Static variable in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
UnsafeBroadcastReceiverDetector - Class in com.android.tools.lint.checks
 
UnsafeBroadcastReceiverDetector() - Constructor for class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
UnsafeNativeCodeDetector - Class in com.android.tools.lint.checks
 
UnsafeNativeCodeDetector() - Constructor for class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
UNSUPPORTED - Static variable in class com.android.tools.lint.checks.ApiDetector
Accessing an unsupported API
UNSUPPORTED_CHROME_OS_HARDWARE - Static variable in class com.android.tools.lint.checks.ChromeOsDetector
Using hardware unsupported by Chrome OS devices
UNSUPPORTED_TV_HARDWARE - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
Using hardware unsupported by TV
UNUSED - Static variable in class com.android.tools.lint.checks.ApiDetector
Attribute unused on older versions
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
UriInfo(List<String>, List<String>, List<String>, List<AndroidPatternMatcher>) - Constructor for class com.android.tools.lint.checks.AppLinksValidDetector.UriInfo
 
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
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

VALID_BASE_TAGS - Static variable in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
 
validatePath(XmlContext, Attr, String) - Method in class com.android.tools.lint.checks.VectorPathDetector
Check the given path data and throw a number format exception (containing the exact invalid string) if it finds a problem
VALIDATION - Static variable in class com.android.tools.lint.checks.AppLinksValidDetector
 
VALUE_DANGEROUS - Static variable in class com.android.tools.lint.checks.PermissionRequirement
 
valueOf(String) - Static method in enum com.android.tools.lint.checks.PermissionFinder.Operation
Returns the enum constant of this type with the specified name.
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.PermissionFinder.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.tools.lint.checks.PluralsDatabase.Quantity
Returns an array containing the constants of this enum type, in the order they are declared.
VectorDetector - Class in com.android.tools.lint.checks
Looks for issues with converting vector drawables to bitmaps for backward compatibility.
VectorDetector() - Constructor for class com.android.tools.lint.checks.VectorDetector
Constructs a new VectorDetector
VectorDrawableCompatDetector - Class in com.android.tools.lint.checks
Finds all the vector drawables and checks references to them in layouts.
VectorDrawableCompatDetector() - Constructor for class com.android.tools.lint.checks.VectorDrawableCompatDetector
 
VectorPathDetector - Class in com.android.tools.lint.checks
Looks for issues with long vector paths
VectorPathDetector() - Constructor for class com.android.tools.lint.checks.VectorPathDetector
Constructs a new VectorPathDetector
VersionChecks - Class in com.android.tools.lint.checks
Utility methods for checking whether a given element is surrounded (or preceded!) by an API check using SDK_INT (or other version checking utilities such as BuildCompat#isAtLeastN)
VersionChecks() - Constructor for class com.android.tools.lint.checks.VersionChecks
 
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
VISIBLE_FOR_TESTING_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
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.DeprecationDetector
 
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.EllipsizeMaxLinesDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.InvalidImeActionIdDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.KeyboardNavigationDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.LabelForDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.ManifestPermissionAttributeDetector
 
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
Check resource references: accessing a private resource from an upstream library?
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.VectorDrawableCompatDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.VectorPathDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.AndroidAutoDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.AppCompatCustomViewDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.AppIndexingApiDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.BadHostnameVerifierDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
visitClass(JavaContext, ULambdaExpression) - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.FirebaseMessagingDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.FragmentDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.GetContentDescriptionOverrideDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.HandlerDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.ItemDecoratorDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.LeakDetector
Warn about inner classes that aren't static: these end up retaining the outer class
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.OnClickDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.OverrideConcreteDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.ParcelDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.RecyclerViewDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.RegistrationDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.TrustAllX509TrustManagerDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
visitClass(JavaContext, UClass) - Method in class com.android.tools.lint.checks.ViewConstructorDetector
 
visitConstructor(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
 
visitConstructor(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.CleanupDetector
 
visitConstructor(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.DateFormatDetector
 
visitConstructor(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.JobSchedulerDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.CommentDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.FullBackupContentDetector
 
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.ManifestResourceDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.NamespaceDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.StateListDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.Utf8Detector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.VectorDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.AndroidAutoDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.AndroidTvDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ApiDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.AppIndexingApiDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.AppLinksValidDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.AutofillDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ButtonDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ChromeOsDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ConstraintLayoutDetector
 
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.FontDetector
 
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.InstantAppDetector
 
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.PrivateResourceDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.PxUsageDetector
 
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.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.TypoDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TypographyDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
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.VectorDrawableCompatDetector
Saves names of all vector resources encountered.
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.WearStandaloneAppDetector
 
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
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.AppCompatCallDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.CleanupDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.CustomViewDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.CutPasteDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.FirebaseAnalyticsDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.FirebaseMessagingDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.GetSignaturesDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.HardwareIdDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.InstantAppDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.LayoutInflationDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.MathDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ObjectAnimatorDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.PowerManagerDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ReadParcelableDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SecurityDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ServiceCastDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SetTextDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SQLiteDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ToastDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ViewTagDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.WakelockDetector
 
visitMethodCall(JavaContext, UCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.WrongCallDetector
 
visitReference(JavaContext, UReferenceExpression, PsiElement) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
visitReference(JavaContext, UReferenceExpression, PsiElement) - Method in class com.android.tools.lint.checks.HardwareIdDetector
 
visitReference(JavaContext, UReferenceExpression, PsiElement) - Method in class com.android.tools.lint.checks.InstantAppDetector
 
visitResourceReference(JavaContext, UElement, ResourceType, String, boolean) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
visitResourceReference(JavaContext, UElement, ResourceType, String, boolean) - Method in class com.android.tools.lint.checks.PrivateResourceDetector
 
visitResourceReference(JavaContext, UElement, ResourceType, 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
WEAR_STANDALONE_APP_ISSUE - Static variable in class com.android.tools.lint.checks.WearStandaloneAppDetector
Invalid meta-data or missing wear standalone app flag
WEARABLE_BIND_LISTENER - Static variable in class com.android.tools.lint.checks.ManifestDetector
Uses Wear Bind Listener which is deprecated
WEARABLE_STANDALONE_ATTR - Static variable in class com.android.tools.lint.checks.WearStandaloneAppDetector
 
WearStandaloneAppDetector - Class in com.android.tools.lint.checks
 
WearStandaloneAppDetector() - Constructor for class com.android.tools.lint.checks.WearStandaloneAppDetector
Constructs a new WearStandaloneAppDetector check
WEBP_ELIGIBLE - Static variable in class com.android.tools.lint.checks.IconDetector
Switch to webp?
WEBP_UNSUPPORTED - Static variable in class com.android.tools.lint.checks.IconDetector
Webp unsupported?
WebViewDetector - Class in com.android.tools.lint.checks
 
WebViewDetector() - Constructor for class com.android.tools.lint.checks.WebViewDetector
Constructs a new WebViewDetector
WIFI_MANAGER - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
Using wifi manager from the wrong context
WIFI_MANAGER_UNCERTAIN - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
Using wifi manager from the wrong context: unknown Context origin
WITHIN_LAYOUT - Static variable in class com.android.tools.lint.checks.DuplicateIdDetector
The main issue discovered by this detector
WORKER_THREAD_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
 
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
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

X

XML_FILE_PATH - Static variable in class com.android.tools.lint.checks.ApiLookup
 
A B C D E F G H I J K L M N O P Q R S T U V W X 
Skip navigation links