Flutter Engine
The Flutter Engine
|
Public Member Functions | |
DisplayFeatureType (int encodedValue) | |
Public Attributes | |
UNKNOWN =(0) | |
FOLD =(1) | |
HINGE =(2) | |
CUTOUT =(3) | |
final int | encodedValue |
Types of display features that can appear on the viewport.
Some, like FOLD
, can be reported without actually occluding the screen. They are useful for knowing where the display is bent or has a crease. The DisplayFeature#bounds
can be 0-width in such cases.
Definition at line 1306 of file FlutterRenderer.java.
|
inline |
Definition at line 1333 of file FlutterRenderer.java.
io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeatureType.CUTOUT =(3) |
Area of the screen that usually houses cameras or sensors. Occludes the screen. Corresponds to android.view.DisplayCutout
Definition at line 1329 of file FlutterRenderer.java.
final int io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeatureType.encodedValue |
Definition at line 1331 of file FlutterRenderer.java.
io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeatureType.FOLD =(1) |
A fold in the flexible display that does not occlude the screen. Corresponds to androidx.window.layout.FoldingFeature.OcclusionType#NONE
Definition at line 1317 of file FlutterRenderer.java.
io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeatureType.HINGE =(2) |
Splits the display in two separate panels that can fold. Occludes the screen. Corresponds to androidx.window.layout.FoldingFeature.OcclusionType#FULL
Definition at line 1323 of file FlutterRenderer.java.
io.flutter.embedding.engine.renderer.FlutterRenderer.DisplayFeatureType.UNKNOWN =(0) |
Type of display feature not yet known to Flutter. This can happen if WindowManager is updated with new types. The DisplayFeature#bounds
is the only known property.
Definition at line 1311 of file FlutterRenderer.java.