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

A

androidx.annotation - package androidx.annotation
 
AnimatorRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be an animator resource reference (e.g.
AnimRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be an anim resource reference (e.g.
AnyRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a resource reference of any type.
AnyThread - Annotation Type in androidx.annotation
Denotes that the annotated method can be called from any thread (e.g.
ArrayRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be an array resource reference (e.g.
AttrRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be an attribute reference (e.g.

B

BinderThread - Annotation Type in androidx.annotation
Denotes that the annotated method should only be called on the binder thread.
BoolRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a boolean resource reference.

C

CallSuper - Annotation Type in androidx.annotation
Denotes that any overriding methods should invoke this method as well.
CheckResult - Annotation Type in androidx.annotation
Denotes that the annotated method returns a result that it typically is an error to ignore.
ColorInt - Annotation Type in androidx.annotation
Denotes that the annotated element represents a packed color int, AARRGGBB.
ColorLong - Annotation Type in androidx.annotation
Denotes that the annotated element represents a packed color long.
ColorRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a color resource reference (e.g.
ContentView - Annotation Type in androidx.annotation
Annotation that can be attached to a constructor with a single LayoutRes parameter to denote what layout the component intends to inflate and set as its content.

D

DimenRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a dimension resource reference (e.g.
Dimension - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to represent a dimension.
DP - Static variable in annotation type androidx.annotation.Dimension
 
DrawableRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a drawable resource reference (e.g.

F

FloatRange - Annotation Type in androidx.annotation
Denotes that the annotated element should be a float or double in the given range
FontRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a font resource reference (e.g.
FractionRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a fraction resource reference.

G

GuardedBy - Annotation Type in androidx.annotation
Denotes that the annotated method or field can only be accessed when holding the referenced lock.

H

HalfFloat - Annotation Type in androidx.annotation
Denotes that the annotated element represents a half-precision floating point value.

I

IdRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be an id resource reference (e.g.
InspectableProperty - Annotation Type in androidx.annotation
Denotes that the annotated method is the getter for a resources-backed property that should be shown in Android Studio's inspection tools.
InspectableProperty.EnumEntry - Annotation Type in androidx.annotation
One entry in an enumeration packed into a primitive {int}.
InspectableProperty.FlagEntry - Annotation Type in androidx.annotation
One flag value of many that may be packed into a primitive {int}.
InspectableProperty.ValueType - Enum in androidx.annotation
The type of value packed into a primitive {int}.
IntDef - Annotation Type in androidx.annotation
Denotes that the annotated element of integer type, represents a logical type and that its value should be one of the explicitly named constants.
IntegerRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be an integer resource reference (e.g.
InterpolatorRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be an interpolator resource reference (e.g.
IntRange - Annotation Type in androidx.annotation
Denotes that the annotated element should be an int or long in the given range

K

Keep - Annotation Type in androidx.annotation
Denotes that the annotated element should not be removed when the code is minified at build time.

L

LayoutRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a layout resource reference (e.g.
LongDef - Annotation Type in androidx.annotation
Denotes that the annotated long element represents a logical type and that its value should be one of the explicitly named constants.

M

MainThread - Annotation Type in androidx.annotation
Denotes that the annotated method should only be called on the main thread.
MenuRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a menu resource reference.

N

NavigationRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a navigation resource reference (e.g.
NONE - Static variable in annotation type androidx.annotation.VisibleForTesting
The annotated element should never be called from production code, only from tests.
NonNull - Annotation Type in androidx.annotation
Denotes that a parameter, field or method return value can never be null.
Nullable - Annotation Type in androidx.annotation
Denotes that a parameter, field or method return value can be null.

P

PACKAGE_PRIVATE - Static variable in annotation type androidx.annotation.VisibleForTesting
The annotated element would have "package private" visibility
PluralsRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a plurals resource reference.
PRIVATE - Static variable in annotation type androidx.annotation.VisibleForTesting
The annotated element would have "private" visibility
PROTECTED - Static variable in annotation type androidx.annotation.VisibleForTesting
The annotated element would have "protected" visibility
PX - Static variable in annotation type androidx.annotation.Dimension
 
Px - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to represent a pixel dimension.

R

RawRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a raw resource reference.
RequiresApi - Annotation Type in androidx.annotation
Denotes that the annotated element should only be called on the given API level or higher.
RequiresFeature - Annotation Type in androidx.annotation
Denotes that the annotated element requires one or more features.
RequiresPermission - Annotation Type in androidx.annotation
Denotes that the annotated element requires (or may require) one or more permissions.
RequiresPermission.Read - Annotation Type in androidx.annotation
Specifies that the given permission is required for read operations.
RequiresPermission.Write - Annotation Type in androidx.annotation
Specifies that the given permission is required for write operations.
RestrictTo - Annotation Type in androidx.annotation
Denotes that the annotated element should only be accessed from within a specific scope (as defined by RestrictTo.Scope).
RestrictTo.Scope - Enum in androidx.annotation
 

S

Size - Annotation Type in androidx.annotation
Denotes that the annotated element should have a given size or length.
SP - Static variable in annotation type androidx.annotation.Dimension
 
StringDef - Annotation Type in androidx.annotation
Denotes that the annotated String element, represents a logical type and that its value should be one of the explicitly named constants.
StringRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a String resource reference (e.g.
StyleableRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a styleable resource reference (e.g.
StyleRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a style resource reference (e.g.

T

TransitionRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be a transition resource reference.

U

UiThread - Annotation Type in androidx.annotation
Denotes that the annotated method or constructor should only be called on the UI thread.

V

valueOf(String) - Static method in enum androidx.annotation.InspectableProperty.ValueType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum androidx.annotation.RestrictTo.Scope
Returns the enum constant of this type with the specified name.
values() - Static method in enum androidx.annotation.InspectableProperty.ValueType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum androidx.annotation.RestrictTo.Scope
Returns an array containing the constants of this enum type, in the order they are declared.
VisibleForTesting - Annotation Type in androidx.annotation
Denotes that the class, method or field has its visibility relaxed, so that it is more widely visible than otherwise necessary to make code testable.

W

WorkerThread - Annotation Type in androidx.annotation
Denotes that the annotated method should only be called on a worker thread.

X

XmlRes - Annotation Type in androidx.annotation
Denotes that an integer parameter, field or method return value is expected to be an XML resource reference.
A B C D F G H I K L M N P R S T U V W X 
Skip navigation links