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

A

AccessibilityDetector - Class in com.android.tools.lint.checks
Check which looks for accessibility problems like missing content descriptions
AccessibilityDetector() - Constructor for class com.android.tools.lint.checks.AccessibilityDetector
Constructs a new AccessibilityDetector
ACCIDENTAL_OCTAL - Static variable in class com.android.tools.lint.checks.GradleDetector
Accidentally using octal numbers
ACTION_STRING - Static variable in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
ADAPTER_VIEW_ISSUE - Static variable in class com.android.tools.lint.checks.ChildCountDetector
The main issue discovered by this detector
add(AbstractInsnNode, AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Adds an exception flow to this graph
addDeclaredResource(ResourceType, String, String, boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
AddJavascriptInterfaceDetector - Class in com.android.tools.lint.checks
Ensures that addJavascriptInterface is not called for API levels below 17.
AddJavascriptInterfaceDetector() - Constructor for class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
 
addLocation(File) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
addMissingPermissions(PermissionHolder, Set<String>) - Method in class com.android.tools.lint.checks.PermissionRequirement
 
addReference(ResourceUsageModel.Resource) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
addResource(ResourceType, String, String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
addRevocablePermissions(Set<String>, PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
 
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.DuplicateIdDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.FieldGetterDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.LabelForDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.ManifestDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.TranslationDetector
 
afterCheckFile(Context) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
afterCheckLibraryProject(Context) - Method in class com.android.tools.lint.checks.IconDetector
 
afterCheckLibraryProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
afterCheckLibraryProject(Context) - Method in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ButtonDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.CordovaVersionDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.GradleDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.IconDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.LayoutInflationDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ManifestDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.OnClickDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.OverrideDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.RtlDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.TranslationDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.WakelockDetector
 
afterCheckProject(Context) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
AlarmDetector - Class in com.android.tools.lint.checks
Makes sure that alarms are handled correctly
AlarmDetector() - Constructor for class com.android.tools.lint.checks.AlarmDetector
Constructs a new AlarmDetector check
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
 
ANDROID_WEAR_GROUP_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
 
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
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.SupportAnnotationDetector
 
Api - Class in com.android.tools.lint.checks
Main entry point for API description.
ApiClass - Class in com.android.tools.lint.checks
Represents a class and its methods/fields.
ApiDetector - Class in com.android.tools.lint.checks
Looks for usages of APIs that are not supported in all the versions targeted by this application (according to its minimum API requirement in the manifest).
ApiDetector() - Constructor for class com.android.tools.lint.checks.ApiDetector
Constructs a new API check
ApiLookup - Class in com.android.tools.lint.checks
Database for API checking: Allows quick lookup of a given class, method or field to see which API level it was introduced in.
ApiPackage - Class in com.android.tools.lint.checks
Represents a package and its classes
ApiParser - Class in com.android.tools.lint.checks
Parser for the simplified XML API format version 1.
APP_PLUGIN_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
The Gradle plugin ID for Android applications
AppCompatCallDetector - Class in com.android.tools.lint.checks
 
AppCompatCallDetector() - Constructor for class com.android.tools.lint.checks.AppCompatCallDetector
 
AppCompatResourceDetector - Class in com.android.tools.lint.checks
Check that the right namespace is used for app compat menu items Using app:showAsAction instead of android:showAsAction leads to problems, but isn't caught by the API Detector since it's not in the Android namespace.
AppCompatResourceDetector() - Constructor for class com.android.tools.lint.checks.AppCompatResourceDetector
Constructs a new AppCompatResourceDetector
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
 
AppIndexingApiDetector.IssueType - Enum in com.android.tools.lint.checks
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.AndroidAutoDetector
 
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.FragmentDetector
 
applicableSuperClasses() - Method in class com.android.tools.lint.checks.HandlerDetector
 
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.PreferenceActivityDetector
 
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.DetectMissingPrefix
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.ExtraTextDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.FullBackupContentDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.GradleDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.HardcodedValuesDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.IconDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.IconDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ManifestDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ManifestTypoDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.NfcTechListDetector
 
appliesTo(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(Context, File) - Method in class com.android.tools.lint.checks.ProguardDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.PropertyFileDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.PxUsageDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.RestrictionsDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.StateListDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
appliesTo(Context, File) - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TitleDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TranslationDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TypoDetector
 
appliesTo(ResourceFolderType) - Method in class com.android.tools.lint.checks.TypographyDetector
 
appliesTo(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.ViewTypeDetector
 
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
 
ARG_COUNT - Static variable in class com.android.tools.lint.checks.StringFormatDetector
Whether formatting argument types are consistent across translations
ARG_TYPES - Static variable in class com.android.tools.lint.checks.StringFormatDetector
Whether the string format supplied in a call to String.format matches the format string
ArraySizeDetector - Class in com.android.tools.lint.checks
Checks for arrays with inconsistent item counts
ArraySizeDetector() - Constructor for class com.android.tools.lint.checks.ArraySizeDetector
Constructs a new ArraySizeDetector
AssertDetector - Class in com.android.tools.lint.checks
Looks for assertion usages.
AssertDetector() - Constructor for class com.android.tools.lint.checks.AssertDetector
Constructs a new AssertDetector check
ATTR_ALL_OF - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
ATTR_ANY_OF - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
ATTR_CONDITIONAL - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
ATTR_FROM - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
ATTR_FROM_INCLUSIVE - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
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_MAX - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
ATTR_MIN - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
ATTR_MULTIPLE - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
ATTR_PROTECTION_LEVEL - Static variable in class com.android.tools.lint.checks.PermissionRequirement
 
ATTR_SUGGEST - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
ATTR_TO - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
ATTR_TO_INCLUSIVE - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
AUTH_LEAK - Static variable in class com.android.tools.lint.checks.StringAuthLeakDetector
Looks for hidden code

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?
BatteryDetector - Class in com.android.tools.lint.checks
Checks looking for issues that negatively affect battery life
BatteryDetector() - Constructor for class com.android.tools.lint.checks.BatteryDetector
Constructs a new BatteryDetector
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.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.TranslationDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.TypoDetector
 
beforeCheckFile(Context) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
beforeCheckLibraryProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.AndroidAutoDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.ApiDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.AppCompatCallDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.ArraySizeDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.IconDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.TranslationDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.TypographyDetector
 
beforeCheckProject(Context) - Method in class com.android.tools.lint.checks.VectorDrawableCompatDetector
 
BINDER_THREAD_ANNOTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
BOM - Static variable in class com.android.tools.lint.checks.ByteOrderMarkDetector
Detects BOM characters in the middle of files
BROADCAST_SMS - Static variable in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
BuiltinIssueRegistry - Class in com.android.tools.lint.checks
Registry which provides a list of checks to be performed on an Android project
BuiltinIssueRegistry() - Constructor for class com.android.tools.lint.checks.BuiltinIssueRegistry
Constructs a new BuiltinIssueRegistry
ButtonDetector - Class in com.android.tools.lint.checks
Check which looks at the order of buttons in dialogs and makes sure that "the dismissive action of a dialog is always on the left whereas the affirmative actions are on the right."
ButtonDetector() - Constructor for class com.android.tools.lint.checks.ButtonDetector
Constructs a new ButtonDetector
ByteOrderMarkDetector - Class in com.android.tools.lint.checks
Checks that byte order marks do not appear in resource names
ByteOrderMarkDetector() - Constructor for class com.android.tools.lint.checks.ByteOrderMarkDetector
Constructs a new ByteOrderMarkDetector

C

CallSuperDetector - Class in com.android.tools.lint.checks
Makes sure that methods call super when overriding methods.
CallSuperDetector() - Constructor for class com.android.tools.lint.checks.CallSuperDetector
Constructs a new CallSuperDetector check
CASE - Static variable in class com.android.tools.lint.checks.ButtonDetector
The main issue discovered by this detector
CHECK_PERMISSION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
Failing to enforce security by just calling check permission
CHECK_RESULT - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
Method result should be used
CHECK_RESULT_ANNOTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
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.WakelockDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.AndroidAutoDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.ApiDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.AppIndexingApiDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.BadHostnameVerifierDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.CordovaVersionDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.FragmentDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.HandlerDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.OnClickDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.OverrideConcreteDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.OverrideDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.ParcelDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.PreferenceActivityDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.RecyclerViewDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.RegistrationDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.TrustAllX509TrustManagerDetector
 
checkClass(ClassContext, ClassNode) - Method in class com.android.tools.lint.checks.TrustAllX509TrustManagerDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
 
checkClass(JavaContext, PsiClass) - Method in class com.android.tools.lint.checks.ViewConstructorDetector
 
checkDslPropertyAssignment(Context, String, String, String, String, Object, Object) - Method in class com.android.tools.lint.checks.GradleDetector
Called with for example "android", "defaultConfig", "minSdkVersion", "7"
checkFolder(ResourceContext, String) - Method in class com.android.tools.lint.checks.LocaleFolderDetector
 
checkInstruction(ClassContext, ClassNode, MethodNode, AbstractInsnNode) - Method in class com.android.tools.lint.checks.FieldGetterDetector
 
checkMethodCall(Context, String, String, Map<String, String>, List<String>, Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
checkOctal(Context, String, Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
checkSetOnTouchListenerCall(ClassContext, MethodNode, MethodInsnNode) - Static method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
ChildCountDetector - Class in com.android.tools.lint.checks
Check which makes sure that views have the expected number of declared children (e.g.
ChildCountDetector() - Constructor for class com.android.tools.lint.checks.ChildCountDetector
Constructs a new ChildCountDetector
CipherGetInstanceDetector - Class in com.android.tools.lint.checks
Ensures that Cipher.getInstance is not called with AES as the parameter.
CipherGetInstanceDetector() - Constructor for class com.android.tools.lint.checks.CipherGetInstanceDetector
 
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.ApiDetector
 
COLOR_USAGE - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
Attempting to set a resource id as a color
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(ApiPackage) - Method in class com.android.tools.lint.checks.ApiPackage
 
compareTo(ResourceUsageModel.Resource) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
COMPAT - Static variable in class com.android.tools.lint.checks.RtlDetector
 
COMPATIBILITY - Static variable in class com.android.tools.lint.checks.GradleDetector
Using incompatible versions
CONDITIONAL - Static variable in class com.android.tools.lint.checks.LogDetector
Log call missing surrounding if
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
containsAnnotation(PsiAnnotation[], PsiAnnotation) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
 
containsThreadingAnnotation(PsiAnnotation[]) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
 
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.
CRASH - Static variable in class com.android.tools.lint.checks.ResourceCycleDetector
Parent cycles
create(ControlFlowGraph, ClassNode, MethodNode) - Static method in class com.android.tools.lint.checks.ControlFlowGraph
Creates a new ControlFlowGraph and populates it with the flow control for the given method.
create(JavaContext, PsiAnnotation) - Static method in class com.android.tools.lint.checks.PermissionRequirement
 
CREATE_SOCKET - Static variable in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
 
createLocation(Context, Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.AnnotationDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.ApiDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.AssertDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.CallSuperDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.CommentDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.IconDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.LeakDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.RtlDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.SdCardDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.SecurityDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.StringAuthLeakDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.SupportAnnotationDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.ViewHolderDetector
 
createPsiVisitor(JavaContext) - Method in class com.android.tools.lint.checks.WrongImportDetector
 
CROSS_LAYOUT - Static variable in class com.android.tools.lint.checks.DuplicateIdDetector
The main issue discovered by this detector
CURSOR_CLS - Static variable in class com.android.tools.lint.checks.CleanupDetector
 
CUSTOM_VIEW - Static variable in class com.android.tools.lint.checks.NamespaceDetector
Using custom namespace attributes in a library project
CustomViewDetector - Class in com.android.tools.lint.checks
Makes sure that custom views use a declare styleable that matches the name of the custom view
CustomViewDetector() - Constructor for class com.android.tools.lint.checks.CustomViewDetector
Constructs a new CustomViewDetector check
CutPasteDetector - Class in com.android.tools.lint.checks
Detector looking for cut & paste issues
CutPasteDetector() - Constructor for class com.android.tools.lint.checks.CutPasteDetector
Constructs a new CutPasteDetector check
CYCLE - Static variable in class com.android.tools.lint.checks.ResourceCycleDetector
Style parent cycles, resource alias cycles, layout include cycles, etc

D

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

E

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

F

FieldGetterDetector - Class in com.android.tools.lint.checks
Looks for getter calls within the same class that could be replaced by direct field references instead.
FieldGetterDetector() - Constructor for class com.android.tools.lint.checks.FieldGetterDetector
Constructs a new FieldGetterDetector check
findIntegerExamples(String, PluralsDatabase.Quantity) - Method in class com.android.tools.lint.checks.PluralsDatabase
 
findRequiredPermissions(PermissionFinder.Operation, JavaContext, PsiElement) - Static method in class com.android.tools.lint.checks.PermissionFinder
Searches for a permission requirement for the given parameter in the given call
findRoots(List<ResourceUsageModel.Resource>) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
findUnused() - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
findUnused(List<ResourceUsageModel.Resource>) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
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.SupportAnnotationDetector
 
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

G

get(LintClient) - Static method in class com.android.tools.lint.checks.ApiLookup
Returns an instance of the API database
get() - Static method in class com.android.tools.lint.checks.PluralsDatabase
 
get(String) - Static method in enum com.android.tools.lint.checks.PluralsDatabase.Quantity
 
get(LintClient, String, String) - Static method in class com.android.tools.lint.checks.TypoLookup
Returns an instance of the Typo database for the given locale
GET_INSECURE - Static variable in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
 
getAllowedAutomotiveAppTypes() - Static method in class com.android.tools.lint.checks.AndroidAutoDetector
 
getAnnotationBooleanValue(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
 
getAnnotationDoubleValue(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
 
getAnnotationLongValue(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
 
getAnnotationStringValue(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
 
getAnnotationStringValues(PsiAnnotation, String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
 
getApplicableAsmNodeTypes() - Method in class com.android.tools.lint.checks.FieldGetterDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.ApiDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.AppCompatResourceDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.ByteOrderMarkDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.DeprecationDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.DetectMissingPrefix
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.HardcodedValuesDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.LabelForDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.OnClickDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.OverdrawDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.PrivateResourceDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.PxUsageDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.RtlDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.SignatureOrSystemDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.VectorDrawableCompatDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
getApplicableAttributes() - Method in class com.android.tools.lint.checks.WrongIdDetector
 
getApplicableCallNames() - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
 
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
 
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.ArraySizeDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.BatteryDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ButtonDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ChildCountDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.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.GridLayoutDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.IconDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.IncludeDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.InefficientWeightDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.LabelForDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ManifestDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ManifestTypoDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.MissingClassDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.MissingIdDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.NfcTechListDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.OverdrawDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.PluralsDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.PreferenceActivityDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.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.RegistrationDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.RelativeOverlapDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.ScrollViewChildDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.SecurityDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.StringFormatDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TextFieldDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TextViewDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TitleDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TooManyViewsDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TranslationDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TypoDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.TypographyDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.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.WebViewDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.WrongCaseDetector
 
getApplicableElements() - Method in class com.android.tools.lint.checks.WrongIdDetector
 
getApplicableFiles() - Method in class com.android.tools.lint.checks.PrivateKeyDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AlarmDetector
 
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.CipherGetInstanceDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CleanupDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CustomViewDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CutPasteDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.GetSignaturesDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.HardwareIdDetector
 
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.LocaleDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.LogDetector
 
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.ReadParcelableDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SecureRandomDetector
 
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.UnsafeNativeCodeDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ViewTagDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
getApplicableMethodNames() - Method in class com.android.tools.lint.checks.WrongCallDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.AnnotationDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.ApiDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.AssertDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.CallSuperDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.CommentDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.IconDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.LeakDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.OverdrawDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.RtlDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.SdCardDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.StringAuthLeakDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.SupportAnnotationDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.ViewHolderDetector
 
getApplicablePsiTypes() - Method in class com.android.tools.lint.checks.WrongImportDetector
 
getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.BatteryDetector
 
getCallDeprecatedIn(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.
getCallVersion(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns the API version required by the given method call.
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.ApiPackage
Returns the classes in this package
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.
getCompileDependencies(AndroidArtifact, GradleVersion) - Static method in class com.android.tools.lint.checks.GradleDetector
 
getEdits(String, String, Node) - Static method in class com.android.tools.lint.checks.TypographyDetector
Returns a list of edits to be applied to fix the suggestion made by the given warning.
getEdits(String, String, String) - Static method in class com.android.tools.lint.checks.TypographyDetector
Returns a list of edits to be applied to fix the suggestion made by the given warning.
getExpectedType(String, TextFormat) - Static method in class com.android.tools.lint.checks.DuplicateResourceDetector
Returns the resource type expected for a DuplicateResourceDetector.TYPE_MISMATCH error reported by this lint detector.
getExported(Element) - Static method in class com.android.tools.lint.checks.SecurityDetector
 
getField() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
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.
getFieldName(Element) - Static method in class com.android.tools.lint.checks.ResourceUsageModel
 
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.
getHardwareFeature(String, TextFormat) - Static method in class com.android.tools.lint.checks.AndroidTvDetector
Given an error message created by this lint check, return the corresponding featureName that it suggests should be added.
getIssueCapacity(EnumSet<Scope>) - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
 
getIssues() - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
 
getLanguageDescription(String) - Static method in class com.android.tools.lint.checks.TranslationDetector
 
getLatestVersionFromRemoteRepo(LintClient, GradleCoordinate, boolean) - Static method in class com.android.tools.lint.checks.GradleDetector
TODO: Cache these results somewhere!
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
 
getMissingCases(String, TextFormat) - Static method in class com.android.tools.lint.checks.AnnotationDetector
Given an error message produced by this lint detector for the AnnotationDetector.SWITCH_TYPE_DEF issue type, returns the list of missing enum cases.
getMissingPermissionMessage(PermissionRequirement, String, PermissionHolder, PermissionFinder.Operation) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
Returns the error message shown when a given call is missing one or more permissions
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.ApiPackage
Returns the name of the class (fully qualified name)
getNewCall(String, TextFormat) - Static method in class com.android.tools.lint.checks.AppCompatCallDetector
Given an error message created by this lint check, return the corresponding new method name that it suggests replace the old method name.
getNewValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.GradleDetector
Given an error message produced by this lint detector for the given issue type, returns the new value to be put into the source code.
getNewValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.GridLayoutDetector
Given an error message produced by this lint detector, returns the new value to be put into the source code.
getNewValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.MissingClassDetector
Given an error message produced by this lint detector for the given issue type, returns the new value to be put into the source code.
getNewValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCallDetector
Given an error message produced by this lint detector for the given issue type, returns the new value to be put into the source code.
getNewValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCaseDetector
Given an error message produced by this lint detector for the given issue type, returns the new value to be put into the source code.
getNode(AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Looks up (and if necessary) creates a graph node for the given instruction
getOldCall(String, TextFormat) - Static method in class com.android.tools.lint.checks.AppCompatCallDetector
Given an error message created by this lint check, return the corresponding old method name that it suggests should be deleted.
getOldValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.GradleDetector
Given an error message produced by this lint detector for the given issue type, returns the old value to be replaced in the source code.
getOldValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.GridLayoutDetector
Given an error message produced by this lint detector, returns the old value to be replaced in the source code.
getOldValue(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.MissingClassDetector
Given an error message produced by this lint detector for the given issue type, returns the old value to be replaced in the source code.
getOldValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCallDetector
Given an error message produced by this lint detector for the given issue type, returns the old value to be replaced in the source code.
getOldValue(String, TextFormat) - Static method in class com.android.tools.lint.checks.WrongCaseDetector
Given an error message produced by this lint detector for the given issue type, returns the old value to be replaced in the source code.
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
getOriginal() - Method in class com.android.tools.lint.checks.TypoDetector.TypoSuggestionInfo
 
getPackage() - Method in class com.android.tools.lint.checks.ApiClass
 
getPreviousStatement(PsiElement) - Static method in class com.android.tools.lint.checks.ApiDetector
 
getPropertyKeyCookie(Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
getPropertyPairCookie(Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
getRelevant(String) - Method in class com.android.tools.lint.checks.PluralsDatabase
 
getReplacedType(String, TextFormat) - Static method in class com.android.tools.lint.checks.JavaPerformanceDetector
For an error message for an JavaPerformanceDetector.USE_VALUE_OF issue reported by this detector, returns the type being replaced.
getReplacements() - Method in class com.android.tools.lint.checks.TypoDetector.TypoSuggestionInfo
 
getRequiredVersion(Issue, String, TextFormat) - Static method in class com.android.tools.lint.checks.ApiDetector
 
getResource(Element) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
getResource(Element, boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
getResource(Integer) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
getResource(ResourceType, String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
getResourceFromFilePath(String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
getResourceMaps() - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
getResources() - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
getResourceType(Element) - Static method in class com.android.tools.lint.checks.ResourceUsageModel
 
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
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
 
getSize(File) - Static method in class com.android.tools.lint.checks.IconDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.AndroidTvDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.AppCompatResourceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ButtonDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ByteOrderMarkDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ChildCountDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.CordovaVersionDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.DeprecationDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.DosLineEndingDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ExtraTextDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.FieldGetterDetector
 
getSpeed(Issue) - Method in class com.android.tools.lint.checks.GradleDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.GridLayoutDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.InefficientWeightDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.InvalidPackageDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.LabelForDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ManifestDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ManifestTypoDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.MissingClassDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.MissingIdDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.NamespaceDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.OnClickDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.OverrideDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.PrivateKeyDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ProguardDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.PxUsageDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.ScrollViewChildDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TextViewDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TooManyViewsDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TypoDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.TypographyDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.UseCompoundDrawableDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.UselessViewDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.Utf8Detector
 
getSpeed() - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WebViewDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WrongCaseDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WrongIdDetector
 
getSpeed() - Method in class com.android.tools.lint.checks.WrongLocationDetector
 
getStartOffset(Context, Object) - Method in class com.android.tools.lint.checks.GradleDetector
 
getSuggestedEscape(String, TextFormat) - Static method in class com.android.tools.lint.checks.PropertyFileDetector
Returns the escaped string value suggested by the error message which should have been computed by this lint detector.
getSuggestions(String, TextFormat) - Static method in class com.android.tools.lint.checks.TypoDetector
Returns the suggested replacements and original string, for the given typo.
getTargetApi(PsiElement) - Static method in class com.android.tools.lint.checks.ApiDetector
 
getTargetApi(PsiModifierList) - Static method in class com.android.tools.lint.checks.ApiDetector
Returns the API level for the given AST node if specified with an @TargetApi annotation.
getTargetSdkVersion() - Method in interface com.android.tools.lint.checks.PermissionHolder
 
getTargetSdkVersion() - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
 
getTypo(String, TextFormat) - Static method in class com.android.tools.lint.checks.TypoDetector
Returns the typo word in the error message from this detector
getTypos(CharSequence, int, int) - Method in class com.android.tools.lint.checks.TypoLookup
Look up whether this word is a typo, and if so, return the typo itself and one or more likely meanings
getTypos(byte[], int, int) - Method in class com.android.tools.lint.checks.TypoLookup
Look up whether this word is a typo, and if so, return the typo itself and one or more likely meanings
getUnhandledPermissionMessage() - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
Returns the error message shown when a revocable permission call is not properly handled
getUnusedResource(String, TextFormat) - Static method in class com.android.tools.lint.checks.UnusedResourceDetector
Given an error message created by this lint check, return the corresponding resource field name for the resource that is described as unused.
getUrl() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
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(PsiElement) - Static method in class com.android.tools.lint.checks.CleanupDetector
Returns the variable the expression is assigned to, if any
getVariableElement(PsiElement, boolean) - Static method in class com.android.tools.lint.checks.CleanupDetector
 
getViewTags(Context, ResourceItem) - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
GIF_USAGE - Static variable in class com.android.tools.lint.checks.IconDetector
Using .gif bitmaps
GMS_GROUP_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
Group ID for GMS
GOOGLE_SUPPORT_GROUP_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
 
GRADLE_GETTER - Static variable in class com.android.tools.lint.checks.GradleDetector
Accidentally calling a getter instead of your own methods
GRADLE_OVERRIDES - Static variable in class com.android.tools.lint.checks.ManifestDetector
Defining a value that is overridden by Gradle
GRADLE_PLUGIN_COMPATIBILITY - Static variable in class com.android.tools.lint.checks.GradleDetector
Incompatible Android Gradle plugin
GradleDetector - Class in com.android.tools.lint.checks
Checks Gradle files for potential errors
GradleDetector() - Constructor for class com.android.tools.lint.checks.GradleDetector
 
GridLayoutDetector - Class in com.android.tools.lint.checks
Check which looks for potential errors in declarations of GridLayouts, such as specifying row/column numbers outside the declared dimensions of the grid.
GridLayoutDetector() - Constructor for class com.android.tools.lint.checks.GridLayoutDetector
Constructs a new GridLayoutDetector check

H

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

I

ICON_COLORS - Static variable in class com.android.tools.lint.checks.IconDetector
Wrong filename according to the format
ICON_DENSITIES - Static variable in class com.android.tools.lint.checks.IconDetector
Missing density versions of image
ICON_DIP_SIZE - Static variable in class com.android.tools.lint.checks.IconDetector
Inconsistent dip size across densities
ICON_EXPECTED_SIZE - Static variable in class com.android.tools.lint.checks.IconDetector
Wrong icon size according to published conventions
ICON_EXTENSION - Static variable in class com.android.tools.lint.checks.IconDetector
Wrong filename according to the format
ICON_LAUNCHER_SHAPE - Static variable in class com.android.tools.lint.checks.IconDetector
Wrong launcher icon shape
ICON_LOCATION - Static variable in class com.android.tools.lint.checks.IconDetector
Images in res/drawable folder
ICON_MISSING_FOLDER - Static variable in class com.android.tools.lint.checks.IconDetector
Missing density folders
ICON_MIX_9PNG - Static variable in class com.android.tools.lint.checks.IconDetector
Drawables provided as both .9.png and .png files
ICON_NODPI - Static variable in class com.android.tools.lint.checks.IconDetector
Icons appearing in both -nodpi and a -Ndpi folder
ICON_XML_AND_PNG - Static variable in class com.android.tools.lint.checks.IconDetector
Icons appearing as both drawable xml files and bitmaps
IconDetector - Class in com.android.tools.lint.checks
Checks for common icon problems, such as wrong icon sizes, placing icons in the density independent drawable folder, etc.
IconDetector() - Constructor for class com.android.tools.lint.checks.IconDetector
Constructs a new IconDetector check
IDE_SUPPORT - Static variable in class com.android.tools.lint.checks.GradleDetector
Constructs the IDE support struggles with
ILLEGAL_REFERENCE - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using a resource for attributes that do not allow it
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.BatteryDetector
 
IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.RecyclerViewDetector
 
IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
IMPLIED_QUANTITY - Static variable in class com.android.tools.lint.checks.PluralsDetector
This plural does not use the quantity value
IN_MM_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
Using mm/in instead of dp
IncludeDetector - Class in com.android.tools.lint.checks
Checks for problems with include tags, such as providing layout parameters without specifying both layout_width and layout_height
IncludeDetector() - Constructor for class com.android.tools.lint.checks.IncludeDetector
 
INCONSISTENT - Static variable in class com.android.tools.lint.checks.ArraySizeDetector
Are there differences in how many array elements are declared?
INCONSISTENT_IDS - Static variable in class com.android.tools.lint.checks.LayoutConsistencyDetector
Inconsistent widget types
INEFFICIENT_WEIGHT - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
Can a weight be replaced with 0dp instead for better performance?
InefficientWeightDetector - Class in com.android.tools.lint.checks
Checks whether a layout_weight is declared inefficiently.
InefficientWeightDetector() - Constructor for class com.android.tools.lint.checks.InefficientWeightDetector
Constructs a new InefficientWeightDetector
INLINED - Static variable in class com.android.tools.lint.checks.ApiDetector
Accessing an inlined API on older platforms
INNERCLASS - Static variable in class com.android.tools.lint.checks.MissingClassDetector
Is the right character used for inner class separators?
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
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.SupportAnnotationDetector
 
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_USES_TAG_ISSUE - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
Invalid attribute for uses tag.
InvalidPackageDetector - Class in com.android.tools.lint.checks
Looks for usages of Java packages that are not included in Android.
InvalidPackageDetector() - Constructor for class com.android.tools.lint.checks.InvalidPackageDetector
Constructs a new package check
isAnalyticsFile(File) - Static method in class com.android.tools.lint.checks.ResourceUsageModel
Returns true if this XML file corresponds to an Analytics configuration file; these contain some attributes read by the library which won't be flagged as used by the application
isBenignConstantUsage(PsiElement, 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.
isCompatibleThread(List<String>, String) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
returns true if the two threads are compatible
isCompatibleThread(String, String) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
returns true if the two threads are compatible
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
isDeclared() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
Whether we found a declaration for this resource (otherwise we might have seen a reference to this before we came across its potential declaration, so we added it to the map, but we don't want to report unused resources for invalid resource references
isDiscard() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
This resource is marked as to be ignored for usage analysis, regardless of lack of references
isDrawableFile(String) - Static method in class com.android.tools.lint.checks.IconDetector
Like LintUtils.isBitmapFile(File) but (a) operates on Strings instead of files and (b) also considers XML drawables as images
isInterestingBlock(String, String) - Static method in class com.android.tools.lint.checks.GradleDetector
 
isInterestingProperty(String, String, String) - Static method in class com.android.tools.lint.checks.GradleDetector
 
isInterestingStatement(String, String) - Static method in class com.android.tools.lint.checks.GradleDetector
 
isKeep() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
This resource is marked as to be ignored for usage analysis, regardless of references
isKnownClass(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns true if the given owner class is known in the API database.
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.
isPrecededByVersionCheckExit(PsiElement, int) - Static method in class com.android.tools.lint.checks.ApiDetector
 
isPublic() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
This resource is marked as public
isReachable() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
isRelevantOwner(String) - Static method in class com.android.tools.lint.checks.ApiLookup
Returns true if the given owner (in VM format) is relevant to the database.
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
 
isSafeMode() - Method in class com.android.tools.lint.checks.ResourceUsageModel
Whether we should attempt to guess resources that should be kept based on looking at the string pool and assuming some of the strings can be used to dynamically construct the resource names.
isSatisfied(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
Whether the permission requirement is satisfied given the set of granted permissions
isServiceKey(String) - Static method in class com.android.tools.lint.checks.TranslationDetector
 
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.AddJavascriptInterfaceDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.AlarmDetector
Alarm set too soon/frequently
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.AppCompatResourceDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.AssertDetector
Using assertions
ISSUE - Static variable in class com.android.tools.lint.checks.BadHostnameVerifierDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.BatteryDetector
Issues that negatively affect battery life
ISSUE - Static variable in class com.android.tools.lint.checks.CallSuperDetector
Missing call to super
ISSUE - Static variable in class com.android.tools.lint.checks.CipherGetInstanceDetector
 
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.DosLineEndingDetector
Detects mangled DOS line ending documents
ISSUE - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.ExtraTextDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.FieldGetterDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.FragmentDetector
Are fragment subclasses instantiatable?
ISSUE - Static variable in class com.android.tools.lint.checks.FullBackupContentDetector
Validation of <full-backup-content> XML elements
ISSUE - Static variable in class com.android.tools.lint.checks.GetSignaturesDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.GridLayoutDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.HandlerDetector
Potentially leaking handlers
ISSUE - Static variable in class com.android.tools.lint.checks.HardcodedDebugModeDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.HardcodedValuesDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.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.InvalidPackageDetector
Accessing an invalid package
ISSUE - Static variable in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.LabelForDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.LayoutInflationDetector
Passing in a null parent to a layout inflater
ISSUE - Static variable in class com.android.tools.lint.checks.LeakDetector
Leaking data via static fields
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.MergeRootFrameLayoutDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.MissingIdDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.NegativeMarginDetector
Negative margins
ISSUE - Static variable in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.NfcTechListDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
Usage of deprecated views or attributes
ISSUE - Static variable in class com.android.tools.lint.checks.OnClickDetector
Missing onClick handlers
ISSUE - Static variable in class com.android.tools.lint.checks.OverdrawDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.OverrideConcreteDetector
Are previously-abstract methods all overridden?
ISSUE - Static variable in class com.android.tools.lint.checks.OverrideDetector
Accidental overrides
ISSUE - Static variable in class com.android.tools.lint.checks.ParcelDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.PreferenceActivityDetector
 
ISSUE - Static variable in class com.android.tools.lint.checks.PrivateKeyDetector
Packaged private key files
ISSUE - Static variable in class com.android.tools.lint.checks.PrivateResourceDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.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.RestrictionsDetector
Validation of <restrictions> XML elements
ISSUE - Static variable in class com.android.tools.lint.checks.ScrollViewChildDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.SdCardDetector
Hardcoded /sdcard/ references
ISSUE - Static variable in class com.android.tools.lint.checks.SecureRandomDetector
Unregistered activities and services
ISSUE - Static variable in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
Whether the random number generator is initialized correctly
ISSUE - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
Invocations of setJavaScriptEnabled
ISSUE - Static variable in class com.android.tools.lint.checks.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.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.ViewTypeDetector
Mismatched view types
ISSUE - Static variable in class com.android.tools.lint.checks.WakelockDetector
Problems using wakelocks
ISSUE - Static variable in class com.android.tools.lint.checks.WebViewDetector
The main issue discovered by this detector
ISSUE - Static variable in class com.android.tools.lint.checks.WrongCallDetector
Calling the wrong method
ISSUE - Static variable in class com.android.tools.lint.checks.WrongImportDetector
Is android.R being imported?
ISSUE - Static variable in class com.android.tools.lint.checks.WrongLocationDetector
Main issue investigated by this detector
ISSUE_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_URL_ERROR - Static variable in class com.android.tools.lint.checks.AppIndexingApiDetector
 
ISSUE_WARNING - Static variable in class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
 
isThreadingAnnotation(PsiAnnotation) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
 
isUpgradeDependencyError(String, TextFormat) - Static method in class com.android.tools.lint.checks.ConstraintLayoutDetector
Given an error message produced by this lint detector for the given issue type, returns whether it represents a suggestion update the library version.
isValidJavaPackage(String) - Method in class com.android.tools.lint.checks.ApiLookup
Returns true if the given owner (in VM format) is a valid Java package supported in any version of Android.
isVectorGenerationSupported(Project) - Static method in class com.android.tools.lint.checks.VectorDetector
Returns true if the given Gradle project model supports vector image generation
isWithinVersionCheckConditional(PsiElement, int) - Static method in class com.android.tools.lint.checks.ApiDetector
 

J

JAVA_SECURITY_SECURE_RANDOM - Static variable in class com.android.tools.lint.checks.SecureRandomDetector
 
JAVA_UTIL_RANDOM - Static variable in class com.android.tools.lint.checks.SecureRandomDetector
 
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
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
 

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
LIB_PLUGIN_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
The Gradle plugin ID for Android libraries
LOAD - Static variable in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
LOCALE_CLS - Static variable in class com.android.tools.lint.checks.DateFormatDetector
 
LocaleDetector - Class in com.android.tools.lint.checks
Checks for errors related to locale handling
LocaleDetector() - Constructor for class com.android.tools.lint.checks.LocaleDetector
Constructs a new LocaleDetector
LocaleFolderDetector - Class in com.android.tools.lint.checks
Checks for errors related to locale handling
LocaleFolderDetector() - Constructor for class com.android.tools.lint.checks.LocaleFolderDetector
Constructs a new LocaleFolderDetector
locations - Variable in class com.android.tools.lint.checks.ResourceUsageModel.Resource
Chained list of declaration locations
LOG_CLS - Static variable in class com.android.tools.lint.checks.LogDetector
 
LogDetector - Class in com.android.tools.lint.checks
Detector for finding inefficiencies and errors in logging calls.
LogDetector() - Constructor for class com.android.tools.lint.checks.LogDetector
 
LONG_TAG - Static variable in class com.android.tools.lint.checks.LogDetector
Log tag is too long

M

MAIN_THREAD_ANNOTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
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
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
 
markReachable(ResourceUsageModel.Resource) - Static method in class com.android.tools.lint.checks.ResourceUsageModel
Marks the given resource (if non-null) as reachable, and returns true if this is the first time the resource is marked reachable
MathDetector - Class in com.android.tools.lint.checks
Looks for usages of Math methods which can be replaced with android.util.FloatMath methods to avoid casting.
MathDetector() - Constructor for class com.android.tools.lint.checks.MathDetector
Constructs a new MathDetector check
MergeRootFrameLayoutDetector - Class in com.android.tools.lint.checks
Checks whether a root FrameLayout can be replaced with a <merge> tag.
MergeRootFrameLayoutDetector() - Constructor for class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
MIPMAP - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using drawable rather than mipmap launcher icons
MISSING - Static variable in class com.android.tools.lint.checks.MissingClassDetector
Manifest-referenced classes missing from the project or libraries
MISSING - Static variable in class com.android.tools.lint.checks.PluralsDetector
This locale should define a quantity string for the given quantity
MISSING - Static variable in class com.android.tools.lint.checks.TranslationDetector
Are all translations complete?
MISSING_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_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_NAMESPACE - Static variable in class com.android.tools.lint.checks.DetectMissingPrefix
Attributes missing the android: prefix
MISSING_ON_PLAY_FROM_SEARCH - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
Missing implementation of MediaSession.Callback#onPlayFromSearch
MISSING_PERMISSION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
Method result should be used
MissingClassDetector - Class in com.android.tools.lint.checks
Checks to ensure that classes referenced in the manifest actually exist and are included
MissingClassDetector() - Constructor for class com.android.tools.lint.checks.MissingClassDetector
Constructs a new MissingClassDetector
MissingIdDetector - Class in com.android.tools.lint.checks
Check which looks for missing id's in views where they are probably needed
MissingIdDetector() - Constructor for class com.android.tools.lint.checks.MissingIdDetector
Constructs a new MissingIdDetector
mManifestRegistrations - Variable in class com.android.tools.lint.checks.RegistrationDetector
 
MOCK_LOCATION - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using a mock location in a non-debug-specific manifest file
MOCK_LOCATION_PERMISSION - Static variable in class com.android.tools.lint.checks.ManifestDetector
Permission name of mock location permission
MULTIPLE_USES_SDK - Static variable in class com.android.tools.lint.checks.ManifestDetector
Using multiple <uses-sdk> elements

N

name - Variable in class com.android.tools.lint.checks.PermissionFinder.Result
 
name - Variable in class com.android.tools.lint.checks.ResourceUsageModel.Resource
Name of resource
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
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_INTERPOLATED - Static variable in class com.android.tools.lint.checks.GradleDetector
Attempting to use substitution with single quotes
NOT_SIBLING - Static variable in class com.android.tools.lint.checks.WrongIdDetector
Reference to an id that is not a sibling

O

ObsoleteLayoutParamsDetector - Class in com.android.tools.lint.checks
Looks for layout params on views that are "obsolete" - may have made sense when the view was added but there is a different layout parent now which does not use the given layout params.
ObsoleteLayoutParamsDetector() - Constructor for class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
offset - Variable in class com.android.tools.lint.checks.TypographyDetector.ReplaceEdit
The offset of the edit
OLD_APP_PLUGIN_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
Previous plugin id for applications
OLD_LIB_PLUGIN_ID - Static variable in class com.android.tools.lint.checks.GradleDetector
Previous plugin id for libraries
OnClickDetector - Class in com.android.tools.lint.checks
Checks for missing onClick handlers
OnClickDetector() - Constructor for class com.android.tools.lint.checks.OnClickDetector
Constructs a new OnClickDetector
OPEN_PROVIDER - Static variable in class com.android.tools.lint.checks.SecurityDetector
Content provides which grant all URIs access
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
parse(String) - Static method in enum com.android.tools.lint.checks.AppIndexingApiDetector.IssueType
 
parseApi(File) - Static method in class com.android.tools.lint.checks.Api
Parses simplified API file.
PATH - Static variable in class com.android.tools.lint.checks.GradleDetector
Invalid or dangerous paths
PERCENT_RELATIVE_LAYOUT - Static variable in class com.android.tools.lint.checks.RequiredAttributeDetector
 
PERMISSION_ANNOTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
PERMISSION_ANNOTATION_READ - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
PERMISSION_ANNOTATION_WRITE - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
PERMISSION_IMPLIES_UNSUPPORTED_HARDWARE - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
Permission implies required hardware unsupported by TV
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.
PluralsDatabase - Class in com.android.tools.lint.checks
Database used by the PluralsDetector to get information about plural forms for a given language
PluralsDatabase() - Constructor for class com.android.tools.lint.checks.PluralsDatabase
 
PluralsDatabase.Quantity - Enum in com.android.tools.lint.checks
 
PluralsDetector - Class in com.android.tools.lint.checks
Checks for issues with quantity strings
PluralsDetector() - Constructor for class com.android.tools.lint.checks.PluralsDetector
Constructs a new PluralsDetector
PLUS - Static variable in class com.android.tools.lint.checks.GradleDetector
Using + in versions
POTENTIAL_PLURAL - Static variable in class com.android.tools.lint.checks.StringFormatDetector
This plural does not use the quantity value
PreferenceActivityDetector - Class in com.android.tools.lint.checks
Ensures that PreferenceActivity and its subclasses are never exported.
PreferenceActivityDetector() - Constructor for class com.android.tools.lint.checks.PreferenceActivityDetector
 
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
 
processToolsAttributes() - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
ProguardDetector - Class in com.android.tools.lint.checks
Check which looks for errors in Proguard files.
ProguardDetector() - Constructor for class com.android.tools.lint.checks.ProguardDetector
 
PropertyFileDetector - Class in com.android.tools.lint.checks
Check for errors in .property files
PropertyFileDetector() - Constructor for class com.android.tools.lint.checks.PropertyFileDetector
Constructs a new PropertyFileDetector
PX_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
Using px instead of dp
PxUsageDetector - Class in com.android.tools.lint.checks
Check for px dimensions instead of dp dimensions.
PxUsageDetector() - Constructor for class com.android.tools.lint.checks.PxUsageDetector
Constructs a new PxUsageDetector

Q

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

R

RANGE - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
Method result should be used
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
readText(File) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
recordLocation(Location) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
recordManifestUsages(Node) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
recordResourceReferences(ResourceFolderType, Node, ResourceUsageModel.Resource) - Method in class com.android.tools.lint.checks.ResourceUsageModel
Records resource declarations and usages within an XML resource file
recordToolsAttributes(Attr) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
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
 
referencedString(String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
references - Variable in class com.android.tools.lint.checks.ResourceUsageModel.Resource
Resources this resource references.
RegistrationDetector - Class in com.android.tools.lint.checks
Checks for missing manifest registrations for activities, services etc and also makes sure that they are registered with the correct tag
RegistrationDetector() - Constructor for class com.android.tools.lint.checks.RegistrationDetector
Constructs a new RegistrationDetector
RelativeOverlapDetector - Class in com.android.tools.lint.checks
Check for potential item overlaps in a RelativeLayout when left- and right-aligned text items are used.
RelativeOverlapDetector() - Constructor for class com.android.tools.lint.checks.RelativeOverlapDetector
 
REMOTE_VERSION - Static variable in class com.android.tools.lint.checks.GradleDetector
A newer version is available on a remote server
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
requestsHeight(String) - Static method in class com.android.tools.lint.checks.IncludeDetector
Returns true if the error message (earlier reported by this lint detector) requests for the layout_height to be defined.
requestsWidth(String) - Static method in class com.android.tools.lint.checks.IncludeDetector
Returns true if the error message (earlier reported by this lint detector) requests for the layout_width to be defined.
RequiredAttributeDetector - Class in com.android.tools.lint.checks
Ensures that layout width and height attributes are specified
RequiredAttributeDetector() - Constructor for class com.android.tools.lint.checks.RequiredAttributeDetector
Constructs a new RequiredAttributeDetector
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.
Resource(ResourceType, String, int) - Constructor for class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
RESOURCE_TYPE - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
Attempting to set a resource id as a color
ResourceCycleDetector - Class in com.android.tools.lint.checks
Checks for cycles in resource definitions
ResourceCycleDetector() - Constructor for class com.android.tools.lint.checks.ResourceCycleDetector
Constructs a new ResourceCycleDetector
ResourcePrefixDetector - Class in com.android.tools.lint.checks
Ensure that resources in Gradle projects which specify a resource prefix conform to the given name TODO: What about id's?
ResourcePrefixDetector() - Constructor for class com.android.tools.lint.checks.ResourcePrefixDetector
Constructs a new ResourcePrefixDetector
ResourceUsageModel - Class in com.android.tools.lint.checks
A model for Android resource declarations and usages
ResourceUsageModel() - Constructor for class com.android.tools.lint.checks.ResourceUsageModel
 
ResourceUsageModel.Resource - Class in com.android.tools.lint.checks
 
RestrictionsDetector - Class in com.android.tools.lint.checks
Check which makes sure that an application restrictions file is correct.
RestrictionsDetector() - Constructor for class com.android.tools.lint.checks.RestrictionsDetector
Constructs a new RestrictionsDetector
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.PrivateKeyDetector
 
run(Context) - Method in class com.android.tools.lint.checks.ProguardDetector
 
run(Context) - Method in class com.android.tools.lint.checks.PropertyFileDetector
 

S

scanForAndCheckSetOnTouchListenerCalls(ClassContext, ClassNode) - Static method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
 
SCROLLVIEW_ISSUE - Static variable in class com.android.tools.lint.checks.ChildCountDetector
The main issue discovered by this detector
ScrollViewChildDetector - Class in com.android.tools.lint.checks
Check which looks at the children of ScrollViews and ensures that they fill/match the parent width instead of setting wrap_content.
ScrollViewChildDetector() - Constructor for class com.android.tools.lint.checks.ScrollViewChildDetector
Constructs a new ScrollViewChildDetector
SdCardDetector - Class in com.android.tools.lint.checks
Looks for hardcoded references to /sdcard/.
SdCardDetector() - Constructor for class com.android.tools.lint.checks.SdCardDetector
Constructs a new SdCardDetector check
search(PsiElement) - Method in class com.android.tools.lint.checks.PermissionFinder
 
SecureRandomDetector - Class in com.android.tools.lint.checks
Checks for hardcoded seeds with random numbers.
SecureRandomDetector() - Constructor for class com.android.tools.lint.checks.SecureRandomDetector
Constructs a new SecureRandomDetector
SecureRandomGeneratorDetector - Class in com.android.tools.lint.checks
Checks for pseudo random number generator initialization issues
SecureRandomGeneratorDetector() - Constructor for class com.android.tools.lint.checks.SecureRandomGeneratorDetector
SecurityDetector - Class in com.android.tools.lint.checks
Checks that exported services request a permission.
SecurityDetector() - Constructor for class com.android.tools.lint.checks.SecurityDetector
Constructs a new SecurityDetector check
SELECTABLE - Static variable in class com.android.tools.lint.checks.TextViewDetector
Text could be selectable
ServiceCastDetector - Class in com.android.tools.lint.checks
Detector looking for casts on th result of context.getSystemService which are suspect
ServiceCastDetector() - Constructor for class com.android.tools.lint.checks.ServiceCastDetector
Constructs a new ServiceCastDetector check
SET_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
setDeclared(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
Whether we found a declaration for this resource (otherwise we might have seen a reference to this before we came across its potential declaration, so we added it to the map, but we don't want to report unused resources for invalid resource references
setDiscard(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
This resource is marked as to be ignored for usage analysis, regardless of lack of references
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
setKeep(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
This resource is marked as to be ignored for usage analysis, regardless of references
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
 
setPublic(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
This resource is marked as public
setReachable(boolean) - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
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
The main issue discovered by this detector
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.SupportAnnotationDetector
 
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
 
startElement(String, String, String, Attributes) - Method in class com.android.tools.lint.checks.ApiParser
 
StateListDetector - Class in com.android.tools.lint.checks
Checks for unreachable states in an Android state list definition
StateListDetector() - Constructor for class com.android.tools.lint.checks.StateListDetector
Constructs a new StateListDetector
STATUS_BAR_NOTIFICATION_FQN - Static variable in class com.android.tools.lint.checks.OverrideConcreteDetector
 
STOP_SHIP - Static variable in class com.android.tools.lint.checks.CommentDetector
Looks for special comment markers intended to stop shipping the code
STRING_INTEGER - Static variable in class com.android.tools.lint.checks.GradleDetector
Using a string where an integer is expected
STRING_LOCALE - Static variable in class com.android.tools.lint.checks.LocaleDetector
Calling risky convenience methods
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.
SupportAnnotationDetector - Class in com.android.tools.lint.checks
Looks up annotations on method calls and enforces the various things they express, e.g.
SupportAnnotationDetector() - Constructor for class com.android.tools.lint.checks.SupportAnnotationDetector
Constructs a new SupportAnnotationDetector check
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
TextFieldDetector - Class in com.android.tools.lint.checks
Checks for usability problems in text fields: omitting inputType, or omitting a hint.
TextFieldDetector() - Constructor for class com.android.tools.lint.checks.TextFieldDetector
Constructs a new TextFieldDetector
TextViewDetector - Class in com.android.tools.lint.checks
Checks for cases where a TextView should probably be an EditText instead
TextViewDetector() - Constructor for class com.android.tools.lint.checks.TextViewDetector
Constructs a new TextViewDetector
THREAD - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
Passing the wrong constant to an int or String method
THREAD_SUFFIX - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
TitleDetector - Class in com.android.tools.lint.checks
Check which makes sure menu items specify a title
TitleDetector() - Constructor for class com.android.tools.lint.checks.TitleDetector
Constructs a new TitleDetector
ToastDetector - Class in com.android.tools.lint.checks
Detector looking for Toast.makeText() without a corresponding show() call
ToastDetector() - Constructor for class com.android.tools.lint.checks.ToastDetector
Constructs a new ToastDetector check
toDot(Set<ControlFlowGraph.Node>) - Method in class com.android.tools.lint.checks.ControlFlowGraph
Generates dot output of the graph.
tokenizeCss(ResourceUsageModel.Resource, String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
tokenizeHtml(ResourceUsageModel.Resource, String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
tokenizeJavaCode(String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
Adds the resource identifiers found in the given Java source code into the reference map
tokenizeJs(ResourceUsageModel.Resource, String) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
tokenizeUnknownBinary(ResourceUsageModel.Resource, File) - Method in class com.android.tools.lint.checks.ResourceUsageModel
Look through binary/unknown files looking for resource URLs
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.ApiClass
 
toString() - Method in class com.android.tools.lint.checks.ApiPackage
 
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
 
toString() - Method in class com.android.tools.lint.checks.ResourceUsageModel.Resource
 
TranslationDetector - Class in com.android.tools.lint.checks
Checks for incomplete translations - e.g.
TranslationDetector() - Constructor for class com.android.tools.lint.checks.TranslationDetector
Constructs a new TranslationDetector
TrustAllX509TrustManagerDetector - Class in com.android.tools.lint.checks
 
TrustAllX509TrustManagerDetector() - Constructor for class com.android.tools.lint.checks.TrustAllX509TrustManagerDetector
 
type - Variable in class com.android.tools.lint.checks.ResourceUsageModel.Resource
Type of resource
TYPE_DEF - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
Passing the wrong constant to an int or String method
TYPE_MISMATCH - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
Wrong resource value type
typeArrayFromArrayLiteral(PsiElement) - Static method in class com.android.tools.lint.checks.SupportAnnotationDetector
Returns true if the node is pointing to a TypedArray whose value was obtained from an array literal
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
TypoDetector.TypoSuggestionInfo - Class in com.android.tools.lint.checks
Simple data holder used to return several values from TypoDetector.getSuggestions(String, TextFormat)
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.
TypoLookup - Class in com.android.tools.lint.checks
Database of common typos / misspellings.
TypoSuggestionInfo(String, List<String>) - Constructor for class com.android.tools.lint.checks.TypoDetector.TypoSuggestionInfo
 

U

UI_THREAD_ANNOTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
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
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_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
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

value - Variable in class com.android.tools.lint.checks.ResourceUsageModel.Resource
Integer id location
VALUE_DANGEROUS - Static variable in class com.android.tools.lint.checks.PermissionRequirement
 
valueOf(String) - Static method in enum com.android.tools.lint.checks.AppIndexingApiDetector.IssueType
Returns the enum constant of this type with the specified name.
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.AppIndexingApiDetector.IssueType
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.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 vector icon generation
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
 
ViewConstructorDetector - Class in com.android.tools.lint.checks
Looks for custom views that do not define the view constructors needed by UI builders
ViewConstructorDetector() - Constructor for class com.android.tools.lint.checks.ViewConstructorDetector
Constructs a new ViewConstructorDetector check
ViewHolderDetector - Class in com.android.tools.lint.checks
Looks for ListView scrolling performance: should use view holder pattern
ViewHolderDetector() - Constructor for class com.android.tools.lint.checks.ViewHolderDetector
Constructs a new ViewHolderDetector check
ViewTagDetector - Class in com.android.tools.lint.checks
Checks for missing view tag detectors
ViewTagDetector() - Constructor for class com.android.tools.lint.checks.ViewTagDetector
Constructs a new ViewTagDetector
ViewTypeDetector - Class in com.android.tools.lint.checks
Detector for finding inconsistent usage of views and casts
ViewTypeDetector() - Constructor for class com.android.tools.lint.checks.ViewTypeDetector
 
visit - Variable in class com.android.tools.lint.checks.ControlFlowGraph.Node
A tag for use during depth-first-search iteration of the graph etc
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.ApiDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.AppCompatResourceDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.ByteOrderMarkDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.DeprecationDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.DetectMissingPrefix
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.DuplicateIdDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.HardcodedValuesDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.LabelForDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.OnClickDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.PrivateResourceDetector
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.ViewTypeDetector
 
visitAttribute(XmlContext, Attr) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
visitBinaryResource(ResourceFolderType, File) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 
visitBuildScript(Context, Map<String, Object>) - Method in class com.android.tools.lint.checks.GradleDetector
 
visitConstructor(JavaContext, JavaElementVisitor, PsiNewExpression, PsiMethod) - Method in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
 
visitConstructor(JavaContext, JavaElementVisitor, PsiNewExpression, PsiMethod) - Method in class com.android.tools.lint.checks.CleanupDetector
 
visitConstructor(JavaContext, JavaElementVisitor, PsiNewExpression, PsiMethod) - Method in class com.android.tools.lint.checks.DateFormatDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.DosLineEndingDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.ExtraTextDetector
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.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.RestrictionsDetector
 
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
 
visitDocument(XmlContext, Document) - Method in class com.android.tools.lint.checks.WrongLocationDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.AccessibilityDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.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.ArraySizeDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.BatteryDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ButtonDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ChildCountDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.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.GridLayoutDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.IconDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.IncludeDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.InefficientWeightDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.LabelForDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ManifestDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ManifestTypoDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.MissingClassDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.MissingIdDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.NegativeMarginDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.NfcTechListDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.OverdrawDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.PluralsDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.PreferenceActivityDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.PrivateResourceDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.PxUsageDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.RegistrationDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.RelativeOverlapDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ResourceCycleDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.ScrollViewChildDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.SecurityDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TextFieldDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TextViewDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TitleDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TooManyViewsDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TranslationDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TypoDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.TypographyDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.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.WebViewDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.WrongCaseDetector
 
visitElement(XmlContext, Element) - Method in class com.android.tools.lint.checks.WrongIdDetector
 
visitElementAfter(XmlContext, Element) - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
 
visitElementAfter(XmlContext, Element) - Method in class com.android.tools.lint.checks.TooManyViewsDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.AddJavascriptInterfaceDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.AlarmDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.AppCompatCallDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.CipherGetInstanceDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.CleanupDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.CustomViewDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.CutPasteDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.GetSignaturesDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.HardwareIdDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.LayoutInflationDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.LocaleDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.LogDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.MathDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ReadParcelableDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SecureRandomDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SecurityDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ServiceCastDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SetTextDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SQLiteDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.StringFormatDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ToastDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ViewTagDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.ViewTypeDetector
 
visitMethod(JavaContext, JavaElementVisitor, PsiMethodCallExpression, PsiMethod) - Method in class com.android.tools.lint.checks.WrongCallDetector
 
visitReference(JavaContext, JavaElementVisitor, PsiJavaCodeReferenceElement, PsiElement) - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
 
visitReference(JavaContext, JavaElementVisitor, PsiJavaCodeReferenceElement, PsiElement) - Method in class com.android.tools.lint.checks.BatteryDetector
 
visitResourceReference(JavaContext, JavaElementVisitor, PsiElement, ResourceType, String, boolean) - Method in class com.android.tools.lint.checks.LayoutConsistencyDetector
 
visitResourceReference(JavaContext, JavaElementVisitor, PsiElement, ResourceType, String, boolean) - Method in class com.android.tools.lint.checks.PrivateResourceDetector
 
visitResourceReference(JavaContext, JavaElementVisitor, PsiElement, ResourceType, String, boolean) - Method in class com.android.tools.lint.checks.UnusedResourceDetector
 
visitXmlDocument(File, ResourceFolderType, Document) - Method in class com.android.tools.lint.checks.ResourceUsageModel
 

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
WEARABLE_BIND_LISTENER - Static variable in class com.android.tools.lint.checks.ManifestDetector
Uses Wear Bind Listener which is deprecated
WebViewDetector - Class in com.android.tools.lint.checks
 
WebViewDetector() - Constructor for class com.android.tools.lint.checks.WebViewDetector
Constructs a new WebViewDetector
WITHIN_LAYOUT - Static variable in class com.android.tools.lint.checks.DuplicateIdDetector
The main issue discovered by this detector
WORKER_THREAD_ANNOTATION - Static variable in class com.android.tools.lint.checks.SupportAnnotationDetector
 
WORLD_READABLE - Static variable in class com.android.tools.lint.checks.SecurityDetector
Using the world-readable flag
WORLD_WRITEABLE - Static variable in class com.android.tools.lint.checks.SecurityDetector
Using the world-writable flag
WRONG_0DP - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
Using 0dp on the wrong dimension
WRONG_CASE - Static variable in class com.android.tools.lint.checks.WrongCaseDetector
Using the wrong case for layout tags
WRONG_KEEP - Static variable in class com.android.tools.lint.checks.ProguardDetector
The main issue discovered by this detector
WRONG_PARENT - Static variable in class com.android.tools.lint.checks.ManifestDetector
Missing a <uses-sdk> element
WRONG_REGION - Static variable in class com.android.tools.lint.checks.LocaleFolderDetector
Using a region that might not be a match for the given language
WRONG_TAG - Static variable in class com.android.tools.lint.checks.LogDetector
Mismatched tags between isLogging and log calls within it
WrongCallDetector - Class in com.android.tools.lint.checks
Checks for cases where the wrong call is being made
WrongCallDetector() - Constructor for class com.android.tools.lint.checks.WrongCallDetector
Constructs a new WrongCallDetector
WrongCaseDetector - Class in com.android.tools.lint.checks
Check which looks for missing wrong case usage for certain layout tags.
WrongCaseDetector() - Constructor for class com.android.tools.lint.checks.WrongCaseDetector
Constructs a new WrongCaseDetector
WrongIdDetector - Class in com.android.tools.lint.checks
Checks for duplicate ids within a layout and within an included layout
WrongIdDetector() - Constructor for class com.android.tools.lint.checks.WrongIdDetector
Constructs a duplicate id check
WrongImportDetector - Class in com.android.tools.lint.checks
Checks for "import android.R", which seems to be a common source of confusion (see for example http://stackoverflow.com/questions/885009/r-cannot-be-resolved-android-error and many other forums).
WrongImportDetector() - Constructor for class com.android.tools.lint.checks.WrongImportDetector
Constructs a new WrongImportDetector check
WrongLocationDetector - Class in com.android.tools.lint.checks
Looks for problems with XML files being placed in the wrong folder
WrongLocationDetector() - Constructor for class com.android.tools.lint.checks.WrongLocationDetector
Constructs a new WrongLocationDetector check
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links