Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeature Class Reference

Public Member Functions

 DisplayFeature (Rect bounds, DisplayFeatureType type, DisplayFeatureState state)
 
 DisplayFeature (Rect bounds, DisplayFeatureType type)
 

Public Attributes

final Rect bounds
 
final DisplayFeatureType type
 
final DisplayFeatureState state
 

Detailed Description

Description of a physical feature on the display.

A display feature is a distinctive physical attribute located within the display panel of the device. It can intrude into the application window space and create a visual distortion, visual or touch discontinuity, make some area invisible or create a logical divider or separation in the screen space.

Based on androidx.window.layout.DisplayFeature, with added support for cutouts.

Definition at line 1281 of file FlutterRenderer.java.

Constructor & Destructor Documentation

◆ DisplayFeature() [1/2]

io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeature.DisplayFeature ( Rect  bounds,
DisplayFeatureType  type,
DisplayFeatureState  state 
)
inline

◆ DisplayFeature() [2/2]

io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeature.DisplayFeature ( Rect  bounds,
DisplayFeatureType  type 
)
inline

Definition at line 1292 of file FlutterRenderer.java.

1292 {
1293 this.bounds = bounds;
1294 this.type = type;
1295 this.state = DisplayFeatureState.UNKNOWN;
1296 }

Member Data Documentation

◆ bounds

final Rect io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeature.bounds

Definition at line 1282 of file FlutterRenderer.java.

◆ state

final DisplayFeatureState io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeature.state

Definition at line 1284 of file FlutterRenderer.java.

◆ type

final DisplayFeatureType io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeature.type

Definition at line 1283 of file FlutterRenderer.java.


The documentation for this class was generated from the following file: