- get(LintClient) - Static method in class com.android.tools.lint.checks.ApiLookup
-
Returns an instance of the API database
- get(LintClient, IAndroidTarget) - Static method in class com.android.tools.lint.checks.ApiLookup
-
Returns an instance of the API database
- get() - Static method in class com.android.tools.lint.checks.PluralsDatabase
-
- get(String) - Static method in enum com.android.tools.lint.checks.PluralsDatabase.Quantity
-
- get(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
-
- GET_LOCALES - Static variable in class com.android.tools.lint.checks.LocaleFolderDetector
-
Crashes if using 3-letter resources in an app *and* calling AssetManager#getLocales()
directly or indirectly
- getAllowedAutomotiveAppTypes() - Static method in class com.android.tools.lint.checks.AndroidAutoDetector
-
- getApi() - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
-
- getApplicableAsmNodeTypes() - Method in class com.android.tools.lint.checks.FieldGetterDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.AccessibilityDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.ApiDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.AppCompatResourceDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.DeprecationDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.DuplicateIdDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.DuplicateResourceDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.EllipsizeMaxLinesDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.HardcodedDebugModeDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.InvalidImeActionIdDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.KeyboardNavigationDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.LabelForDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.ManifestPermissionAttributeDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.OnClickDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.OverdrawDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.PrivateResourceDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.PxUsageDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.RtlDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.SignatureOrSystemDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.VectorDrawableCompatDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.VectorPathDetector
-
- getApplicableAttributes() - Method in class com.android.tools.lint.checks.WrongIdDetector
-
- getApplicableCallNames() - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
-
- getApplicableCallNames() - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
-
- getApplicableCallNames() - Method in class com.android.tools.lint.checks.WakelockDetector
-
- getApplicableCallOwners() - Method in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
-
- getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
-
- getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.CleanupDetector
-
- getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.DateFormatDetector
-
- getApplicableConstructorTypes() - Method in class com.android.tools.lint.checks.JobSchedulerDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AccessibilityDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AndroidAutoDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AndroidTvDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ApiDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AppIndexingApiDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AppLinksValidDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ArraySizeDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.AutofillDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ButtonDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ChromeOsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ConstraintLayoutDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.DeprecationDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.DuplicateIdDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.FontDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.GridLayoutDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.IconDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.IncludeDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.InefficientWeightDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.InstantAppDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.LabelForDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ManifestDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ManifestTypoDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.MissingClassDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.MissingIdDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.NegativeMarginDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.NfcTechListDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.OverdrawDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.PluralsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.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.RelativeOverlapDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ResourcePrefixDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.ScrollViewChildDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.SecurityDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.StringFormatDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.SystemPermissionsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TextFieldDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TextViewDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TitleDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TooManyViewsDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TypoDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.TypographyDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.UnsafeBroadcastReceiverDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.UseCompoundDrawableDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.UselessViewDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.VectorDrawableCompatDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.WearStandaloneAppDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.WebViewDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.WrongCaseDetector
-
- getApplicableElements() - Method in class com.android.tools.lint.checks.WrongIdDetector
-
- getApplicableFiles() - Method in class com.android.tools.lint.checks.MergeMarkerDetector
-
- getApplicableFiles() - Method in class com.android.tools.lint.checks.PrivateKeyDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.AppCompatCallDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CleanupDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CustomViewDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.CutPasteDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.FirebaseAnalyticsDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.FirebaseMessagingDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.GetSignaturesDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.HardwareIdDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.InstantAppDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.LayoutInflationDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.LocaleFolderDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.MathDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ObjectAnimatorDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.PowerManagerDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ReadParcelableDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.RequiredAttributeDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SecurityDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ServiceCastDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SetTextDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SQLiteDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.SslCertificateSocketFactoryDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.StringFormatDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ToastDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.UnsafeNativeCodeDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.ViewTagDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.WakelockDetector
-
- getApplicableMethodNames() - Method in class com.android.tools.lint.checks.WrongCallDetector
-
- getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.AlwaysShowActionDetector
-
- getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.HardwareIdDetector
-
- getApplicableReferenceNames() - Method in class com.android.tools.lint.checks.InstantAppDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.AnnotationDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.ApiDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.CommentDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.ExifInterfaceDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.IconDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.JavaPerformanceDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.LeakDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.OverdrawDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.RtlDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.SecurityDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.StringAuthLeakDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.UnusedResourceDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.ViewHolderDetector
-
- getApplicableUastTypes() - Method in class com.android.tools.lint.checks.WrongImportDetector
-
- getAttributeSpellingSuggestions(String, String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
For a given misspelled attribute, return the allowed suggestions/corrections.
- getCatchParametersLocation(JavaContext, UCatchClause) - Static method in class com.android.tools.lint.checks.ApiDetector
-
- getChildren() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
- getClassDeprecatedIn(String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version the given class was deprecated in, or -1 if the class is not
deprecated.
- getClasses() - Method in class com.android.tools.lint.checks.ApiClassOwner
-
If this container is a package, returns the classes in this package, or, if this container is
a class, the inner classes.
- getClassRemovedIn(String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version the given class was removed in, or -1 if the class was not removed.
- getClassVersion(String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version required by the given class reference, or -1 if this is not a known
API class.
- getContainerName() - Method in class com.android.tools.lint.checks.ApiClass
-
- GetContentDescriptionOverrideDetector - Class in com.android.tools.lint.checks
-
Check that looks for override of getContentDescription() in any class that descends from View.
- GetContentDescriptionOverrideDetector() - Constructor for class com.android.tools.lint.checks.GetContentDescriptionOverrideDetector
-
Constructs a new GetContentDescriptionOverrideDetector check.
- getDeprecatedIn() - Method in class com.android.tools.lint.checks.ApiMember
-
Returns the API level when the member was deprecated, or 0 if the member was not deprecated.
- getEdits(String, String, Node) - Static method in class com.android.tools.lint.checks.TypographyDetector
-
Returns a list of edits to be applied to fix the suggestion made by the given warning.
- getEdits(String, String, String) - Static method in class com.android.tools.lint.checks.TypographyDetector
-
Returns a list of edits to be applied to fix the suggestion made by the given warning.
- getExported(Element) - Static method in class com.android.tools.lint.checks.SecurityDetector
-
- getFieldDeprecatedIn(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version the given field was deprecated in, or -1 if the field is not
deprecated.
- getFieldRemovedIn(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version the given field was removed in, or -1 if the field was not removed.
- getFieldVersion(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version required to access the given field, or -1 if this is not a known API
method.
- getFirstApplicableApi() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns the level of the first applicable API level, or 1 if the requirement does not have a
specific API range.
- getIssueCapacity(EnumSet<Scope>) - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
-
- getIssues() - Method in class com.android.tools.lint.checks.BuiltinIssueRegistry
-
- getLastApplicableApi() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns the level of the last applicable API level for this permission requirement, if the
requirement no longer applies.
- getMethodDeprecatedIn(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version the given call was deprecated in, or -1 if the method is not
deprecated.
- getMethodRemovedIn(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version the given call was removed in, or -1 if the method was not removed.
- getMethodVersion(String, String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version required by the given method call.
- getMinSdk(Context) - Method in class com.android.tools.lint.checks.ApiDetector
-
- getMinSdkVersion() - Method in interface com.android.tools.lint.checks.PermissionHolder
-
- getMinSdkVersion() - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
-
- getMissingPermissions(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns the missing permissions (e.g.
- getName() - Method in class com.android.tools.lint.checks.ApiClassOwner
-
Returns the fully qualified name of the container.
- getNode(AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
-
Looks up (and if necessary) creates a graph node for the given instruction
- getOperator() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
For permission requirements that combine children, the operator to combine them with; null
for leaf nodes
- getPath() - Method in class com.android.tools.lint.checks.AndroidPatternMatcher
-
- getRelevant(String) - Method in class com.android.tools.lint.checks.PluralsDatabase
-
- getRemovedFields(String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns all removed fields of the given class and all its super classes and interfaces.
- getRemovedIn() - Method in class com.android.tools.lint.checks.ApiMember
-
Returns the API level when the member was removed, or 0 if the member was not removed.
- getRemovedMethods(String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns all removed methods of the given class and all its super classes and interfaces.
- getResult() - Method in class com.android.tools.lint.checks.CordovaVersionDetector.JsVersionLineProcessor
-
- getRevocablePermissions(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns the permissions in the requirement that are revocable
- getSignature() - Method in class com.android.tools.lint.checks.ApiMember
-
If the object represents a method, returns its signature without the return type.
- GetSignaturesDetector - Class in com.android.tools.lint.checks
-
- GetSignaturesDetector() - Constructor for class com.android.tools.lint.checks.GetSignaturesDetector
-
- getSimpleName() - Method in class com.android.tools.lint.checks.ApiClass
-
- getSince() - Method in class com.android.tools.lint.checks.ApiMember
-
Returns the API level when the member was introduced.
- getSize(File) - Static method in class com.android.tools.lint.checks.IconDetector
-
- getSupportedPinDigestAlgorithms() - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
Used by the IDE for quick fixes.
- getTagSpellingSuggestions(String, String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
For a given misspelled attribute, return the allowed suggestions/corrections.
- getTarget() - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the associated Android target, if known
- getTargetApi(UElement) - Static method in class com.android.tools.lint.checks.ApiDetector
-
- getTargetSdkVersion() - Method in interface com.android.tools.lint.checks.PermissionHolder
-
- getTargetSdkVersion() - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
-
- getType() - Method in class com.android.tools.lint.checks.AndroidPatternMatcher
-
- 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
- getValidCastVersion(String, String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns the API version required to perform the given cast, or -1 if this is valid for all
versions of the class (or, if these are not known classes or if the cast is not valid at
all.)
- getVariableElement(UCallExpression) - Static method in class com.android.tools.lint.checks.CleanupDetector
-
Returns the variable the expression is assigned to, if any
- getVariableElement(UCallExpression, boolean, boolean) - Static method in class com.android.tools.lint.checks.CleanupDetector
-
- GIF_USAGE - Static variable in class com.android.tools.lint.checks.IconDetector
-
Using .gif bitmaps
- GMS_HIDE_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
-
- GRADLE_OVERRIDES - Static variable in class com.android.tools.lint.checks.ManifestDetector
-
Defining a value that is overridden by Gradle
- GridLayoutDetector - Class in com.android.tools.lint.checks
-
Check which looks for potential errors in declarations of GridLayouts, such as specifying
row/column numbers outside the declared dimensions of the grid.
- GridLayoutDetector() - Constructor for class com.android.tools.lint.checks.GridLayoutDetector
-
- GUAVA_VISIBLE_FOR_TESTING - Static variable in class com.android.tools.lint.checks.AnnotationDetector
-
- ICON_COLORS - Static variable in class com.android.tools.lint.checks.IconDetector
-
Wrong color of notification icon.
- ICON_DENSITIES - Static variable in class com.android.tools.lint.checks.IconDetector
-
Missing density versions of image
- ICON_DIP_SIZE - Static variable in class com.android.tools.lint.checks.IconDetector
-
Inconsistent dip size across densities
- ICON_EXPECTED_SIZE - Static variable in class com.android.tools.lint.checks.IconDetector
-
Wrong icon size according to published conventions
- ICON_EXTENSION - Static variable in class com.android.tools.lint.checks.IconDetector
-
Wrong filename according to the format
- ICON_LAUNCHER_SHAPE - Static variable in class com.android.tools.lint.checks.IconDetector
-
Wrong launcher icon shape
- ICON_LOCATION - Static variable in class com.android.tools.lint.checks.IconDetector
-
Images in res/drawable folder
- ICON_MISSING_FOLDER - Static variable in class com.android.tools.lint.checks.IconDetector
-
Missing density folders
- ICON_MIX_9PNG - Static variable in class com.android.tools.lint.checks.IconDetector
-
Drawables provided as both .9.png and .png files
- ICON_NODPI - Static variable in class com.android.tools.lint.checks.IconDetector
-
Icons appearing in both -nodpi and a -Ndpi folder
- ICON_XML_AND_PNG - Static variable in class com.android.tools.lint.checks.IconDetector
-
Icons appearing as both drawable xml files and bitmaps
- IconDetector - Class in com.android.tools.lint.checks
-
Checks for common icon problems, such as wrong icon sizes, placing icons in the density
independent drawable folder, etc.
- IconDetector() - Constructor for class com.android.tools.lint.checks.IconDetector
-
- ILLEGAL_REFERENCE - Static variable in class com.android.tools.lint.checks.ManifestDetector
-
Using a resource for attributes that do not allow it
- IMPL - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.InstantAppDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.JobSchedulerDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.PreferenceActivityDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.RecyclerViewDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
-
- IMPLEMENTATION - Static variable in class com.android.tools.lint.checks.WearStandaloneAppDetector
-
- IMPLEMENTATION_XML - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
-
- IMPLIED_QUANTITY - Static variable in class com.android.tools.lint.checks.PluralsDetector
-
This plural does not use the quantity value
- IMPLIED_TOUCHSCREEN_HARDWARE - Static variable in class com.android.tools.lint.checks.AndroidTvDetector
-
- IN_MM_ISSUE - Static variable in class com.android.tools.lint.checks.PxUsageDetector
-
Using mm/in instead of dp
- INCLUDE_TESTS_PROPERTY - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
-
- IncludeDetector - Class in com.android.tools.lint.checks
-
Checks for problems with include tags, such as providing layout parameters without specifying
both layout_width and layout_height
- IncludeDetector() - Constructor for class com.android.tools.lint.checks.IncludeDetector
-
- INCONSISTENT - Static variable in class com.android.tools.lint.checks.ArraySizeDetector
-
Are there differences in how many array elements are declared?
- INCONSISTENT_IDS - Static variable in class com.android.tools.lint.checks.LayoutConsistencyDetector
-
Inconsistent widget types
- INEFFICIENT_WEIGHT - Static variable in class com.android.tools.lint.checks.InefficientWeightDetector
-
Can a weight be replaced with 0dp instead for better performance?
- InefficientWeightDetector - Class in com.android.tools.lint.checks
-
Checks whether a layout_weight is declared inefficiently.
- InefficientWeightDetector() - Constructor for class com.android.tools.lint.checks.InefficientWeightDetector
-
- INITIAL_CAPACITY - Static variable in class com.android.tools.lint.checks.BuiltinIssueRegistry
-
- INLINED - Static variable in class com.android.tools.lint.checks.ApiDetector
-
Accessing an inlined API on older platforms
- INNERCLASS - Static variable in class com.android.tools.lint.checks.MissingClassDetector
-
Is the right character used for inner class separators?
- INSIDE_METHOD - Static variable in class com.android.tools.lint.checks.AnnotationDetector
-
Placing SuppressLint on a local variable doesn't work for class-file based checks
- InstantAppDetector - Class in com.android.tools.lint.checks
-
Checks related to instant apps.
- InstantAppDetector() - Constructor for class com.android.tools.lint.checks.InstantAppDetector
-
- INSTANTIATABLE - Static variable in class com.android.tools.lint.checks.MissingClassDetector
-
Are activity, service, receiver etc subclasses instantiatable?
- instruction - Variable in class com.android.tools.lint.checks.ControlFlowGraph.Node
-
The instruction
- INT_RANGE_ANNOTATION - Static variable in class com.android.tools.lint.checks.AnnotationDetector
-
- INVALID - Static variable in class com.android.tools.lint.checks.StringFormatDetector
-
Whether formatting strings are invalid
- INVALID - Static variable in class com.android.tools.lint.checks.WrongIdDetector
-
An ID declaration which is not valid
- INVALID_FOLDER - Static variable in class com.android.tools.lint.checks.LocaleFolderDetector
-
- INVALID_NAME - Static variable in class com.android.tools.lint.checks.FirebaseAnalyticsDetector
-
- INVALID_USES_TAG_ISSUE - Static variable in class com.android.tools.lint.checks.AndroidAutoDetector
-
Invalid attribute for uses tag.
- INVALID_WAKE_LOCK_TAG - Static variable in class com.android.tools.lint.checks.PowerManagerDetector
-
- INVALID_WEAR_FEATURE_ATTRIBUTE - Static variable in class com.android.tools.lint.checks.WearStandaloneAppDetector
-
Invalid meta-data or missing wear standalone app flag
- InvalidImeActionIdDetector - Class in com.android.tools.lint.checks
-
Check android:imeActionId for valid values, as defined by
EditorInfo
- InvalidImeActionIdDetector() - Constructor for class com.android.tools.lint.checks.InvalidImeActionIdDetector
-
- InvalidPackageDetector - Class in com.android.tools.lint.checks
-
Looks for usages of Java packages that are not included in Android.
- InvalidPackageDetector() - Constructor for class com.android.tools.lint.checks.InvalidPackageDetector
-
Constructs a new package check
- isAttributeSpellingError(String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
For a given error message created by this lint detector, returns whether the error was due to
a typo in an attribute name.
- isBenignConstantUsage(UElement, String, String) - Static method in class com.android.tools.lint.checks.ApiDetector
-
Checks whether the given instruction is a benign usage of a constant defined in a later
version of Android than the application's minSdkVersion.
- isBenignUnusedAttribute(String) - Static method in class com.android.tools.lint.checks.ApiDetector
-
Is the given attribute a "benign" unused attribute, one we probably don't need to flag to the
user as not applicable on all versions? These are typically attributes which add some nice
platform behavior when available, but that are not critical and developers would not
typically need to be aware of to try to implement workarounds on older platforms.
- isClass() - Method in class com.android.tools.lint.checks.ApiClassOwner
-
Returns true if this container is a class, or false if it is a package.
- isConditional() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns whether this requirement is conditional, meaning that there are some circumstances in
which the requirement is not necessary.
- isConnected(ControlFlowGraph.Node, ControlFlowGraph.Node) - Method in class com.android.tools.lint.checks.ControlFlowGraph
-
Checks whether there is a path from the given source node to the given destination node
- isConnected(AbstractInsnNode, AbstractInsnNode) - Method in class com.android.tools.lint.checks.ControlFlowGraph
-
Checks whether there is a path from the given instruction to the given instruction node
- isDrawableFile(String) - Static method in class com.android.tools.lint.checks.IconDetector
-
Like SdkUtils.isBitmapFile(File) but (a) operates on Strings instead of files and (b)
also considers XML drawables as images
- isHeightFillParent(Element) - Static method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
-
- isLocaleSpecific(String) - Static method in class com.android.tools.lint.checks.StringFormatDetector
-
Determines whether the given String.format(String, Object...) formatting string is
"locale dependent", meaning that its output depends on the locale.
- isMultiCatchReflectiveOperationException(UCatchClause) - Static method in class com.android.tools.lint.checks.ApiDetector
-
- isPrecededByVersionCheckExit(UElement, int) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- isRelevantOwner(String) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns true if the given owner (in VM format) is relevant to the database.
- isRevocable(String) - Method in interface com.android.tools.lint.checks.PermissionHolder
-
Returns true if the given permission is known to be revocable for targetSdkVersion ≥ M
- isRevocable(String) - Method in class com.android.tools.lint.checks.PermissionHolder.SetPermissionLookup
-
- isRevocable(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns whether this permission is revocable
- isRevocableSystemPermission(String) - Static method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns true if the given permission name is a revocable permission for targetSdkVersion ≥
23
- isRtlAttributeName(String) - Static method in class com.android.tools.lint.checks.RtlDetector
-
- isSatisfied(PermissionHolder) - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Whether the permission requirement is satisfied given the set of granted permissions
- isSingle() - Method in class com.android.tools.lint.checks.PermissionRequirement
-
Returns whether this requirement is for a single permission (rather than a boolean expression
such as one permission or another.)
- ISSUE - Static variable in class com.android.tools.lint.checks.AccessibilityDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.AllowAllHostnameVerifierDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.AlwaysShowActionDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.AppCompatCallDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.AppCompatCustomViewDetector
-
Copy/pasted item decorator code
- ISSUE - Static variable in class com.android.tools.lint.checks.AppCompatResourceDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.AutofillDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.BadHostnameVerifierDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.ClickableViewAccessibilityDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.ConstraintLayoutDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.CordovaVersionDetector
-
Vulnerable Cordova Version
- ISSUE - Static variable in class com.android.tools.lint.checks.CustomViewDetector
-
Mismatched style and class names
- ISSUE - Static variable in class com.android.tools.lint.checks.CutPasteDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.DeprecationDetector
-
Usage of deprecated views or attributes
- ISSUE - Static variable in class com.android.tools.lint.checks.DuplicateResourceDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.EllipsizeMaxLinesDetector
-
Combining maxLines and ellipsize
- ISSUE - Static variable in class com.android.tools.lint.checks.ExifInterfaceDetector
-
Using android.media.ExifInterface
- ISSUE - Static variable in class com.android.tools.lint.checks.FieldGetterDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.FragmentDetector
-
Are fragment subclasses instantiatable?
- ISSUE - Static variable in class com.android.tools.lint.checks.FullBackupContentDetector
-
Validation of <full-backup-content> XML elements
- ISSUE - Static variable in class com.android.tools.lint.checks.GetContentDescriptionOverrideDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.GetSignaturesDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.GridLayoutDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.HandlerDetector
-
Potentially leaking handlers
- ISSUE - Static variable in class com.android.tools.lint.checks.HardcodedDebugModeDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.HardwareIdDetector
-
Hardware Id Usages
- ISSUE - Static variable in class com.android.tools.lint.checks.IncludeDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.InstantAppDetector
-
Instant App related issues
- ISSUE - Static variable in class com.android.tools.lint.checks.InvalidImeActionIdDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.InvalidPackageDetector
-
Accessing an invalid package
- ISSUE - Static variable in class com.android.tools.lint.checks.ItemDecoratorDetector
-
Copy/pasted item decorator code
- ISSUE - Static variable in class com.android.tools.lint.checks.JavaScriptInterfaceDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.JobSchedulerDetector
-
Issues that negatively affect battery life
- ISSUE - Static variable in class com.android.tools.lint.checks.KeyboardNavigationDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.LabelForDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.LayoutInflationDetector
-
Passing in a null parent to a layout inflater
- ISSUE - Static variable in class com.android.tools.lint.checks.LeakDetector
-
Leaking data via static fields
- ISSUE - Static variable in class com.android.tools.lint.checks.ManifestPermissionAttributeDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.ManifestResourceDetector
-
Using resources in the manifest that vary by configuration
- ISSUE - Static variable in class com.android.tools.lint.checks.ManifestTypoDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.MathDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.MergeMarkerDetector
-
Packaged private key files
- ISSUE - Static variable in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.MissingIdDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.NegativeMarginDetector
-
Negative margins
- ISSUE - Static variable in class com.android.tools.lint.checks.NestedScrollingWidgetDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
Validate the entire network-security-config descriptor.
- ISSUE - Static variable in class com.android.tools.lint.checks.NfcTechListDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.NonInternationalizedSmsDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ObsoleteLayoutParamsDetector
-
Usage of deprecated views or attributes
- ISSUE - Static variable in class com.android.tools.lint.checks.OnClickDetector
-
Missing onClick handlers
- ISSUE - Static variable in class com.android.tools.lint.checks.OverdrawDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.OverrideConcreteDetector
-
Are previously-abstract methods all overridden?
- ISSUE - Static variable in class com.android.tools.lint.checks.OverrideDetector
-
Accidental overrides
- ISSUE - Static variable in class com.android.tools.lint.checks.ParcelDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.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.ScrollViewChildDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.SecureRandomGeneratorDetector
-
Whether the random number generator is initialized correctly
- ISSUE - Static variable in class com.android.tools.lint.checks.ServiceCastDetector
-
Invalid cast to a type from the service constant
- ISSUE - Static variable in class com.android.tools.lint.checks.SetJavaScriptEnabledDetector
-
Invocations of setJavaScriptEnabled
- ISSUE - Static variable in class com.android.tools.lint.checks.SignatureOrSystemDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.SQLiteDetector
-
Using STRING instead of TEXT for columns
- ISSUE - Static variable in class com.android.tools.lint.checks.StateListDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.SystemPermissionsDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.TextFieldDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.TextViewDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.TitleDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ToastDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.TrustAllX509TrustManagerDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.TypoDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.UnpackedNativeCodeDetector
-
- ISSUE - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
-
Unused resources (other than ids).
- ISSUE - Static variable in class com.android.tools.lint.checks.UseCompoundDrawableDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.Utf8Detector
-
Detects non-utf8 encodings
- ISSUE - Static variable in class com.android.tools.lint.checks.VectorDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.VectorDrawableCompatDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ViewConstructorDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.ViewHolderDetector
-
Using a view inflater unconditionally in an AdapterView
- ISSUE - Static variable in class com.android.tools.lint.checks.ViewTagDetector
-
Using setTag and leaking memory
- ISSUE - Static variable in class com.android.tools.lint.checks.WakelockDetector
-
Problems using wakelocks
- ISSUE - Static variable in class com.android.tools.lint.checks.WebViewDetector
-
The main issue discovered by this detector
- ISSUE - Static variable in class com.android.tools.lint.checks.WrongCallDetector
-
Calling the wrong method
- ISSUE - Static variable in class com.android.tools.lint.checks.WrongImportDetector
-
Is android.R being imported?
- ISSUE_APP_INDEXING - Static variable in class com.android.tools.lint.checks.AppIndexingApiDetector
-
- ISSUE_APP_INDEXING_API - Static variable in class com.android.tools.lint.checks.AppIndexingApiDetector
-
- ISSUE_ERROR - Static variable in class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
-
- ISSUE_IDS - Static variable in class com.android.tools.lint.checks.UnusedResourceDetector
-
Unused id's
- ISSUE_WARNING - Static variable in class com.android.tools.lint.checks.AppLinksAutoVerifyDetector
-
- isTagSpellingError(String) - Static method in class com.android.tools.lint.checks.NetworkSecurityConfigDetector
-
- isValidJavaPackage(String, int) - Method in class com.android.tools.lint.checks.ApiLookup
-
Returns true if the given package is a valid Java package supported in any version of
Android.
- isVectorGenerationSupported(Project) - Static method in class com.android.tools.lint.checks.VectorDetector
-
Returns true if the given Gradle project model supports raster image generation for vector
drawables.
- isVectorGenerationSupportedForFillType(Project) - Static method in class com.android.tools.lint.checks.VectorDetector
-
Returns true if the given Gradle project model supports raster image generation for vector
drawables with the android:fillType attribute.
- isVectorGenerationSupportedForGradient(Project) - Static method in class com.android.tools.lint.checks.VectorDetector
-
Returns true if the given Gradle project model supports raster image generation for vector
drawables with gradients.
- isVersionCheckConditional(int, UBinaryExpression) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- isWidthFillParent(Element) - Static method in class com.android.tools.lint.checks.MergeRootFrameLayoutDetector
-
- isWithinSdkConditional(ClassContext, ClassNode, MethodNode, AbstractInsnNode, int) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- isWithinVersionCheckConditional(JavaEvaluator, UElement, int) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- isWithinVersionCheckConditional(JavaEvaluator, UElement, int, VersionChecks.ApiLevelLookup) - Static method in class com.android.tools.lint.checks.VersionChecks
-
- ItemDecoratorDetector - Class in com.android.tools.lint.checks
-
Looks for copy/paste versions of the divider item decorator.
- ItemDecoratorDetector() - Constructor for class com.android.tools.lint.checks.ItemDecoratorDetector
-