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.

WindowInfoTracker

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

WindowMetricsCalculator

An interface to calculate the WindowMetrics for an Activity or a UiContext.

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.

SupportedPosture

A class to represent a posture that the device supports.

VisualStateRequest

A request to modify the visual state of the display for the window.

VisualStateRequest.Builder

A builder for VisualStateRequest.

WindowInfoController

An interface to interact with Window properties and layout.

WindowLayoutInfo

Contains the list of DisplayFeature-s present in the window and the window's engagement mode.

WindowLayoutInfo.EngagementMode

Represents a distinct user engagement mode with an application.

WindowMetrics

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