Google is committed to advancing racial equity for Black communities. See how.

Class Index

These are all the API classes. See all API packages.

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

A

AbsoluteAlignment

Represents an absolute positioning of a point inside a 2D box.

AbsoluteAlignment.Horizontal

Represents a absolute positioning of a point on a 1D horizontal finite line.

AbsoluteArrangement

AbstractApplier

An abstract Applier implementation that builds the tree "top down".

AbstractComposeView

Base class for custom android.view.Views implemented using Jetpack Compose UI.

AbstractRecord

Base implementation of a frame record

AccessibilityAction

Data class for standard accessibility action.

AccessibilityRangeInfo

Data class for accessibility range information.

Adaptation

List of adaptation matrices that can be used for chromatic adaptation using the von Kries transform.

Alignment

An interface to position a point inside a 2D box.

Alignment.Horizontal

An interface that positions a point on a 1D horizontal finite line.

Alignment.Vertical

An interface that positions a point on a 1D vertical finite line.

AlignmentLine

Defines an offset line that can be used by parent layouts to align and position their children.

Alt

Indicates the status of the Alt key.

Ambient

Compose passes data through the composition tree explicitly through means of parameters to composable functions.

Anchor

AndroidComposeTestRule

Android specific implementation of ComposeTestRule.

AndroidComposeTestRule.AndroidComposeStatement

AndroidEmbeddingContext

AndroidFlingDecaySpec

A native Android fling curve decay.

AndroidOwner

Interface to be implemented by Owners able to handle Android View specific functionality.

AndroidOwner.ViewTreeOwners

Combines objects populated via ViewTree*Owner

AndroidPaint

AndroidPath

AndroidPathMeasure

AndroidUiDispatcher

A CoroutineDispatcher that will perform dispatch during a handler callback or choreographer's animation frame stage, whichever comes first.

AndroidUiFrameClock

AndroidUriHandler

AndroidViewHolder

A base class used to host a View inside Compose.

AnimatedFloat

This class inherits most of the functionality from BaseAnimatedValue.

AnimatedFloatModel

Model class for AnimatedFloat.

AnimatedValue

AnimatedValue is an animatable value holder.

AnimatedValueModel

Model class for AnimatedValue.

AnimationClockObservable

This interface allows AnimationClock to be subscribed and unsubscribed.

AnimationClockObserver

Observer for animation clock changes.

AnimationClockTestRule

AnimationConstants

AnimationEndReason

Possible reasons with which DynamicTargetAnimation can finish

AnimationSpec

AnimationSpec stores the specification of an animation, including 1) the data type to be animated, and 2) the animation configuration (i.

AnimationVector

AnimationVector class that is the base class of AnimationVector1D, AnimationVector2D, AnimationVector3D and AnimationVector4D.

AnimationVector1D

This class defines a 1D vector.

AnimationVector2D

This class defines a 2D vector that contains two Float values for the two dimensions.

AnimationVector3D

This class defines a 3D vector that contains three Float value fields for the three dimensions.

AnimationVector4D

This class defines a 4D vector that contains four Float fields for its four dimensions.

AnnotatedString

The basic data structure of text with multiple styles.

AnnotatedString.Builder

Builder class for AnnotatedString.

AnnotatedString.Range

The information attached on the text such as a SpanStyle.

Applier

An Applier is responsible for applying the tree-based operations that get emitted during a composition.

Arrangement

Used to specify the arrangement of the layout's children in Row or Column in the main axis direction (horizontal and vertical, respectively).

Arrangement.Horizontal

Used to specify the horizontal arrangement of the layout's children in a Row.

Arrangement.HorizontalOrVertical

Used to specify the horizontal arrangement of the layout's children in a Row, or the vertical arrangement of the layout's children in a Column.

Arrangement.Vertical

Used to specify the vertical arrangement of the layout's children in a Column.

AtomicInt

Autofill

Autofill API.

AutofillNode

Every autofillable composable will have an AutofillNode.

AutofillTree

The autofill tree is a temporary data structure that is used before the Semantics Tree is implemented.

AutofillType

Autofill type information.

B

BackdropConstants

Contains useful constants for BackdropScaffold.

BackdropScaffoldState

State of the BackdropScaffold composable.

BackdropValue

Possible values of BackdropScaffoldState.

BackspaceKeyEditOp

An edit operation represents backspace keyevent

BaseAnimatedValue

This is the base class for AnimatedValue.

BaseAnimationClock

Base implementation for the AnimationClockObservable that handles the subscribing and unsubscribing logic that would be common for all custom animation clocks.

BaselineShift

The amount by which the text is shifted up or down from current the baseline.

BitSet

BlendMode

Algorithms to use when painting on the canvas.

Border

Class to specify border appearance.

BorderStroke

Class to specify the stroke to draw border with.

BottomDrawerState

State of the BottomDrawerLayout composable.

BottomDrawerValue

Possible values of BottomDrawerState.

Bounds

A four dimensional bounds using Dp for units

BroadcastFrameClock

A simple frame clock.

Brush

BuildableMap

ButtonConstants

Contains the default values used by Button

C

CallGroup

A group that represents the invocation of a component

Canvas

CanvasHolder

Holder class that is used to issue scoped calls to a Canvas from the framework equivalent canvas without having to allocate an object on each draw call

ChainStyle

The style of a horizontal or vertical chain.

CheckResult

ClipboardManager

Interface for managing the Clipboard.

ClipOp

Defines how a new clip region should be merged with the existing clip region.

CollectionPreviewParameterProvider

Color

The Color class contains color information to be used while painting in Canvas.

ColorFilter

Creates a color filter that applies the blend mode given as the second argument.

ColorModel

A color model is required by a ColorSpace to describe the way colors can be represented as tuples of numbers.

ColorPainter

Painter implementation used to fill the provided bounds with the specified color

ColorPropKey

Built-in property key for Color properties.

Colors

Collection of colors in the Material color specification

ColorSpace

A ColorSpace is used to identify a specific organization of colors.

ColorSpaces

ColorStop

ColumnScope

Scope for the children of Column.

CombinedModifier

A node in a Modifier chain.

CommitScope

A CommitScope represents an object that executes some code and has a cleanup in the context of the Composition lifecycle.

CommitTextEditOp

An edit operation represent commitText callback from InputMethod.

Composable

Composable functions are the fundamental building blocks of an application built with Compose.

ComposableContract

This annotation can be applied to Composable functions and provide metadata to the compiler that imply compose-specific contracts that the author of the function is guaranteeing the function complies with.

ComposableLambda

A Restart is created to hold composable lambdas to track when they are invoked allowing the invocations to be invalidated when a new composable lambda is created during composition.

ComposableLambdaN

ComposeCompilerApi

ComposeNotIdleException

Thrown in cases where Compose can't get idle in Espresso's defined time limit.

Composer

Implementation of a composer for mutable tree.

ComposeTestRule

Enables to run tests of individual composables without having to do manual setup.

ComposeTestRuleJUnit

Enables to run tests of individual composables without having to do manual setup.

ComposeView

A android.view.View that can host Jetpack Compose UI content.

Composition

A composition object is usually constructed for you, and returned from an API that is used to initially compose a UI.

CompositionCoroutineScope

A CoroutineScope used for launching side effects of a composition that also permits awaiting the next presentation frame of the composition.

CompositionFrameClock

Provides a time source for display frames for use in composition.

CompositionLifecycleObserver

Objects implementing this interface are notified when they are initially used in a composition and when they are no longer being used.

CompositionReference

A CompositionReference is an opaque type that is used to logically "link" two compositions together.

Connector

A connector transforms colors from a source color space to a destination color space.

ConstrainedLayoutReference

Represents a layout within a ConstraintLayout.

ConstrainScope

Scope used by Modifier.constrainAs.

ConstrainScope.BaselineAnchorable

Represents the FirstBaseline of a layout that can be anchored using linkTo in their Modifier.constrainAs blocks.

ConstrainScope.HorizontalAnchorable

Represents a horizontal side of a layout (i.

ConstrainScope.VerticalAnchorable

Represents a vertical side of a layout (i.

ConstraintLayoutBaseScope

Common scope for ConstraintLayoutScope and ConstraintSetScope, the content being shared between the inline DSL API and the ConstraintSet-based API.

ConstraintLayoutBaseScope.BaselineAnchor

Represents a horizontal anchor corresponding to the FirstBaseline of a layout that other layouts can link to in their Modifier.constrainAs or constrain blocks.

ConstraintLayoutBaseScope.HorizontalAnchor

Represents a horizontal anchor (e.

ConstraintLayoutBaseScope.VerticalAnchor

Represents a vertical anchor (e.

ConstraintLayoutScope

Scope used by the inline DSL of ConstraintLayout.

ConstraintLayoutScope.ConstrainedLayoutReferences

Convenience API for creating multiple ConstrainedLayoutReference via createRefs.

Constraints

Immutable constraints used for measuring child Layouts or LayoutModifiers.

ConstraintSet

Immutable description of the constraints used to layout the children of a ConstraintLayout.

ConstraintSetScope

Scope used by the ConstraintSet DSL.

ConsumedData

Describes what aspects of, and how much of, a change has been consumed.

ContentDrawScope

Receiver scope for drawing content into a layout, where the content can be drawn between other canvas operations.

ContentGravity

ContentScale

Represents a rule to apply to scale a source rectangle to be inscribed into a destination

CornerBasedShape

Base class for Shapes defined by four CornerSizes.

CornerSize

Defines size of a corner in pixels.

CubicBezierEasing

A cubic polynomial easing.

CustomAccessibilityAction

Data class for custom accessibility action.

CustomEvent

The base type for all custom events.

CustomEventDispatcher

Defines the interface that is used to dispatch CustomEvents to pointer input nodes across the compose tree.

CutCornerShape

A shape describing the rectangle with cut corners.

D

DefaultAnimationClock

Default Choreographer based clock that pushes a new frame to all subscribers on each Choreographer tick, until all subscribers have unsubscribed.

DeferredResource

A class used for the result of the asynchronous resource loading.

DelayUpEvent

Dispatched by a PointerInputFilter when it wants other PointerInputFilters to delay "responding to up events" (calling callbacks because, for example, a finger lifted off of the screen).

DelayUpMessage

The types of messages that can be dispatched.

DeleteAllEditOp

An edit operation that represents deleting all the text in the buffer.

DeleteSurroundingTextEditOp

An edit operation represents deleteSurroundingText callback from InputMethod

DeleteSurroundingTextInCodePointsEditOp

An edit operation represents deleteSurroundingTextInCodePoitns callback from InputMethod

Density

A density of the screen.

Devices

List with the pre-defined devices available to be used in the preview.

DialogWindowProvider

Provides the underlying window of a dialog.

Dimension

Represents a dimension that can be assigned to the width or height of a ConstraintLayoutConstrainedLayoutReference.

Dimension.Coercible

A Dimension that can be assigned both min and max bounds.

Dimension.MaxCoercible

A Dimension that can be assigned a max bound.

Dimension.MinCoercible

A Dimension that can be assigned a min bound.

Direction

DisableTransitions

This rule will disable all transition animations for the test.

DisableTransitions.DisableTransitionsStatement

DismissDirection

The directions in which a SwipeToDismiss can be dismissed.

DismissState

State of the SwipeToDismiss composable.

DismissValue

Possible values of DismissState.

DisposableAnimationClock

Clock that remembers all of its active subscriptions so that it can dispose of upstream subscriptions.

Dp

Dimension value representing device-independent pixels (dp).

DpConstraints

Similar to Constraints, but with constraint values expressed in Dp.

DpCubed

Holds a unit of cubed dimensions, such as 1.value * 2.value * 3.dp.

DpInverse

Holds a unit of an inverse dimensions, such as 1.dp / (2.value * 3.dp).

DpPropKey

Built-in property key for Dp properties.

DpSquared

Holds a unit of squared dimensions, such as 1.value * 2.dp.

DragObserver

Defines the callbacks associated with dragging.

DrawerConstants

Object to hold default values for ModalDrawerLayout and BottomDrawerLayout

DrawerState

State of the ModalDrawerLayout composable.

DrawerValue

Possible values of DrawerState.

DrawLayerModifier

A Modifier.Element that makes content draw into a layer, allowing easily changing properties of the drawn contents.

DrawModifier

A Modifier.Element that draws into the space of the layout.

DrawScope

Creates a scoped drawing environment with the provided Canvas.

DrawScopeMarker

DSL marker used to distinguish between drawing operations and canvas transform operations

DrawStyle

Represents how the shapes should be drawn within a DrawScope

DrawTransform

Defines transformations that can be applied to a drawing environment

Duration

A span of time, such as 27 days, 4 hours, 12 minutes, and 3 seconds.

DurationBasedAnimationSpec

This describes AnimationSpecs that are based on a fixed duration, such as KeyframesSpec, TweenSpec, and SnapSpec.

E

Easing

Easing is a way to adjust an animation’s fraction.

EditingBuffer

The editing buffer

EditOperation

A base class of all EditOperations

EditorValue

Stores an input state for IME

ElevationConstants

Contains default AnimationSpecs used for animating elevation between different Interactions.

EmbeddingContext

Emphasis

Emphasis allows certain parts of a component to be accentuated, or shown with lower contrast to reflect importance / state inside a component.

EmphasisLevels

EmphasisLevels represents the different levels of Emphasis that can be applied to a component.

EnterTransition

EnterTransition defines how an AnimatedVisibility Composable appears on screen as it becomes visible.

ExitTransition

ExitTransition defines how an AnimatedVisibility Composable disappears on screen as it becomes not visible.

ExperimentalAnimationApi

ExperimentalCollectionApi

ExperimentalComposeApi

ExperimentalFocus

ExperimentalFoundationApi

ExperimentalKeyInput

ExperimentalLayout

ExperimentalLayoutNodeApi

ExperimentalLazyDsl

ExperimentalMaterialApi

ExperimentalPointerInput

ExperimentalSubcomposeLayoutApi

ExperimentalTesting

ExponentialDecay

This is a decay animation where the friction/deceleration is always proportional to the velocity.

F

FabPosition

The possible positions for a FloatingActionButton attached to a Scaffold.

FailedResource

A class represents the alternative resource due to failed to load the requested resource.

FileBasedFontFamily

A base class of FontFamilys that is created from file sources.

Fill

Default DrawStyle indicating shapes should be drawn completely filled in with the provided color or pattern

FilterQuality

FinishComposingTextEditOp

An edit operation represents finishComposingText callback from InputMEthod

FixedScale

ContentScale implementation that always scales the dimension by the provided fixed floating point value

FixedThreshold

A fixed threshold will be at an offset away from the first anchor.

FlingConfig

Class to specify fling behavior.

FloatAnimationSpec

FloatAnimationSpec interface is similar to VectorizedAnimationSpec, except it deals exclusively with floats.

FloatDecayAnimationSpec

This animation interface is intended to be stateless, just like Animation.

FloatingActionButtonConstants

Contains the default values used by FloatingActionButton

FloatPropKey

Built-in property key for Float properties.

FloatSpringSpec

FloatSpringSpec animation uses a spring animation to animate a Float value.

FloatTweenSpec

FloatTweenSpec animates a Float value from any start value to any end value using a provided easing function.

FlowCrossAxisAlignment

Used to specify the alignment of a layout's children, in cross axis direction.

FlowMainAxisAlignment

FocusManager

The focus manager is used by different Owner implementations to control focus.

FocusObserverModifier

A modifier that can be used to observe focus state changes.

FocusRequester

The FocusRequester is used in conjunction with Modifier.focusRequester to send requests for focus state change.

FocusRequesterModifier

A modifier that can be used to pass in a FocusRequester that can be used to request focus state changes.

FocusState

Different states of the focus system.

FocusState2

Different states of the focus system.

Font

The interface of the font resource.

Font.ResourceLoader

Interface used to load a font resource.

FontFamily

The base class of the font families.

FontListFontFamily

Defines a font family with list of Font.

FontStyle

Defines whether the font is Italic or Normal.

FontSynthesis

Possible options for font synthesis.

FontWeight

The thickness of the glyphs, in a range of 1,1000.

FoundationSemanticsProperties

Semantics properties that apply to the Compose Foundation UI elements.

FractionalThreshold

A fractional threshold will be at a fraction of the way between the two anchors.

Frame

Information about a frame including the frame id and whether or not it is read only.

FrameAborted

FrameCommitObserver

Framed

Interface implemented by all model objects.

FrameManager

The frame manager manages how changes to state objects are observed.

FrameReadObserver

FrameWriteObserver

G

GenericFontFamily

Defines a font family with an generic font family name.

GenericShape

Creates Shape defined by applying the provided builder on a Path.

GestureScope

The receiver scope for injecting gestures on the semanticsNode identified by the corresponding SemanticsNodeInteraction.

Group

A group in the slot table.

H

HapticFeedback

Interface for haptic feedback.

HapticFeedbackType

Constants to be used to perform haptic feedback effects via HapticFeedback.performHapticFeedback.

HorizontalAlignmentLine

A horizontal AlignmentLine.

I

Icons

Entry point for using Material Icons in Compose.

Icons.Filled

Filled icons (previously the only available theme, also known as the baseline theme) are the default icon theme.

Icons.Outlined

Outlined icons make use of a thin stroke and empty space inside for a lighter appearance.

Icons.Rounded

Rounded icons use a corner radius that pairs well with brands that use heavier typography, curved logos, or circular elements to express their style.

Icons.Sharp

Sharp icons display corners with straight edges, for a crisp style that remains legible even at smaller scales.

Icons.TwoTone

Two-Tone icons display corners with straight edges, for a crisp style that remains legible even at smaller scales.

Illuminant

Illuminant contains standard CIE white points.

ImageAsset

Graphics object that represents a 2 dimensional array of pixel information represented as ARGB values

ImageAssetConfig

Possible ImageAsset configurations.

ImagePainter

Painter implementation used to draw an ImageAsset into the provided canvas This implementation can handle applying alpha and ColorFilter to it's drawn result

ImeAction

Enums used for indicating IME action.

Immutable

Immutable can be used to mark class as producing immutable instances.

Indication

Generic interface to define visual effects when certain interaction happens.

IndicationInstance

Generic interface to define the instance if the Indication to draw visual effects when certain interaction happens.

InlineTextContent

A data class that stores a composable to be inserted into the text layout.

InnerPadding

InputEventListener

An interface of listening IME events.

InputSessionToken

The input session token.

InspectableParameter

A compose parameter that is inspectable by tools.

InspectorNode

Node representing a Composable for the Layout Inspector.

IntBounds

A four dimensional bounds holder defined by integer pixels.

Interaction

An Interaction represents transient UI state for a component, typically separate from the actual 'business' state that a component may control.

Interaction.Dragged

An interaction corresponding to a dragged state on a component.

Interaction.Pressed

An interaction corresponding to a pressed state on a component.

InteractionState

InteractionState represents a Set of Interactions present on a given component.

InternalAnimationApi

InternalComposeApi

InternalCoreApi

InternalFoundationApi

InternalInteropApi

InternalLayoutApi

InternalTextApi

InterruptionHandling

IntOffset

A two-dimensional position using Int pixels for units

IntPropKey

Built-in property key for Int properties.

IntrinsicMeasurable

A part of the composition that can be measured.

IntrinsicMeasureBlock

A function for performing intrinsic measurement.

IntrinsicMeasureScope

The receiver scope of a layout's intrinsic measurements lambdas.

IntrinsicSize

Intrinsic size used in preferredWidth or preferredHeight which can refer to width or height.

IntSize

A two-dimensional size class used for measuring in Int pixels.

J

JoinedKey

A key that has being joined together to form one key.

K

Key

Actual implementation of Key for Android.

KeyboardType

Enums used for indicating keyboard types

KeyEvent

When a user presses a key on a hardware keyboard, a KeyEvent is sent to the KeyInputModifier that is currently active.

KeyEventType

The type of Key Event.

KeyframesSpec

KeyframesSpec creates a VectorizedKeyframesSpec animation.

KeyframesSpec.KeyframeEntity

Holder class for building a keyframes animation.

KeyframesSpec.KeyframesSpecConfig

KeyframesSpecConfig stores a mutable configuration of the key frames, including durationMillis, delayMillis, and all the key frames.

KeyInfo

Information about groups and their keys.

L

LayoutCoordinates

A holder of the measured bounds for the layout (MeasureBox).

LayoutDirection

A class for defining layout directions.

LayoutIdParentData

Can be implemented by values used as parent data to make them usable as tags.

LayoutInspectorTree

Generator of a tree for the Layout Inspector.

LayoutModifier

A Modifier.Element that changes how its wrapped content is measured and laid out.

LayoutNode

An element in the layout hierarchy, built with compose UI.

LayoutNode.MeasureBlocks

LayoutNode.NoIntrinsicsMeasureBlocks

LayoutScopeMarker

LazyItemScope

Receiver scope being used by the item content parameter of LazyColumn/Row.

LazyListScope

Receiver scope which is used by LazyColumn and LazyRow.

LinearGradient

Brush implementation used to apply a linear gradient on a given Paint

LiveLiteralFileInfo

This annotation is applied to LiveLiteral classes by the Compose Compiler.

LiveLiteralInfo

This annotation is applied to functions on the LiveLiteral classes created by the Compose Compiler.

LoadedFontFamily

Defines a font family that is already loaded Typeface.

LoadedResource

A class represents the loaded resource.

Locale

A Locale object represents a specific geographical, political, or cultural region.

LocaleList

Defines a list of Locale objects.

LongPressDragObserver

LongPressFiredEvent

Dispatched to indicate that a PointerInputFilter that responds to a pointer touching a region of the UI for a period of time has fired it's associated callback such that any other PointerInputFilter that may be waiting to fire, should no longer do so.

LoremIpsum

PreviewParameterProvider with 1 value containing Lorem Ipsum.

M

MainAxisAlignment

Used to specify the alignment of a layout's children, in main axis direction.

MainThread

ManualAnimationClock

A custom clock whose frame time can be manually updated via mutating clockTimeMillis.

ManualFrameClock

A MonotonicFrameClock built on a BroadcastFrameClock that keeps track of the current time.

MaterialTheme

Contains functions to access the current theme values provided at the call site's position in the hierarchy.

Matrix

Measurable

A part of the composition that can be measured.

MeasureBlock

A function for performing layout measurement.

Measured

Read-only wrapper over Placeable that exposes the measurement result with no placing ability.

MeasureScope

The receiver scope of a layout's measure lambda.

MeasureScope.MeasureResult

Interface holding the size and alignment lines of the measured layout, as well as the children positioning logic.

ModelList

ModelMap

ModelObserver

Allows for easy model read observation.

Modifier

An ordered, immutable collection of modifier elements that decorate or add behavior to Compose UI elements.

Modifier.Companion

The companion object Modifier is the empty, default, or starter Modifier that contains no elements.

Modifier.Element

A single element contained within a Modifier chain.

ModifierInfo

Used by tooling to examine the modifiers on a LayoutNode.

MonotonicFrameAnimationClock

A MonotonicFrameAnimationClock is an AnimationClockObservable that is built on top of the MonotonicFrameClock found in the given scope.

MonotonicFrameClock

Provides a time source for display frames and the ability to perform an action on the next frame.

MonotonicFrameClock.Key

MoveCursorEditOp

An edit operation represents cursor moving.

MultiParagraph

Lays out and renders multiple paragraphs at once.

MultiParagraphIntrinsics

Calculates and provides the intrinsic width and height of text that contains ParagraphStyle.

MutableRect

An mutable, 2D, axis-aligned, floating-point rectangle whose coordinates are relative to a given origin.

MutableSnapshot

A snapshot of the values return by mutable states and other state objects.

MutableState

A mutable value holder where reads to the value property during the execution of a Composable function, the current RecomposeScope will be subscribed to changes of that value.

MutableTransitionState

MutableTransitionState is used in TransitionDefinition for constructing various TransitionStates with corresponding properties and their values.

MutableVector

A MutableList-like structure with a simplified interface that offers faster access than ArrayList.

N

NodeGroup

A group that represents an emitted node

NodeParameter

Holds data representing a Composable parameter for the Layout Inspector.

NoLiveLiterals

This annotation is used to indicate to the Compose Compiler to not attempt to generate live literals inside the scope of the declaration it is applied to, even when the live literals code generation is turned on.

O

ObserverMap

A map from a key to a set of values used for keeping the relation between some entities and a models changes of which this entities are observing.

Offset

An immutable 2D floating-point offset.

OffsetMap

The map interface used for bidirectional offset mapping from original to transformed text.

OffsetPropKey

Built-in property key for Offset properties.

OnAnimationEnd

Typealias for lambda that will be invoked when fling animation ends.

OnPositionedModifier

A modifier whose onPositioned is called with the final LayoutCoordinates of the Layout after measuring.

Orientation

Outline

Defines a simple shape, used for bounding graphical regions.

Outline.Generic

An area defined as a path.

Outline.Rectangle

Rectangular area.

Outline.Rounded

Rectangular area with rounded corners.

OwnedLayer

A layer returned by Owner.createLayer to separate drawn content.

Owner

Owner implements the connection to the underlying view system.

P

PaddingValues

Describes a padding to be applied along the edges inside a box.

Paint

Painter

Abstraction for something that can be drawn.

PaintingStyle

Strategies for painting shapes and paths on a canvas.

Paragraph

A paragraph of text that is laid out.

ParagraphConstraints

Layout constraints for Paragraph objects.

ParagraphIntrinsics

Calculates and presents the intrinsic width and height of text.

ParagraphStyle

Paragraph styling configuration for a paragraph.

ParagraphStyleRange

The class changes the paragraph level style of the specified range.

ParameterElement

A parameter element describes the elements of a compose parameter instance.

ParameterInformation

ParameterType

The type of a parameter.

ParentDataModifier

A Modifier that provides data to the parent Layout.

PasswordVisualTransformation

The Visual Filter can be used for password Input Field.

Path

PathBuilder

PathFillType

Determines the winding rule that decides how the interior of a Path is calculated.

PathMeasure

PathNode

Class representing a singular path command in a vector.

PathNode.ArcTo

PathNode.Close

PathNode.CurveTo

PathNode.HorizontalTo

PathNode.LineTo

PathNode.MoveTo

PathNode.QuadTo

PathNode.ReflectiveCurveTo

PathNode.ReflectiveQuadTo

PathNode.RelativeArcTo

PathNode.RelativeCurveTo

PathNode.RelativeHorizontalTo

PathNode.RelativeLineTo

PathNode.RelativeMoveTo

PathNode.RelativeQuadTo

PathNode.RelativeReflectiveCurveTo

PathNode.RelativeReflectiveQuadTo

PathNode.RelativeVerticalTo

PathNode.VerticalTo

PathOperation

Strategies for combining paths.

PathParser

PendingResource

A class represents the alternative resource due to background loading.

PixelMap

Result of a pixel read operation.

Placeable

A Placeable corresponds to a child layout that can be positioned by its parent layout.

Placeable.PlacementScope

Receiver scope that permits explicit placement of a Placeable.

Placeholder

A placeholder is a rectangle box inserted into text, which tells the text processor to leave an empty space.

PlaceholderVerticalAlign

The settings used to specify how a placeholder is vertically aligned within a text line.

PlatformTextInputService

Platform specific text input service.

PointerEvent

Describes a pointer input change event that has occurred at a particular point in time.

PointerEventPass

The enumeration of passes where PointerInputChange traverses up and down the UI tree.

PointerId

An ID for a given pointer.

PointerInputChange

Describes a change that has occurred for a particular pointer, as well as how much of the change has been consumed (meaning, used by a node in the UI).

PointerInputData

Data associated with a pointer.

PointerInputEvent

PointerInputEventData

Data that describes a particular pointer

PointerInputFilter

A PointerInputFilter represents a single entity that receives PointerInputChanges), interprets them, and consumes the aspects of the changes that it is react to such that other PointerInputFilters don't also react to them.

PointerInputHandler

A function used to react to and modify PointerInputChanges.

PointerInputModifier

A Modifier.Element that can interact with pointer input.

PointMode

Used by Canvas.drawPoints.

PopupPositionProvider

Calculates the position of a Popup on screen.

Position

A two-dimensional position using Dp for units

Preview

Preview can be applied to @Composable methods with no parameters to show them in the Android Studio preview.

PreviewParameter

PreviewParameter can be applied to any parameter of a @Preview.

PreviewParameterProvider

Interface to be implemented by any provider of values that you want to be injected as @Preview parameters.

ProgressIndicatorConstants

Contains the default values used for LinearProgressIndicator and CircularProgressIndicator.

PropKey

Property key of T type.

ProvidableAmbient

A ProvidableAmbient can be used in Providers to provide values.

ProvidedValue

An instance to hold a value provided by Providers and is created by the ProvidableAmbient.provides infixed operator.

PxBounds

A four dimensional bounds using pixels for units

PxCubed

Holds a unit of cubed dimensions, such as 1.value * 2.value * 3.px.

PxInverse

Holds a unit of an inverse dimensions, such as 1.px / (2.value * 3.px).

PxPropKey

Built-in property key for pixel properties.

PxSquared

Holds a unit of squared dimensions, such as 1.value * 2.px.

R

RadialGradient

Brush implementation used to apply a radial gradient on a given Paint

RadioButtonConstants

Constants used in RadioButton.

Radius

A radius for either circular or elliptical shapes.

RawScaleObserver

Observes various events sent by rawScaleGestureFilter.

Recomposer

The scheduler for performing recomposition and applying updates to one or more Compositions.

Record

Frame local values of a framed object.

Rect

An immutable, 2D, axis-aligned, floating-point rectangle whose coordinates are relative to a given origin.

RectPropKey

Built-in property key for Rect properties.

Ref

Value holder general purpose class.

Reference

ReferenceQueue

Remeasurement

This object is associated with a layout node and allows to execute some extra measure/layout actions which are needed for some complex layouts.

RemeasurementModifier

A Modifier.Element that provides a Remeasurement object associated with the layout node the modifier is applied to.

RenderIntent

A render intent determines how a connector maps colors from one color space to another.

RepeatableSpec

RepeatableSpec takes another DurationBasedAnimationSpec and plays it iterations times.

RepeatMode

Repeat mode for RepeatableSpec and VectorizedRepeatableSpec.

RequestDisallowInterceptTouchEvent

Function that can be passed to pointerInteropFilter and then later invoked which provides an analog to ViewParent.requestDisallowInterceptTouchEvent.

ResistanceConfig

Specifies how resistance is calculated in swipeable.

ResolvedTextDirection

Describes the directionality of a text.

Resource

The base resource class for background resource loading.

ResourceFont

Defines a font to be used while rendering text with resource ID.

Rgb

An RGB color space is an additive color space using the RGB color model (a color is therefore represented by a tuple of 3 numbers).

RippleIndication

Material implementation of IndicationInstance that expresses indication via ripples.

RippleOpacity

RippleOpacity defines the opacity of the ripple / state layer for a given Interaction.

RippleTheme

Defines the appearance and the behavior for RippleIndications.

RoundedCornerShape

A shape describing the rectangle with rounded corners.

RoundRect

An immutable rounded rectangle with custom radii for all four corners.

RowScope

Scope for the children of Row.

S

SampleLayoutBinding

Saver

The Saver describes how the object of Original class can be simplified and converted into something which is Saveable.

SaverScope

Scope used in Saver.save.

ScaffoldState

State for Scaffold composable component.

ScaleObserver

Observes various events sent by scaleGestureFilter.

ScopeUpdateScope

ScrollableController

Controller to control the scrollable modifier with.

ScrollCallback

Defines the callbacks associated with scrolling.

ScrollOrientationLocker

Manages scroll orientation locking amongst all participating gesture filters.

ScrollState

State of the scroll.

Selectable

Provides Selection information for a composable to SelectionContainer.

Selection

Information about the current Selection.

Selection.AnchorInfo

Contains information about an anchor (start/end) of selection.

SelectionRegistrar

An interface allowing a composable to subscribe and unsubscribe to selection changes.

SelectionResult

Result of SemanticsSelector projection.

SemanticsActions

Ths object defines keys of the actions which can be set in semantics and performed on the semantics node.

SemanticsConfiguration

Describes the semantic information associated with the owning component

SemanticsMatcher

Wrapper for semantics matcher lambdas that allows to build string explaining to the developer what conditions were being tested.

SemanticsModifier

A Modifier.Element that adds semantics key/value for use in testing, accessibility, and similar use cases.

SemanticsNode

A list of key/value pairs associated with a layout node or its subtree.

SemanticsNodeInteraction

Represents a semantics node and the path to fetch it from the semantics tree.

SemanticsNodeInteractionCollection

Represents a collection of semantics nodes and the path to fetch them from the semantics tree.

SemanticsOwner

Owns SemanticsNode objects and notifies listeners of changes to the semantics tree

SemanticsProperties

General semantics properties, mainly used for accessibility.

SemanticsPropertyKey

SemanticsPropertyReceiver

SemanticsSelector

Projects the given set of nodes to a new set of nodes.

SetComposingRegionEditOp

An edit operation represents setComposingRegion callback from InputMethod.

SetComposingTextEditOp

An edit operation represents setComposingText callback from InputMethod

SetSelectionEditOp

An edit operation represents setSelection callback from InputMethod

ShaderBrush

Brush implementation that wraps and applies a the provided shader to a Paint

Shadow

A single shadow.

Shape

Defines a generic shape.

Shapes

Components are grouped into shape categories based on their size.

Size

Holds a 2D floating-point size.

SizeMode

Used to specify how a layout chooses its own size when multiple behaviors are possible.

SkippableUpdater

SliderConstants

Object to hold constants used by the Slider

SlotReader

SlotTable

A gap buffer implementation of the composition slot space.

SlotWriter

SnackbarConstants

Object to hold constants used by the Snackbar

SnackbarData

Interface to represent one particular Snackbar as a piece of the SnackbarHostState

SnackbarDuration

Possible durations of the Snackbar in SnackbarHost

SnackbarHostState

State of the SnackbarHost, controls the queue and the current Snackbar being shown inside the SnackbarHost.

SnackbarResult

Possible results of the SnackbarHostState.showSnackbar call

Snapshot

A snapshot of the values return by mutable states and other state objects.

SnapshotApplyConflictException

An exception that is thrown when SnapshotApplyResult.check is called on a result of a MutableSnapshot.apply that fails to apply.

SnapshotApplyObserver

Callback type for observing when a non-nested mutable snapshot is applied by calling MutableSnapshot.apply, modifying the visible global state of state objects.

SnapshotApplyResult

The result of a applying a mutable snapshot.

SnapshotApplyResult.Failure

SnapshotApplyResult.Success

SnapshotMutationPolicy

A policy to control how the result of mutableStateOf and state report and merge changes to the state object.

SnapshotReadObserver

Callback type for observing reads of state objects in a snapshot.

SnapshotStateList

An implementation of MutableList that can be observed and snapshot.

SnapshotStateList.StateListStateRecord

This is an internal implementation class of SnapshotStateList.

SnapshotStateMap

An implementation of MutableMap that can be observed and snapshot.

SnapshotStateMap.StateMapStateRecord

Implementation class of SnapshotStateMap.

SnapshotStateObserver

SnapshotWriteObserver

Callback type for observing writes to state objects in a snapshot.

SnapSpec

SnapSpec describes a jump-cut type of animation.

SoftwareKeyboardController

Provide software keyboard control.

SolidColor

SourceLocation

Source location of the call that produced the call group.

SpanStyle

Styling configuration for a text span.

SpanStyleRange

The class changes the character level style of the specified range.

Spring

Physics class contains a number of recommended configurations for physics animations.

SpringSpec

Creates a SpringSpec that uses the given spring constants (i.

Stable

Stable is used to communicate some guarantees to the compose compiler about how a certain type or function will behave.

StableMarker

StableMarker marks an annotation as indicating a type is stable.

StackScope

A StackScope provides a scope for the children of a Stack.

State

The state of the ConstraintLayout solver.

State

A value holder where reads to the value property during the execution of a Composable function, the current RecomposeScope will be subscribed to changes of that value.

StateObject

Interface implemented by all snapshot aware state objects.

StateRecord

Snapshot local value of a state object.

StateRestorationTester

Helps to test the state restoration for your Composable component.

StringAnnotation

The class that stores a string type annotation.

Strings

Stroke

DrawStyle that provides information for drawing content with a stroke

StrokeCap

Styles to use for line endings.

StrokeJoin

Styles to use for line joins.

SubcomposeMeasureScope

The receiver scope of a SubcomposeLayout's measure lambda which adds ability to dynamically subcompose a content during the measuring on top of the features provided by MeasureScope.

SwipeableConstants

Contains useful constants for swipeable and SwipeableState.

SwipeableState

State of the swipeable modifier.

SwipeProgress

Collects information about the ongoing swipe or animation in swipeable.

SystemFontFamily

A base class of FontFamilys installed on the system.

T

TabConstants

Contains default values used by tabs from the Material specification.

TabPosition

Data class that contains information about a tab's position on screen, used for calculating where to place the indicator that shows which tab is selected.

TargetAnimation

TargetAnimation class defines how to animate to a given target value.

TestAnimationClock

Interface for animation clocks that can report their idleness and can switch between ticking automatically (e.

TestLayoutBinding

TestOnly

TestUiDispatcher

TextAlign

Defines how to align text horizontally.

TextDecoration

Defines a horizontal line to be drawn on the text.

TextDirection

Defines the algorithm to be used while determining the text direction.

TextFieldValue

A class holding information about the editing state.

TextGeometricTransform

Define a geometric transformation on text.

TextIndent

Specify the indentation of a paragraph.

TextInputService

Provide a communication with platform text input service.

TextLayoutInput

The data class which holds the set of parameters of the text layout computation.

TextLayoutResult

The data class which holds text layout result.

TextOverflow

How overflowing text should be handled.

TextPainter

TextRange

An immutable text range class, represents a text range from start (inclusive) to end (exclusive).

TextSemanticsProperties

Semantics properties that apply to the text / text input elements.

TextStyle

Styling configuration for a Text.

TextToolbar

Interface for text-related toolbar.

TextToolbarStatus

Status of the TextToolbar.

TextUnit

The unit used for text related dimension value.

TextUnitType

An enum class defining for type of thextUnit.

ThresholdConfig

Interface to compute a threshold between two anchors/states in a swipeable.

TileMode

ToggleableState

Enum that represents possible toggleable states.

TransferParameters

Defines the parameters for the ICC parametric curve type 4, as defined in ICC.

TransformedText

The transformed text with offset offset mapping

TransformOrigin

A two-dimensional position represented as a fraction of the Layer's width and height

TransitionAnimation

TransitionAnimation is the underlying animation used in androidx.compose.animation.transition for animating from one set of property values (i.

TransitionDefinition

TransitionDefinition contains all the animation related configurations that will be used in a state-based transition.

TransitionSpec

Static specification for the transition from one state to another.

TransitionState

TransitionState holds a number of property values.

TweenSpec

Creates a TweenSpec configured with the given duration, delay, and easing curve.

TwoWayConverter

TwoWayConverter class contains the definition on how to convert from an arbitrary type T to a AnimationVector, and convert the AnimationVector back to the type T.

Typeface

A class that can be used for changing the font used in text.

Typography

Class holding typography definitions as defined by the Material typography specification.

U

UiApplier

UiMode

Annotation of setting uiMode in Preview.

UiSavedStateRegistry

Allows components to save and restore their state using the saved instance state mechanism.

UnionType

Updater

Uptime

A single point in time with a time base of the system's uptime nanoseconds.

UriHandler

An interface of providing platform specific URL handling.

V

VectorApplier

VectorAsset

Vector graphics object that is generated as a result of VectorAssetBuilder It can be composed and rendered by passing it as an argument to VectorPainter

VectorAssetBuilder

Builder used to construct a Vector graphic tree.

VectorGroup

Defines a group of paths or subgroups, plus transformation information.

VectorizedAnimationSpec

VectorizedAnimationSpecs are stateless vector based animation specifications.

VectorizedDurationBasedAnimationSpec

Base class for VectorizedAnimationSpecs that are based on a fixed durationMillis.

VectorizedFloatAnimationSpec

A convenient implementation of VectorizedFloatAnimationSpec that turns a FloatAnimationSpec into a multi-dimensional VectorizedFloatAnimationSpec, by using the same FloatAnimationSpec on each dimension of the AnimationVector that is being animated.

VectorizedKeyframesSpec

VectorizedKeyframesSpec class manages the animation based on the values defined at different timestamps in the duration of the animation (i.

VectorizedRepeatableSpec

This animation takes another VectorizedDurationBasedAnimationSpec and plays it iterations times.

VectorizedSnapSpec

VectorizedSnapSpec immediately snaps the animating value to the end value.

VectorizedSpringSpec

VectorizedSpringSpec uses spring animations to animate (each dimension of) AnimationVectors.

VectorizedTweenSpec

VectorizedTweenSpec animates a AnimationVector value by interpolating the start and end value, in the given durationMillis using the given easing curve.

VectorNode

VectorPainter

Painter implementation that abstracts the drawing of a Vector graphic.

VectorPath

Leaf node of a Vector graphics tree.

Velocity

A velocity in two dimensions.

VelocityTracker

Computes a pointer's velocity.

VertexMode

Defines how a list of points is interpreted when drawing a set of triangles.

VerticalAlignmentLine

A vertical AlignmentLine.

Vertices

A set of vertex data used by Canvas.drawVertices.

VisualTransformation

Interface used for changing visual output of the input field.

VNode

W

WeakHashMap

WeakReference

WhitePoint

Class for constructing white points used in RGB color space.

WithConstraintsScope

Receiver scope being used by the children parameter of WithConstraints

Z

ZIndexModifier

A Modifier.Element that controls the drawing order for the children of the same layout parent.

ZoomableController

Controller to control zoomable modifier with.