androidx.window.layout

Interfaces

DisplayFeature

Description of a physical feature on the display.

FoldingFeature

A feature that describes a fold in the flexible display or a hinge between two physical display panels.

WindowInfoRepository

An interface to provide all the relevant info about a android.view.Window.

WindowInfoRepositoryDecorator
WindowMetricsCalculator

An interface to calculate the WindowMetrics for an Activity.

Classes

FoldingFeature.OcclusionType

Represents how the hinge might occlude content.

FoldingFeature.Orientation

Represents the axis for which the FoldingFeature runs parallel to.

FoldingFeature.State

Represents the State of the FoldingFeature.

WindowLayoutInfo

Contains the list of DisplayFeature-s located within the window.

WindowLayoutInfo.Builder

Builder for WindowLayoutInfo objects.

WindowMetrics

Metrics about a android.view.Window, consisting of its bounds.