androidx.wear.tiles

Contains androidx.wear.tiles.TileService, which all apps using the Tiles API should extend in order to provide tile data.

Annotations

TilesExperimental

Denotes that this API surface is experimental.

Interfaces

ActionBuilders.Action

Interface defining an action that can be used by a layout element.

ActionBuilders.Action.Builder

Builder to create Action objects.

ActionBuilders.AndroidExtra

Interface defining an item that can be included in the extras of an intent that will be sent to an Android activity.

ActionBuilders.AndroidExtra.Builder

Builder to create AndroidExtra objects.

DimensionBuilders.ContainerDimension

Interface defining a dimension that can be applied to a container.

DimensionBuilders.ContainerDimension.Builder

Builder to create ContainerDimension objects.

DimensionBuilders.ImageDimension

Interface defining a dimension that can be applied to an image.

DimensionBuilders.ImageDimension.Builder

Builder to create ImageDimension objects.

DimensionBuilders.SpacerDimension

Interface defining a dimension that can be applied to a spacer.

DimensionBuilders.SpacerDimension.Builder

Builder to create SpacerDimension objects.

LayoutElementBuilders.ArcLayoutElement

Interface defining the root of all elements that can be used in an Arc.

LayoutElementBuilders.ArcLayoutElement.Builder

Builder to create ArcLayoutElement objects.

LayoutElementBuilders.LayoutElement

Interface defining the root of all layout elements.

LayoutElementBuilders.LayoutElement.Builder

Builder to create LayoutElement objects.

LayoutElementBuilders.Span

Interface defining a single Span.

LayoutElementBuilders.Span.Builder

Builder to create Span objects.

TileUpdateRequester

Interface used for a Tile Service to notify a Tile Renderer that it should fetch a new Timeline from it.

Classes

ActionBuilders

Builders for actions that can be performed when a user interacts with layout elements.

ActionBuilders.AndroidActivity

A launch action to send an intent to an Android activity.

ActionBuilders.AndroidActivity.Builder

Builder for AndroidActivity

ActionBuilders.AndroidBooleanExtra

A boolean value that can be added to an Android intent's extras.

ActionBuilders.AndroidBooleanExtra.Builder

Builder for AndroidBooleanExtra.

ActionBuilders.AndroidDoubleExtra

A double value that can be added to an Android intent's extras.

ActionBuilders.AndroidDoubleExtra.Builder

Builder for AndroidDoubleExtra.

ActionBuilders.AndroidIntExtra

An integer value that can be added to an Android intent's extras.

ActionBuilders.AndroidIntExtra.Builder

Builder for AndroidIntExtra.

ActionBuilders.AndroidLongExtra

A long value that can be added to an Android intent's extras.

ActionBuilders.AndroidLongExtra.Builder

Builder for AndroidLongExtra.

ActionBuilders.AndroidStringExtra

A string value that can be added to an Android intent's extras.

ActionBuilders.AndroidStringExtra.Builder

Builder for AndroidStringExtra.

ActionBuilders.LaunchAction

An action used to launch another activity on the system.

ActionBuilders.LaunchAction.Builder

Builder for LaunchAction.

ActionBuilders.LoadAction

An action used to load (or reload) the tile contents.

ActionBuilders.LoadAction.Builder

Builder for LoadAction.

ColorBuilders

Builders for color utilities for layout elements.

ColorBuilders.ColorProp

A property defining a color.

ColorBuilders.ColorProp.Builder

Builder for ColorProp

DeviceParametersBuilders

Builders for request messages used to fetch tiles and resources.

DeviceParametersBuilders.DeviceParameters

Parameters describing the device requesting a tile update.

DeviceParametersBuilders.DeviceParameters.Builder

Builder for DeviceParameters

DimensionBuilders

Builders for dimensions for layout elements.

DimensionBuilders.DegreesProp

A type for angular dimensions, measured in degrees.

DimensionBuilders.DegreesProp.Builder

Builder for DegreesProp

DimensionBuilders.DpProp

A type for linear dimensions, measured in dp.

DimensionBuilders.DpProp.Builder

Builder for DpProp.

DimensionBuilders.EmProp

A type for font spacing, measured in em.

DimensionBuilders.EmProp.Builder

Builder for EmProp

DimensionBuilders.ExpandedDimensionProp

A type for a dimension that fills all the space it can (i.e.

DimensionBuilders.ExpandedDimensionProp.Builder

Builder for ExpandedDimensionProp.

DimensionBuilders.ProportionalDimensionProp

A type for a dimension that scales itself proportionally to another dimension such that the aspect ratio defined by the given width and height values is preserved.

DimensionBuilders.ProportionalDimensionProp.Builder

Builder for ProportionalDimensionProp.

DimensionBuilders.SpProp

A type for font sizes, measured in sp.

DimensionBuilders.SpProp.Builder

Builder for SpProp

DimensionBuilders.WrappedDimensionProp

A type for a dimension that sizes itself to the size of its children (i.e.

DimensionBuilders.WrappedDimensionProp.Builder

Builder for WrappedDimensionProp.

EventBuilders

Builders for messages used when events happen in the Tiles system.

EventBuilders.TileAddEvent

Event fired when a tile has been added to the carousel.

EventBuilders.TileAddEvent.Builder

Builder for TileAddEvent

EventBuilders.TileEnterEvent

Event fired when a tile is swiped to by the user (i.e.

EventBuilders.TileEnterEvent.Builder

Builder for TileEnterEvent

EventBuilders.TileLeaveEvent

Event fired when a tile is swiped away from by the user (i.e.

EventBuilders.TileLeaveEvent.Builder

Builder for TileLeaveEvent

EventBuilders.TileRemoveEvent

Event fired when a tile has been removed from the carousel.

EventBuilders.TileRemoveEvent.Builder

Builder for TileRemoveEvent

LayoutElementBuilders

Builders for composable layout elements that can be combined together to create renderable UI layouts.

LayoutElementBuilders.Arc

An arc container.

LayoutElementBuilders.Arc.Builder

Builder for Arc.

LayoutElementBuilders.ArcAdapter

A container that allows a standard LayoutElement to be added to an Arc.

LayoutElementBuilders.ArcAdapter.Builder

Builder for ArcAdapter.

LayoutElementBuilders.ArcAnchorTypeProp

An extensible {@code ArcAnchorType} property.

LayoutElementBuilders.ArcAnchorTypeProp.Builder

Builder for ArcAnchorTypeProp

LayoutElementBuilders.ArcLine

A line that can be used in an Arc and renders as a round progress bar.

LayoutElementBuilders.ArcLine.Builder

Builder for ArcLine.

LayoutElementBuilders.ArcSpacer

A simple spacer used to provide padding between adjacent elements in an Arc.

LayoutElementBuilders.ArcSpacer.Builder

Builder for ArcSpacer.

LayoutElementBuilders.ArcText

A text element that can be used in an Arc.

LayoutElementBuilders.ArcText.Builder

Builder for ArcText.

LayoutElementBuilders.Box

A container which stacks all of its children on top of one another.

LayoutElementBuilders.Box.Builder

Builder for Box.

LayoutElementBuilders.ColorFilter

Filtering parameters used for images.

LayoutElementBuilders.ColorFilter.Builder

Builder for ColorFilter

LayoutElementBuilders.Column

A column of elements.

LayoutElementBuilders.Column.Builder

Builder for Column.

LayoutElementBuilders.ContentScaleModeProp

An extensible {@code ContentScaleMode} property.

LayoutElementBuilders.ContentScaleModeProp.Builder

Builder for ContentScaleModeProp

LayoutElementBuilders.FontStyle

The styling of a font (e.g.

LayoutElementBuilders.FontStyle.Builder

Builder for FontStyle

LayoutElementBuilders.FontStyles

Font styles, currently set up to match Wear's font styling.

LayoutElementBuilders.FontVariantProp

An extensible {@code FontVariant} property.

LayoutElementBuilders.FontVariantProp.Builder

Builder for FontVariantProp

LayoutElementBuilders.FontWeightProp

An extensible {@code FontWeight} property.

LayoutElementBuilders.FontWeightProp.Builder

Builder for FontWeightProp

LayoutElementBuilders.HorizontalAlignmentProp

An extensible {@code HorizontalAlignment} property.

LayoutElementBuilders.HorizontalAlignmentProp.Builder

Builder for HorizontalAlignmentProp

LayoutElementBuilders.Image

An image.

LayoutElementBuilders.Image.Builder

Builder for Image.

LayoutElementBuilders.Layout

A complete layout.

LayoutElementBuilders.Layout.Builder

Builder for Layout

LayoutElementBuilders.Row

A row of elements.

LayoutElementBuilders.Row.Builder

Builder for Row.

LayoutElementBuilders.Spacer

A simple spacer, typically used to provide padding between adjacent elements.

LayoutElementBuilders.Spacer.Builder

Builder for Spacer.

LayoutElementBuilders.SpanImage

An image which can be added to a Span.

LayoutElementBuilders.SpanImage.Builder

Builder for SpanImage.

LayoutElementBuilders.SpanText

A portion of text which can be added to a Span.

LayoutElementBuilders.SpanText.Builder

Builder for SpanText.

LayoutElementBuilders.SpanVerticalAlignmentProp

An extensible {@code SpanVerticalAlignment} property.

LayoutElementBuilders.SpanVerticalAlignmentProp.Builder

Builder for SpanVerticalAlignmentProp

LayoutElementBuilders.Spannable

A container of Span elements.

LayoutElementBuilders.Spannable.Builder

Builder for Spannable.

LayoutElementBuilders.Text

A text string.

LayoutElementBuilders.Text.Builder

Builder for Text.

LayoutElementBuilders.TextAlignmentProp

An extensible {@code TextAlignment} property.

LayoutElementBuilders.TextAlignmentProp.Builder

Builder for TextAlignmentProp

LayoutElementBuilders.TextOverflowProp

An extensible {@code TextOverflow} property.

LayoutElementBuilders.TextOverflowProp.Builder

Builder for TextOverflowProp

LayoutElementBuilders.VerticalAlignmentProp

An extensible {@code VerticalAlignment} property.

LayoutElementBuilders.VerticalAlignmentProp.Builder

Builder for VerticalAlignmentProp

ModifiersBuilders

Builders for modifiers for composable layout elements.

ModifiersBuilders.ArcModifiers

Modifiers that can be used with ArcLayoutElements.

ModifiersBuilders.ArcModifiers.Builder

Builder for ArcModifiers

ModifiersBuilders.Background

A modifier to apply a background to an element.

ModifiersBuilders.Background.Builder

Builder for Background

ModifiersBuilders.Border

A modifier to apply a border around an element.

ModifiersBuilders.Border.Builder

Builder for Border

ModifiersBuilders.Clickable

A modifier for an element which can have associated Actions for click events.

ModifiersBuilde