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.

AbstractRecord

Base implementation of a frame record

AccessibilityAction

Data class for standard accessibility action.

AccessibilityRangeInfo

Adaptation

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

AdapterViewInputController

AlertDialogButtonLayout

An enum which specifies how the buttons are positioned inside the AlertDialog:

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.

Ambient

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

Anchor

AndroidComposeTestCaseSetup

AndroidComposeTestRule

Android specific implementation of ComposeTestRule.

AndroidComposeTestRule.AndroidComposeStatement

AndroidFlingCalculator

Configuration for Android-feel flinging motion at the given density.

AndroidFlingCalculator.FlingInfo

Info about a fling started with initialVelocity.

AndroidFlingDecaySpec

A native Android fling curve decay.

AndroidFlingSpline

The native Android fling scroll spline and the ability to sample it.

AndroidFlingSpline.FlingResult

Result coefficients of a scroll computation

AndroidOwner

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

AndroidOwner.ViewTreeOwners

Combines objects populated via ViewTree*Owner

AndroidPath

AndroidUiCompositionFrameClock

A CompositionFrameClock driven by an android.view.Choreographer.

AndroidUiDispatcher

A CoroutineDispatcher that will perform dispatch during choreographer's animation frame stage.

AndroidUriHandler

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.

Animation

This interface provides a convenient way to query from an AnimationSpec or FloatDecayAnimationSpec: It spares the need to pass the starting conditions and in some cases ending condition for each value or velocity query, and instead only requires the play time to be passed for such queries.

AnimationBuilder

Animation builder for creating an animation that animates a value of type T.

AnimationClockObservable

This interface allows AnimationClock to be subscribed and unsubscribed.

AnimationClockObserver

Observer for animation clock changes.

AnimationClockTestRule

A TestRule to monitor and take over the animation clock in the composition.

AnimationEndReason

Possible reasons with which DynamicTargetAnimation can finish

AnimationSpec

AnimationSpecs are stateless, as they do not assume any starting/ending conditions.

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

A helper class to apply changes to a tree with startNode types N given an apply adapter for type N

ApplyAdapter

An adapter that performs tree based operations on some tree startNode N without requiring a specific base type for N

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.Bottom

Place children vertically such that they are as close as possible to the bottom of the main axis.

Arrangement.Center

Place children such that they are as close as possible to the middle of the main axis.

Arrangement.End

Place children horizontally such that they are as close as possible to the end of the main axis.

Arrangement.Horizontal

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

Arrangement.SpaceAround

Place children such that they are spaced evenly across the main axis, including free space before the first child and after the last child, but half the amount of space existing otherwise between two consecutive children.

Arrangement.SpaceBetween

Place children such that they are spaced evenly across the main axis, without free space before the first child or after the last child.

Arrangement.SpaceEvenly

Place children such that they are spaced evenly across the main axis, including free space before the first child and after the last child.

Arrangement.Start

Place children horizontally such that they are as close as possible to the beginning of the main axis.

Arrangement.Top

Place children vertically such that they are as close as possible to the top of the main axis.

Arrangement.Vertical

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

ArrayAdapter

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

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.

BaseGestureScope

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.

Bounds

Bounds

A four dimensional bounds using Dp for units

Brush

BuildableMap

Button

Contains the default values used by Button

C

CalendarViewInputController

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

ChoreographerFrameCallback

ClipboardManager

Interface for managing the Clipboard.

ClipOp

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

CollectedSizes

Small utility class to provide convenient assertion for width and height for some Size.

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

ColorPalette

Collection of colors in the Material color specification

ColorPropKey

Built-in property key for Color properties.

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.

ComposeBenchmarkScope

Test scope accessible from benchmarks.

ComposeCompilerApi

ComposeExecutionControl

Test scope accessible from execution controlled tests to test compose.

Composer

Implementation of a composer for mutable tree.

ComposerUpdater

ComposerValidator

ComposeTestCase

To be implemented to provide a test case that is then executed by ComposeTestRule or can be used in benchmarks.

ComposeTestCaseSetup

Helper interface to run execution-controlled test via ComposeTestRule.

ComposeTestRule

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

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

Instances of classes implementing this interface are notified when they are initially used during 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.

CompoundButtonInputController

ConflictsWith

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.

ConstraintSetBuilderScope

Builder scope for a ConstraintSet.

ConstraintSetBuilderScope.ChainStyle

The style of a horizontal or vertical chain.

ConstraintSetBuilderScope.ConstrainedLayoutBaselineAnchor

Anchor corresponding to the baseline of a ConstraintLayout child.

ConstraintSetBuilderScope.ConstrainedLayoutReference

ConstraintSetBuilderScope.Dimension

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

ConstraintSetBuilderScope.Dimension.Coercible

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

ConstraintSetBuilderScope.Dimension.MaxCoercible

A Dimension that can be assigned a max bound.

ConstraintSetBuilderScope.Dimension.MinCoercible

A Dimension that can be assigned a min bound.

ConstraintSetBuilderScope.HorizontalAnchor

Defines an horizontal anchor which can be used for defining constraints.

ConstraintSetBuilderScope.HorizontalAnchor.BarrierAnchor

Anchor corresponding to a top or bottom barrier.

ConstraintSetBuilderScope.HorizontalAnchor.ConstrainedLayoutAnchor

Anchor corresponding to the top or bottom of a child of the ConstraintLayout.

ConstraintSetBuilderScope.HorizontalAnchor.GuidelineAnchor

Anchor corresponding to a horizontal guideline.

ConstraintSetBuilderScope.HorizontalChain

Represents a horizontal chain.

ConstraintSetBuilderScope.VerticalAnchor

Defines a vertical anchor which can be used for defining constraints.

ConstraintSetBuilderScope.VerticalAnchor.BarrierAnchor

Anchor corresponding to a left or right barrier.

ConstraintSetBuilderScope.VerticalAnchor.ConstrainedLayoutAnchor

Anchor corresponding to the left or right of a child of the ConstraintLayout.

ConstraintSetBuilderScope.VerticalAnchor.GuidelineAnchor

Anchor corresponding to a vertical guideline.

ConstraintSetBuilderScope.VerticalChain

Represents a vertical chain.

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.

CrossAxisAlignment

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

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

DatePickerInputController

DecayAnimation

Fixed Decay animation wraps around a FloatDecayAnimationSpec and assumes its starting value and velocity never change throughout the animation.

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.

Dimension

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.

Direct

When applied to a composable function Direct will prevent code from being generated which allow this function's execution to be skipped or restarted.

Direction

DisableTransitions

This rule will disable all Transition animations for the test.

DisableTransitions.DisableTransitionsStatement

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.

DragDirection

Draggable Direction specifies the direction in which you can drag an draggable or scrollable.

DragDirection.Horizontal

Horizontal direction of dragging in draggable or scrollable.

DragDirection.Vertical

Vertical direction of dragging in draggable or scrollable.

DragObserver

DrawBorder

DrawerConstants

Object to hold default values for ModalDrawerLayout and BottomDrawerLayout

DrawerState

Possible states of the drawer

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

DropDownAlignment

The DropdownPopup is aligned below its parent relative to its left or right corner.

Duration

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

DurationBasedAnimationBuilder

Base class for an AnimationBuilder to create animations based on a fixed duration.

DurationBasedAnimationSpec

Base class for AnimationSpecs that are based on a fixed duration.

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

EditTextInputController

EmbeddingUIContext

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.

ExperimentalComposeApi

ExperimentalLayout

ExperimentalTesting

ExponentialDecay

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

F

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

FlingConfig

Class to specify fling behavior.

FloatAnimationSpec

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

FloatDecayAnimationSpec

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

FloatDimension

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

FocusDetailedState

Different states of the focus system.

FocusManager

Interface of manager of focused composable.

FocusModifier

A Modifier.Element that wraps makes the modifiers on the right into a Focusable.

FocusNode

An object for focusable object.

FocusState

Different states of the focus system.

FocusTransitionObserver

A callback interface for focus transition

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.

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 the priority frame in the main thread.

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

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

InputController

InputEventListener

An interface of listening IME events.

InputSessionToken

The input session token.

InspectorNode

Node representing a Composable for the Layout Inspector.

IntDimension

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

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

Represents keys on a keyboard.

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.

KeyframesBuilder

KeyframesBuilder creates a KeyframesSpec animation.

KeyframesBuilder.KeyframeEntity

Holder class for building a keyframes animation.

KeyframesSpec

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

KeyInfo

Information about groups and their keys.

L

LayoutBuilder

LayoutCoordinates

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

LayoutDirection

A class for defining layout directions.

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

The base type for all nodes from the tree generated from a component hierarchy.

LayoutNode.LayoutState

Describes the current state the LayoutNode is in.

LayoutNode.MeasureBlocks

LayoutNode.NoIntrinsicsMeasureBlocks

LayoutScopeMarker

LayoutTagParentData

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

LinearGradient

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

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.

Looper

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.

MaterialTheme

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

Matrix3

Matrix4

MatrixColumn

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.

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.

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.

N

NodeGroup

A group that represents an emitted node

NullCompilationScope

NumberPickerInputController

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.

OffsetBase

Base class for Size and Offset, which are both ways to describe a distance as a two-dimensional axis-aligned vector.

OffsetMap

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

OnAnimationEnd

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

OnChildPositionedModifier

A modifier whose onChildPositioned is called with the final LayoutCoordinates of the children Layouts after measuring.

OnPositionedModifier

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

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

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.

ParameterInformation

ParentDataModifier

A Modifier that provides data to the parent Layout.

PartialGestureScope

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

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.

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.

PhysicsBuilder

PhysicsBuilder takes in the configuration of a spring as its constructor parameters.

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.

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.

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).

PxPositionPropKey

Built-in property key for Offset properties.

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

RadioGroupInputController

RadioGroupScope

Scope of RadioGroup to grant access to RadioGroupItem and others.

Radius

A radius for either circular or elliptical shapes.

RatingBarInputController

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

A Ref is essentially a "value-holder" class that can be used with Compose to get controlled access to the underlying view instances that are constructed as a result of a compose() pass in Compose.

Ref

Value holder general purpose class.

Reference

ReferenceQueue

Reffable

Components that want to expose a public "ref" API should use this interface.

RefForwarder

A common use case for refs is to have a component that wraps a view that you want to be a "drop-in" replacement for the view it is wrapping, so the ref should be the type of the underlying view

RenderIntent

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

RepeatableBuilder

Used for creating repeated animations where each iteration is defined by one of the duration based animations like TweenBuilder or KeyframesBuilder.

RepeatableSpec

This animation takes another DurationBasedAnimationSpec as a parameter and plays it iterationCount times.

Required

RequiresOneOf

Resource

The base resource class for background resource loading.

ResourceFont

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

RestartableFunction

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.

RestartableFunctionN

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.

RowScope

Scope for the children of Row.

RRect

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

S

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.

Scaffold

Scaffold.FabPosition

The possible positions for a FloatingActionButton attached to a Scaffold.

ScaffoldState

State for Scaffold composable component.

ScaleObserver

Observes various events sent by scaleGestureFilter.

ScopeUpdateScope

ScrollableState

State of the scrollable composable.

ScrollerPosition

This is the state of a VerticalScroller and HorizontalScroller that allows the developer to change the scroll position by calling methods on this object.

SearchViewInputController

SeekBarInputController

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

SemanticsHintOverrides

Provides hint values which override the default hints on supported platforms.

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 node that represents some semantic data.

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

Shader

Inline class used to represent primitives used to render gradients or to tile an ImageAsset

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.

SlotReader

SlotTable

A gap buffer implementation of the composition slot space.

SlotWriter

SnapBuilder

Builds Snap animation for immediately switching the animating value to the end value.

SnapSpec

SnapSpec immediately snaps the animating value to the end value.

SoftwareKeyboardController

Provide software keyboard control.

SolidColor

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

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

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

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.

State

The state of the ConstraintLayout solver.

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

StrokeJoin

SystemFontFamily

A base class of FontFamilys installed on the system.

T

TabRow

TabRow.TabPosition

Data class that contains information about a tab's position on screen

TargetAnimation

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

TargetBasedAnimation

This is a convenient animation wrapper class that works for all target based animations, i.

TestAnimationClock

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

TestOnly

TextAlign

Defines how to align text horizontally.

TextButton

Contains the default values used by TextButton

TextDecoration

Defines a horizontal line to be drawn on the text.

TextDirection

Describes the directionality of a text.

TextDirectionAlgorithm

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

TextFieldValue

A class holding information about the editing state.

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.

TileMode

TimePickerInputController

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.ui.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.

TweenBuilder

TweenBuilder builds a tween animation that animates from start to end value, based on an easing curve within the given duration.

TweenSpec

TweenSpec animates a AnimationVector value by interpolating the start and end value, in the given duration using the given 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

UiComposer

UiMode

Annotation of setting uiMode in Preview.

UiSavedStateRegistry

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

UiUpdater

UnionType

Untracked

When applied to a function expression Untracked will disable lambda optimizations such as tracking execution of composable function expressions or remembering a function expression value based on its capture variables.

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

Vector2

Vector3

Vector4

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.

VectorComponent

VectorGroup

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

VectorNode

VectorPainter

Painter implementation that abstracts the drawing of a Vector graphic.

VectorPath

Leaf node of a Vector graphics tree.

VectorScope

VectorUpdater

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

WebContext

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.

ZoomableState

State of the zoomable composable modifier.